Template:Tlx: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(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]] |