Difference between revisions of "Template:Tlx"

From D&D 5e
Jump to: navigation, search
(Not YET, Pathoschild found a new (?) bug with #if: (see Meta talk). If you MUST screw NOW use direct ifdef, neither qif nor #if)
m (rvt - I am aware of what Pathoschild found, I was on IRC talking with him about it; it doesn't affect this template (and the change was reverted anyways))
Line 1: Line 1:
<noinclude>{{hh}}</noinclude>{{<small>&#160;</small>[[{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]{{ifdef|{{{2|}}}|<tt>&#124;</tt>{{{2}}}}}{{ifdef|{{{3|}}}|<tt>&#124;</tt>{{{3}}}}}{{ifdef|{{{4|}}}|<tt>&#124;</tt>{{{4}}}}}{{ifdef|{{{5|}}}|<tt>&#124;</tt><i>etc.</i>}}<small>&#160;</small>}}<noinclude>
+
{{<small>&#160;</small>[[{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]{{#if:{{{2|}}}|<tt>&#124;</tt>{{{2}}}}}{{#if:{{{3|}}}|<tt>&#124;</tt>{{{3}}}}}{{#if:{{{4|}}}|<tt>&#124;</tt>{{{4}}}}}{{#if:{{{5|}}}|<tt>&#124;</tt><i>etc.</i>}}<small>&#160;</small>}}<noinclude>
[[Category:Miscellaneous templates|{{PAGENAME}}]]</noinclude>
+
----
 +
Usage: <tt><nowiki>{{Tlx|template name|first parameter|...}}</nowiki></tt><br />
 +
 
 +
Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "<tt>|</tt>''etc.''", for details see {{Lts}}.
 +
 
 +
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:32, 27 April 2006

{{ Tlx{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}} }}


Usage: {{Tlx|template name|first parameter|...}}

Up to three parameters for the specified template are displayed as placeholders, more parameters are shown as "|etc.", for details see Template:Lts.