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

来自Jamesqi
跳转至: 导航搜索

第3行: 第3行:
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
<html>
 
<html>
  <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
 
     <a itemprop="item" href="</html>{{urlencode:首页}}<html>">
 
     <a itemprop="item" href="</html>{{urlencode:首页}}<html>">
 
     <span itemprop="name">首页</span></a>
 
     <span itemprop="name">首页</span></a>
 
     <meta itemprop="position" content="</html>{{#var:count}}<html>" />
 
     <meta itemprop="position" content="</html>{{#var:count}}<html>" />
 
</html>
 
</html>
</span>{{#vardefine:count|{{#var:count}}+1}}{{#if:{{{上上上级|}}}|
+
</span>{{#vardefine:count|{{#expr:{{#var:count}}+1}}}}{{#if:{{{上上上级|}}}|
 
»
 
»
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
[[{{{上上上级}}}]]
 
[[{{{上上上级}}}]]
</span> {{#vardefine:count|{{#var:count}}+1}}
+
</span> {{#vardefine:count|{{#expr:{{#var:count}}+1}}}}
 
}}{{#if:{{{上上级|}}}|
 
}}{{#if:{{{上上级|}}}|
 
»
 
»
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
[[{{{上上级}}}]]
 
[[{{{上上级}}}]]
</span> {{#vardefine:count|{{#var:count}}+1}}
+
</span> {{#vardefine:count|{{#expr:{{#var:count}}+1}}}}
 
}}{{#if:{{{上级|}}}|
 
}}{{#if:{{{上级|}}}|
 
»
 
»
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
<span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
<html>
 
<html>
  <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
 
 
     <a itemprop="item" href="</html>{{urlencode:{{{上级}}}}}<html>">
 
     <a itemprop="item" href="</html>{{urlencode:{{{上级}}}}}<html>">
 
     <span itemprop="name">{{{上级}}}</span></a>
 
     <span itemprop="name">{{{上级}}}</span></a>

2018年11月20日 (二) 12:15的版本