Template:Tlx: Difference between revisions

Jump to navigation Jump to search
m>Omniplex
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>Locke Cole
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>