“模板:导航条”的版本间的差异

来自Jamesqi
跳转至: 导航搜索

(未显示同一用户的13个中间版本)
第1行: 第1行:
<html><div class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList"></html>
+
{|width="100%" style="border:1px solid #cef2e0;"
'''导航:'''{{#vardefine:count|1}}
+
|'''您当前所在的位置:'''[[首页]] {{#if:{{{上上上级|}}}| > [[{{{上上上级}}}]] }} {{#if:{{{上上级|}}}| > [[{{{上上级}}}]] }} {{#if:{{{上级|}}}| > [[{{{上级}}}]] [[Category:{{{上级}}}]]}} > {{SUBPAGENAME}}
<html>
+
|}
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
    <a itemprop="item" href="</html>/{{urlencode:首页}}<html>">
 
    <span itemprop="name">首页</span></a>
 
    <span itemprop="position" content="</html>{{#var:count}}<html>"></span>
 
</span>
 
</html>{{#vardefine:count|{{#expr:{{#var:count}}+1}}}}{{#if:{{{上上上级|}}}|
 
»
 
<html>
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
    <a itemprop="item" href="</html>/{{urlencode:{{{上上上级}}}}}<html>">
 
    <span itemprop="name"></html>{{{上上上级}}}<html></span></a>
 
    <span itemprop="position" content="</html>{{#var:count}}<html>"></span>
 
</span>
 
</html> {{#vardefine:count|{{#expr:{{#var:count}}+1}}}}
 
}}{{#if:{{{上上级|}}}|
 
»
 
<html>
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
    <a itemprop="item" href="</html>/{{urlencode:{{{上上级}}}}}<html>">
 
    <span itemprop="name"></html>{{{上上级}}}<html></span></a>
 
    <span itemprop="position" content="</html>{{#var:count}}<html>"></span>
 
</span>
 
</html> {{#vardefine:count|{{#expr:{{#var:count}}+1}}}}
 
}}{{#if:{{{上级|}}}|
 
»
 
<html>
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
    <a itemprop="item" href="</html>{{urlencode:/{{{上级}}}}}<html>">
 
    <span itemprop="name"></html>{{{上级}}}<html></span></a>
 
    <span itemprop="position" content="</html>{{#var:count}}<html>"></span>
 
</span>
 
</html>[[分类:{{{上级}}}]]
 
|
 
[[分类:{{PAGENAME}}]]
 
}}<html></div></html>
 

2016年4月19日 (二) 09:28的版本

您当前所在的位置:首页 > 导航条