"模板:欄目/頂部" 修訂間的差異
Li Xuechao (對話 | 貢獻) |
|||
行 1: | 行 1: | ||
− | {{#vardefine: | + | {{#vardefine:類別|{{ #switch: {{PAGENAME}} |
|標準體重 | |標準體重 | ||
|身份證號 | |身份證號 | ||
行 116: | 行 116: | ||
|手機歸屬 | |手機歸屬 | ||
|話費查詢=通信 | |話費查詢=通信 | ||
− | }}}}<div class="breadcrumb"> | + | }}}}<html><div class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList"></html> |
+ | {{#vardefine:count|1}}<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="</html>{{#var:count}}<html>" /> | ||
+ | </span> | ||
+ | </html>{{#vardefine:count|{{#expr:{{#var:count}}+1}}}} | ||
+ | » | ||
+ | <html> | ||
+ | <span itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"> | ||
+ | <a itemprop="item" href="</html>/{{urlencode:{{#var:類別}}}}<html>"> | ||
+ | <span itemprop="name"></html>{{#var:類別}}類<html></span></a> | ||
+ | <meta itemprop="position" content="</html>{{#var:count}}<html>" /> | ||
+ | </span> | ||
+ | </html> | ||
+ | » | ||
+ | {{PAGENAME}} | ||
+ | <html></div></html> | ||
<div class="breadcrumb"> | <div class="breadcrumb"> | ||
{{#ifexist:File:{{PAGENAME}}.png|[[Image:{{PAGENAME}}.png|link={{PAGENAME}}|left]]|[[Image:Logo.png|link={{PAGENAME}}|left]]}} | {{#ifexist:File:{{PAGENAME}}.png|[[Image:{{PAGENAME}}.png|link={{PAGENAME}}|left]]|[[Image:Logo.png|link={{PAGENAME}}|left]]}} |