Vorlage:SiteSub: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „{{#vardefine: v1 | {{#titleparts: {{FULLPAGENAME}} |1 |1}} }}<!-- -->{{#vardefine: v2 | {{#titleparts: {{FULLPAGENAME}} |1 |2}} }}<!-- -->{{#vardefine: v3 | {{…“)
 
 
(14 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
{{#vardefine: v1 | {{#titleparts: {{FULLPAGENAME}} |1 |1}} }}<!--
+
{{#vardefine: namespace | {{#if: {{NAMESPACE}}  
-->{{#vardefine: v2 | {{#titleparts: {{FULLPAGENAME}} |1 |2}} }}<!--
+
| > {{NAMESPACE}}  }} }}<!--
-->{{#vardefine: v3 | {{#titleparts: {{FULLPAGENAME}} |1 |3}} }}<!--
+
-->{{#vardefine: page |{{#ifeq: {{PAGENAME}} | {{SUBPAGENAME}}
 
+
| > {{PAGENAME}} }
Schreiben
+
}}<!--
 
+
-->{{#vardefine: root |{{#if: {{#var: page}} | <!-- do nothing -->
--><div id=siteSub3> [[Religion-in-Japan]] <!--
+
| > [[{{#if: {{NAMESPACE}} | {{NAMESPACE}}: }}{{ROOTPAGENAME}}| {{ROOTPAGENAME}}]] }} 
-->{{#ifeq: {{PAGENAME}}| Religion-in-Japan |<!-- do nothing -->
+
}}<!--
|{{#if: {{NAMESPACE}} | > {{NAMESPACE}} }} <!--
+
-->{{#vardefine: base |{{#if: {{#var: page}} | <!-- do nothing -->
--> > [[{{#var: v1}}|{{ROOTPAGENAME}}]] <!--
+
| {{#ifeq: {{BASEPAGENAME}} | {{ROOTPAGENAME}} | <!-- do nothing -->
-->{{#if: {{#var: v2}}
+
| > [[{{#if: {{NAMESPACE}} | {{NAMESPACE}}: }}{{BASEPAGENAME}}| {{#titleparts:{{BASEPAGENAME}} | 1 | 2 }}]]  
| > [[{{#var: v1}}/{{#var: v2}}|{{#var: v2}}]]  
+
}} }} }}<!--
}} <!--
+
-->{{#vardefine: sub|{{#if: {{#var: page}} | <!-- do nothing -->
-->{{#if: {{#var: v3}}
+
| > {{SUBPAGENAME}} }} }}
| > [[{{#var: v1}}/{{#var: v2}}/{{#var: v3}}|{{#var: v3}}]]
 
}} }}
 
</div>
 

Aktuelle Version vom 1. März 2020, 17:08 Uhr