“模板:导航条”的版本间的差异
来自Jamesqi
第1行: | 第1行: | ||
− | <div class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">'''您当前所在的位置:'''<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | + | <div class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList"> |
+ | '''您当前所在的位置:''' | ||
+ | <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
+ | <html> | ||
+ | <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
+ | <a itemprop="item" href="</html>{{urlencode:首页}}<html>"> | ||
+ | <span itemprop="name">首页</span></a> | ||
+ | <meta itemprop="position" content="1" /> | ||
+ | </html> | ||
+ | </span> | ||
+ | {{#if:{{{上上上级|}}}| | ||
+ | » | ||
+ | <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
+ | [[{{{上上上级}}}]] | ||
+ | </span> | ||
+ | }} | ||
+ | {{#if:{{{上上级|}}}| | ||
+ | » | ||
+ | <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
+ | [[{{{上上级}}}]] | ||
+ | </span> | ||
+ | }} | ||
+ | {{#if:{{{上级|}}}| | ||
+ | » | ||
+ | <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
+ | <html> | ||
+ | <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
+ | <a itemprop="item" href="</html>{{urlencode:{{{上级}}}}}<html>"> | ||
+ | <span itemprop="name">{{{上级}}}</span></a> | ||
+ | <meta itemprop="position" content="1" /> | ||
+ | </html> | ||
+ | </span> | ||
+ | [[分类:{{{上级}}}]] | ||
+ | | | ||
+ | [[分类:{{PAGENAME}}]] | ||
+ | }} | ||
+ | » | ||
+ | {{SUBPAGENAME}} | ||
+ | </div> |