Vorlage:ThisWay: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 26: Zeile 26:
  
 
-->{{#if: {{{noway|}}} |<!-- do nothing-->
 
-->{{#if: {{{noway|}}} |<!-- do nothing-->
|<div {{#var:class}} id=thisway>{{#var:link_markup}}<div class=thiswayBg></div></div>
+
|<div {{#var:class}} id=thisway>{{#var:link_markup}}</div>
}}<!--
+
}}<!--  
  
NAVIGATION
+
--><includeonly>{{#css:
 
+
#siteNotice .crumbs {
--><includeonly> {{#ifeq: {{PAGENAME}} | Religion-in-Japan
+
    display: none;
| <!-- do nothing -->
+
}
| {{Sitemap}}  
 
 
}}<!--
 
}}<!--
  
KATEGORIEN
+
KATEGORIEN und Attribute
  
 
-->{{#if: {{{nocat|}}} | <!-- do nothing -->
 
-->{{#if: {{{nocat|}}} | <!-- do nothing -->
| [[category:artikel]] {{#if: {{{1|}}} | [[category:Hauptartikel]] | [[category:Sidepage]]}} <!--
+
| [[Kategorie:Artikel]] <!--
-->{{#set: thisway links to={{#var:link}}
+
-->{{#if: {{{1|}}}  
| written_by={{#if: {{{autor|}}}| {{{autor|}}} | Bernhard Scheid}}  
+
  | {{#set: thisway links to={{#var:link}}
}}
+
    | written_by={{#if: {{{autor|}}}| {{{autor|}}} | Bernhard Scheid}}  
{{#ifeq: {{NAMESPACENUMBER}} | 0
+
    }}
| {{#set: is_mainspace_article={{#var:shorttitle}} }}
+
  }}<!--
}}
+
-->{{#set:  
{{#ifeq: {{NAMESPACENUMBER}} | 4  
+
    {{#switch: {{NAMESPACENUMBER}}  
| {{#set: is_metalog_article={{#var:shorttitle}} }}
+
    | 0= is_mainspace_article
}} }}</includeonly>
+
    | 4= is_metalog_article
<noinclude><noinclude>  
+
    | 12= is help article
 +
    }}={{#var:shorttitle}}
 +
  }}  
 +
}}</includeonly>
 +
<noinclude>
 
=== Code ===
 
=== Code ===
  
Zeile 59: Zeile 62:
 
| autor=  <!-- nicht BS -->
 
| autor=  <!-- nicht BS -->
 
}} </pre>
 
}} </pre>
</noinclude>
+
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Zeile 84: Zeile 87:
 
}
 
}
 
},
 
},
"description": "Fügt Weiter-zu Links am Ende des Artikels ein, ist aber auch für das Placement der Navigation am Kopf der Seite verantwortlich",
+
"description": "Fügt Weiter-zu Links am Ende des Artikels ein.",
 
"format": "block"
 
"format": "block"
 
}
 
}
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>

Version vom 4. April 2022, 21:27 Uhr

Code

{{ThisWay 
|  
| nocat=  
| noway=  
| autor=  <!-- nicht BS -->
}} 

Fügt Weiter-zu Links am Ende des Artikels ein.

Vorlagenparameter

Diese Vorlage bevorzugt Blockformatierung von Parametern.

ParameterBeschreibungTypStatus
11

link adresse

Autowert
Parent-Pagename
Zeichenfolgeoptional
Nowaynoway

keinen Link anzeigen

Autowert
0
Booleschoptional
no categorynocat

keine Kategorie hinzufügen

Autowert
0
Booleschoptional
Autorautor

Gastautor

Zeichenfolgeoptional