Vorlage:Navbar/Doku: Unterschied zwischen den Versionen
K (Updated with the template for /doc pages) |
(→Usage: Name of Template -> {{subst:{{PAGENAME}}}}) |
||
Zeile 11: | Zeile 11: | ||
==Usage== | ==Usage== | ||
Copyable empty examples: | Copyable empty examples: | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|plain=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|mini=1|nodiv=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|plain=1|nodiv=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|miniv=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|viewplain=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|miniv=1|nodiv=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
:<nowiki>{{Tnavbar| | :<nowiki>{{Tnavbar|{{subst:PAGENAME}}|viewplain=1|nodiv=1}}</nowiki> inside a given [[Wikipedia:Navigational templates|template]] to add Tnavbar navigational functionality. | ||
<br> | <br> | ||
:The <code><nowiki>{{subst:PAGENAME}}</nowiki></code> will be substituted with the template's name when parsed by the servers. | |||
:<nowiki>{{Tnavbar|Tnavbar/doc}}</nowiki> gives: {{Tnavbar|Tnavbar/doc}} | :<nowiki>{{Tnavbar|Tnavbar/doc}}</nowiki> gives: {{Tnavbar|Tnavbar/doc}} | ||