Vorlage:SiteSub: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
{{#vardefine: v1 | {{#titleparts: {{FULLPAGENAME}} |1 |1}} }}<!--
+
{{#vardefine: namespace
-->{{#vardefine: v2 | {{#titleparts: {{FULLPAGENAME}} |1 |2}} }}<!--
+
| {{#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 -->
|{{#if: {{NAMESPACE}} |  > {{NAMESPACE}}  }} > {{SUBPAGENAME}}<!--
+
|{{#var: namespace}} {{#var: root}} > {{SUBPAGENAME}}<!--
 
-->}}  
 
-->}}  
 
</div>
 
</div>

Version vom 21. Dezember 2018, 16:07 Uhr

Religion-in-Japan > Vorlage > SiteSub