Vorlage:Tlxb: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
imported>Untoldpromise
K (Removed TOC)
imported>Benwing
(modify same as {{tl|tlb}}: Make sane behavior aka {{tl|tlu}} when no params, add commentary)
Zeile 1: Zeile 1:
__NOTOC__
__NOTOC__
<includeonly><tt><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}'''[[{{{LANG|}}}{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}]]'''<!--
<includeonly><tt><nowiki>{{</nowiki>{{<!--                  opening brace, begin tt face
-->#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}<!--      subst prefix, if called for
-->'''<!--                                                  begin boldface
-->[[{{{LANG|}}}{{{SISTER|}}}<!--              begin link, add any LANG and SISTER prefixes
-->{{#if:{{{1|}}}|{{ns:Template}}:{{{1|}}}|{{FULLPAGENAME}}}}<!--  specify page to link to
-->|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}]]<!--  surface text of link
-->'''<!--                                                 end boldface; add the remaining parameters
-->{{#if:{{{2|}}}|
-->{{#if:{{{2|}}}|
&#124;{{{2}}}
&#124;{{{2}}}

Version vom 10. Mai 2011, 06:14 Uhr


Explanation

This template is a copy of {{tlb}} except that it uses a non-proportional, monospaced font instead of normal text:

{{Template name|parameter1|parameter2}}

I.e., it's a {{tl}}-style template-link tag that boldfaces the template name, and accepts parameters. It's main use is in distinguishing between multiple templates with similar names, in documentation, talk page discussions, etc.

It is otherwise precisely the same code (as of 21:31, 28 January 2010 (UTC)) as {{tlx}}, and thus uses its documentation, below.

Template-info.png Dokumentation für die Vorlage {{Tlxb}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Hinweise