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:
<tt><nowiki>{{</nowiki>[[{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}<!--
<span style="font-family:monospace">&#123;{[[{{{SISTER|}}}{{ns:Template}}:{{{1}}}|{{{1}}}<!--
-->{{#if:{{{2|}}}|
-->{{#if:{{{2|}}}|
&#124;{{{2}}}
&#124;{{{2}}}
Line 23: Line 23:
-->{{#if:{{{9|}}}|
-->{{#if:{{{9|}}}|
&#124;<i>...</i>
&#124;<i>...</i>
}}]]<nowiki>}}</nowiki></tt><noinclude>
}}]]}&#125;</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>&amp;#124;</tt> for more than five (e.g. <nowiki>{{</nowiki>tlx|template|1|2|3|&amp;#124;4}})
* Takes a maximum of nine parameters (counting the example template's name), however, you need to use <tt>&amp;#124;</tt> for more than four (e.g. <nowiki>{{</nowiki>tlx|template|1|2|3&amp;#124;4}})
* For named parameters, <nowiki>{{</nowiki>tlx|template|param=value}} won't work. Instead use <tt>&amp;#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>&amp;#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 &#124; for more than four (e.g. {{tlx|template|1|2|3&#124;4}})
  • For named parameters, {{tlx|template|param=value}} won't work. Instead use &#61; or {{=}} in place of the equal sign. You can also use <nowiki> tags too.
  • To leave a empty placeholder, use &#32;, &nbsp; or &#124;.

See also

  • {{tlxm}} - for templates on Meta.
  • {{tlxw}} - for templates on Wikipedia.

en:Template:Tlx ko:틀:Tlx ru:Template:Tlx