Template:Tlx: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(If you want it in all lowercase, type it in all lowercase. Others do not want it in all lowercase.) |
(desc.) |
||
Line 1: | Line 1: | ||
<includeonly>< |
<includeonly><tt><nowiki>{{</nowiki>[[{{{SISTER|}}}{{ns:Template}}:{{{1|Example}}}|{{{1|Example}}}<!-- |
||
-->{{#if:{{{2|}}}| |
-->{{#if:{{{2|}}}| |
||
|{{{2}}} |
|{{{2}}} |
||
Line 22: | Line 22: | ||
}}<!-- |
}}<!-- |
||
-->{{#if:{{{9|}}}| |
-->{{#if:{{{9|}}}| |
||
| |
|<i>...</i> |
||
⚫ | |||
}}<!-- |
|||
-->{{#if:{{{10|}}}| |
|||
---- |
|||
|{{{10}}} |
|||
'''Usage:''' <nowiki>{{</nowiki>tlx|template|parameter1|parameter2|etc.}} → {{tlx|template|parameter1|parameter2|etc.}} |
|||
}}<!-- |
|||
-->{{#if:{{{11|}}}| |
|||
* 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}}) |
|||
|{{{11}}} |
|||
* 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}} |
|||
-->{{#if:{{{12|}}}| |
|||
** 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}} |
|||
[[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 22:44, March 11, 2008
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}}