Vorlage:SiteSub: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
− | {{#vardefine: | + | {{#vardefine: namespace |
− | -->{{#vardefine: | + | | {{#if: {{NAMESPACE}} | > {{NAMESPACE}} }} |
+ | }}<!-- | ||
+ | -->{{#vardefine: root | ||
+ | | {{#ifeq: {{ROOTPAGENAME}} | {{SUBPAGENAME}} |<!-- do nothing --> | ||
+ | |> [[{{#titleparts: {{FULLPAGENAME}} |1 }}|{{ROOTPAGENAME}}]]}} | ||
+ | }}<!-- | ||
-->{{#vardefine: v3 | {{#titleparts: {{FULLPAGENAME}} |1 |3}} }}<!-- | -->{{#vardefine: v3 | {{#titleparts: {{FULLPAGENAME}} |1 |3}} }}<!-- | ||
Zeile 7: | Zeile 12: | ||
--><div id=siteSub3> [[Religion-in-Japan]] <!-- | --><div id=siteSub3> [[Religion-in-Japan]] <!-- | ||
-->{{#ifeq: {{PAGENAME}}| Religion-in-Japan |<!-- do nothing --> | -->{{#ifeq: {{PAGENAME}}| Religion-in-Japan |<!-- do nothing --> | ||
− | |{{# | + | |{{#var: namespace}} {{#var: root}} > {{SUBPAGENAME}}<!-- |
-->}} | -->}} | ||
</div> | </div> |
Version vom 21. Dezember 2018, 16:07 Uhr
Religion-in-Japan > Vorlage > SiteSub