This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:Tlx: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Rocket000
- default (examples are given)
imported>Yann
 
(22 intermediate revisions by 15 users not shown)
Line 1: Line 1:
<tt><nowiki>{{</nowiki>[[{{{SISTER|}}}{{ns:Template}}:{{{1|}}}|{{{1|}}}<!--
&#123;&#123;{{#if:{{{1|}}}
-->{{#if:{{{2|}}}|
| [[{{ns:10}}:{{{1}}}|{{{1}}}]] | tlx&#124;... }}<!--
&#124;{{{2}}}
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| &#124;{{{2}}} }}<!--
}}<!--
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| &#124;{{{3}}} }}<!--
-->{{#if:{{{3|}}}|
-->{{#ifeq:{{{4|x}}}|{{{4|}}}| &#124;{{{4}}} }}<!--
&#124;{{{3}}}
-->{{#ifeq:{{{5|x}}}|{{{5|}}}| &#124;{{{5}}} }}<!--
}}<!--
-->{{#ifeq:{{{6|x}}}|{{{6|}}}| &#124;{{{6}}} }}<!--
-->{{#if:{{{4|}}}|
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| &#124;{{{7}}} }}<!--
&#124;{{{4}}}
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| &#124;{{{8}}} }}<!--
}}<!--
-->{{#ifeq:{{{9|x}}}|{{{9|}}}| &#124;{{{9}}} }}<!--
-->{{#if:{{{5|}}}|
-->{{#if:{{{10|}}}| &#124;... }}<!--
&#124;{{{5}}}
-->&#125;&#125;<noinclude>
}}<!--
{{documentation}}
-->{{#if:{{{6|}}}|
&#124;{{{6}}}
}}<!--
-->{{#if:{{{7|}}}|
&#124;{{{7}}}
}}<!--
-->{{#if:{{{8|}}}|
&#124;{{{8}}}
}}<!--
-->{{#if:{{{9|}}}|
&#124;<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>&amp;#124;</tt> for more than five (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 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>&amp;#32;</tt>, <tt>&amp;nbsp;</tt> or <tt>&amp;#124;</tt>.
** For example: <nowiki>{{</nowiki>tlx|template|1|&amp;nbsp;|3}} → {{tlx|template|1|&nbsp;|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>

Latest revision as of 22:34, 13 November 2011

{{tlx|...}}

Documentation


Template:Tlx/documentation