Template:Tlx: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
imported>In b4 Bel-Air m (HAGGER?) |
(Undo revision 10817944 by In b4 Bel-Air (Talk)) |
||
Line 1:
<tt><nowiki>{{</nowiki>[[{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}<!--
-->{{#if:{{{2|}}}|
|{{{2}}}
}}<!--
-->{{#if:{{{3|}}}|
|{{{3}}}
}}<!--
-->{{#if:{{{4|}}}|
|{{{4}}}
}}<!--
-->{{#if:{{{5|}}}|
|{{{5}}}
}}<!--
-->{{#if:{{{6|}}}|
|{{{6}}}
}}<!--
-->{{#if:{{{7|}}}|
|{{{7}}}
}}<!--
-->{{#if:{{{8|}}}|
|{{{8}}}
}}<!--
-->{{#if:{{{9|}}}|
|<i>...</i>
}}]]<nowiki>}}</nowiki></tt><noinclude>
----
'''Usage:''' <nowiki>{{</nowiki>tlx|template|parameter1|parameter2|etc.}} → {{tlx|template|parameter1|parameter2|etc.}}
* Takes a maximum of nine parameters (counting the example template's name), however, you need to use <tt>&#124;</tt> for more than five (e.g. <nowiki>{{</nowiki>tlx|template|1|2|3|&#124;4}})
* For named parameters, <nowiki>{{</nowiki>tlx|template|param=value}} won't work. Instead use <tt>&#61;</tt> or <nowiki>{{</nowiki>=}} in place of the equal sign. You can also use <nowiki><nowiki></nowiki> tags too.
** For example: <nowiki>{{</nowiki>tlx|template|param<nowiki>{{=}}</nowiki>value}} → {{tlx|template|param{{=}}value}}
** Or: <nowiki>{{</nowiki>tlx|template|param<nowiki><nowiki>=</nowiki></nowiki>value}} → {{tlx|template|param<nowiki>=</nowiki>value}}
* To leave a empty placeholder, use <tt>&#32;</tt>, <tt>&nbsp;</tt> or <tt>&#124;</tt>.
** For example: <nowiki>{{</nowiki>tlx|template|1|&nbsp;|3}} → {{tlx|template|1| |3}}
====See also====
* {{tl|tlxm}} - for templates on Meta.
* {{tl|tlxw}} - for templates on Wikipedia.
[[Category:Typing-aid templates|{{PAGENAME}}]]
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{{PAGENAME}}}]]
[[en:Template:Tlx]]
[[ko:틀:Tlx]]
[[ru:Template:Tlx]]
</noinclude>
|
Revision as of 05:35, April 3, 2008
{{[[Template:|]]}}
Usage: {{tlx|template|parameter1|parameter2|etc.}} → {{template|parameter1|parameter2|etc.}}
- Takes a maximum of nine parameters (counting the example template's name), however, you need to use | for more than five (e.g. {{tlx|template|1|2|3||4}})
- For named parameters, {{tlx|template|param=value}} won't work. Instead use = or {{=}} in place of the equal sign. You can also use <nowiki> tags too.
- For example: {{tlx|template|param{{=}}value}} → {{template|param=value}}
- Or: {{tlx|template|param<nowiki>=</nowiki>value}} → {{template|param=value}}
- To leave a empty placeholder, use  , or |.
- For example: {{tlx|template|1| |3}} → {{template|1| |3}}