Template:Tlx: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
Readability issue, see talk page "thinsp", same as Tlsp and others, also on Meta
more robust code wrt equal signs (this is stil not the "final" version)
Line 1: Line 1:
{{<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>
<noinclude>{{hh}}</noinclude>{{<small>&#160;</small>[[{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]{{ifdef|1={{{2|}}}|2=<tt>&#124;</tt>{{{2}}}}}{{ifdef|1={{{3|}}}|2=<tt>&#124;</tt>{{{3}}}}}{{ifdef|1={{{4|}}}|2=<tt>&#124;</tt>{{{4}}}}}{{ifdef|1={{{5|}}}|2=<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}}]]
[[Category:Templates using ParserFunctions|{{{PAGENAME}}}]]
</noinclude>