Vorlage:ThisWay: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
 
(13 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>
+
<!--
=== Code ===
 
 
 
<pre>
 
{{ThisWay
 
<!-- optional: -->
 
| <!-- pagename -->
 
| nocat= 1 <!-- keine Kategorien -->
 
| noway= 1 <!-- kein Thisway-Link -->
 
| autor=  <!-- nicht BS -->
 
}} </pre>
 
</noinclude><!--
 
------------
 
  
 
VARIABLE
 
VARIABLE
Zeile 28: Zeile 16:
 
| [[{{#var:link}}|{{#fas:angle-double-left}} <span>Zurück zu:</span> {{#show: {{#var:link}}|?hat_titel}}]]
 
| [[{{#var:link}}|{{#fas:angle-double-left}} <span>Zurück zu:</span> {{#show: {{#var:link}}|?hat_titel}}]]
 
}} }}<!--
 
}} }}<!--
 +
-->{{#vardefine:color-class
 +
| {{#regex:{{lc:{{FULLPAGENAME}}}}
 +
  |/[^:\/]+/
 +
  }}-tw
 +
}}<!--
 
-->{{#vardefine: class
 
-->{{#vardefine: class
| {{#if: {{{1|}}}| title='zum nächsten Thema' class='textbox_body'
+
| {{#if: {{{1|}}}
| class='zurueck textbox_body' title='zurück zum Hauptartikel'}} }}<!--
+
  | class='thisway {{#var:color-class}}' title='zum nächsten Thema'
-->{{#vardefine: shorttitle
+
  | class='thisway zurueck {{#var:color-class}}' title='zurück zum Hauptartikel'
| {{#titleparts:{{PAGENAME}}| | -1}}  
+
  }}  
}}<!--
+
}}<!--  
  
 
SCHREIBEN
 
SCHREIBEN
  
-->{{#if: {{{noway|}}} |<!-- do nothing-->
+
--><div {{#var:class}} >{{#var:link_markup}}</div><!--  
|<div {{#var:class}} id=thisway>{{#var:link_markup}}<div class=thiswayBg></div></div>
 
}}<!--
 
  
NAVIGATION
+
--><noinclude>
 +
=== Code ===
  
--><includeonly> {{#ifeq: {{PAGENAME}} | Religion-in-Japan
+
<pre>
| <!-- do nothing -->
+
{{ThisWay| }}</pre>
| {{Sitemap}}
+
</noinclude>
}}<!--
 
 
 
KATEGORIEN
 
 
 
-->{{#if: {{{nocat|}}} | <!-- do nothing -->
 
| [[category:artikel]] {{#if: {{{1|}}} | [[category:Hauptartikel]] | [[category:Sidepage]]}} <!--
 
-->{{#set: thisway links to={{#var:link}}
 
| written_by={{#if: {{{autor|}}}| {{{autor|}}} | Bernhard Scheid}}
 
}}
 
{{#ifeq: {{NAMESPACENUMBER}} | 0
 
| {{#set: is_mainspace_article={{#var:shorttitle}} }}
 
}}
 
{{#ifeq: {{NAMESPACENUMBER}} | 4
 
| {{#set: is_metalog_article={{#var:shorttitle}} }}
 
}} }}</includeonly>
 

Aktuelle Version vom 4. Januar 2023, 20:28 Uhr

Code

{{ThisWay| }}