Template:Tlx: Difference between revisions

From Meta Wiki
Jump to navigation Jump to search
m>Omniplex
try to get rid of the tl2 / tl3 zoo
 
m>Omniplex
improve output
Line 1: Line 1:
<tt>{&#123;</tt>[[{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]<tt>{{ifdef|{{{2|}}}|&#124;{{{2}}}}}{{ifdef|{{{3|}}}|&#124;{{{3}}}}}{{ifdef|{{{4|}}}|&#124;{{{4}}}}}{{ifdef|{{{5|}}}|&#124;''etc.''}}&#125;}</tt><noinclude>
{&#123;&#160;[[{{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>}}&#160;&#125;}<noinclude>
----
----
Usage: <tt>{&#123;{{PAGENAME}}|template name|first parameter|...&#125;}</tt> ''(up to four parameters)''
Usage: <tt>{&#123;{{PAGENAME}}|template name|first parameter|...&#125;}</tt>
 
up to three parameters for the specified template, a
More than four parameters are ignored, a fourth is displayed as ''etc.''.
fourth parameter is displayed as <tt>|...</tt>. Blank
Blank parameters won't work as expected, use <tt>&amp;nbsp;</tt> or
parameters won't work as expected, use <tt>&amp;nbsp;</tt>
<tt>&amp;#160;</tt> to indicate omitted parameters.
or <tt>&amp;#160;</tt> to indicate omitted parameters.


[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>
[[Category:Internal link templates|{{PAGENAME}}]]</noinclude>

Revision as of 08:57, 24 March 2006

{{ TlxTemplate:IfdefTemplate:IfdefTemplate:IfdefTemplate:Ifdef }}


Usage: {{Tlx|template name|first parameter|...}} up to three parameters for the specified template, a fourth parameter is displayed as |.... Blank parameters won't work as expected, use &nbsp; or &#160; to indicate omitted parameters.