|
|
| (25 intermediate revisions by 16 users not shown) |
| Line 1: |
Line 1: |
| <tt><nowiki>{{</nowiki>[[{{{SISTER|}}}{{ns:Template}}:{{{1|Example}}}|{{{1|Example}}}<!--
| | {{[[{{#if:{{{SISTER|}}}|{{{SISTER}}}Template|{{ns:Template}}}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]<!-- |
| -->{{#if:{{{2|}}}| | | -->{{#if:{{{2|}}}||{{{2}}}}}<!-- |
| |{{{2}}} | | -->{{#if:{{{3|}}}||{{{3}}}}}<!-- |
| }}<!-- | | -->{{#if:{{{4|}}}||{{{4}}}}}<!-- |
| -->{{#if:{{{3|}}}| | | -->{{#if:{{{5|}}}||{{{5}}}}}<!-- |
| |{{{3}}} | | -->{{#if:{{{6|}}}||{{{6}}}}}<!-- |
| }}<!-- | | -->{{#if:{{{7|}}}||{{{7}}}}}<!-- |
| -->{{#if:{{{4|}}}| | | -->{{#if:{{{8|}}}||{{{8}}}}}<!-- |
| |{{{4}}} | | -->{{#if:{{{9|}}}||{{{9}}}}}<!-- |
| }}<!-- | | -->{{#if:{{{10|}}}||''...''}}}}<noinclude> |
| -->{{#if:{{{5|}}}| | | {{documentation}} |
| |{{{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> | | </noinclude> |