Template:Tlx: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content deleted Content added
Undo revision 10817944 by In b4 Bel-Air (Talk) |
monospace / corrections |
||
Line 1: | Line 1: | ||
< |
<span style="font-family:monospace">{{[[{{{SISTER|}}}{{ns:Template}}:{{{1}}}|{{{1}}}<!-- |
||
-->{{#if:{{{2|}}}| |
-->{{#if:{{{2|}}}| |
||
|{{{2}}} |
|{{{2}}} |
||
Line 23: | Line 23: | ||
-->{{#if:{{{9|}}}| |
-->{{#if:{{{9|}}}| |
||
|<i>...</i> |
|<i>...</i> |
||
}}]] |
}}]]}}</span><noinclude> |
||
Line 29: | Line 29: | ||
'''Usage:''' <nowiki>{{</nowiki>tlx|template|parameter1|parameter2|etc.}} → {{tlx|template|parameter1|parameter2|etc.}} |
'''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 |
* Takes a maximum of nine parameters (counting the example template's name), however, you need to use <tt>&#124;</tt> for more than four (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 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}} |
** For example: <nowiki>{{</nowiki>tlx|template|param<nowiki>{{=}}</nowiki>value}} → {{tlx|template|param{{=}}value}} |
||
Line 42: | Line 42: | ||
[[Category:Typing-aid templates|{{PAGENAME}}]] |
[[Category:Typing-aid templates|{{PAGENAME}}]] |
||
[[Category:Internal link templates|{{PAGENAME}}]] |
[[Category:Internal link templates|{{PAGENAME}}]] |
||
[[Category:Templates using ParserFunctions|{{{PAGENAME}}}]] |
|||
[[en:Template:Tlx]] |
[[en:Template:Tlx]] |
Revision as of 10:33, June 21, 2008
{{[[Template:{{{1}}}|{{{1}}}]]}}
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 four (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}}