வார்ப்புரு:Tlx/doc
&lt;includeonly&gt;&lt;!-----------------Interwiki Doc page pattern-------------------&gt;
 &lt;small&gt;''This '{{Tlx|Tlx}}' template documentation is [[w:Wikipedia:Template doc page pattern|transcluded]] for all ''Tlx family templates (Tlx, Tlxc, Tlxm, Tlxw, Tlxb)'' [&lt;span class=&quot;plainlinks&quot;&gt;[{{fullurl:Template:Tlx/doc |action=edit}} edit]&lt;/span&gt;].{{#ifeq:{{SITENAME}}|Meta|&amp;nbsp;|[[M:template:{{PAGENAMEE}}|Masterpage]]
 &amp;nbsp;}}&lt;/small&gt;&lt;/includeonly&gt;&lt;noinclude&gt; 
 {{Documentation subpage}}
 {{-}}
 &lt;/noinclude&gt;
 
 &lt;!-- Parent template(s) usage begins: ---&gt;
 
 : {{Tlx|Tlx|Template|first parameter|second|third|...|tenth}} → {{Tlx|Template|first parameter|second|third|...|tenth}}
 : {{Tlx|Tlx|Template|2=first parameter|3=second|4=third|...|11=tenth}} → {{Tlx|Template|first parameter|second|third|...|tenth}} if they might contain &quot;=&quot; signs.
 : {{Tlx|Tlx|Template|&amp;lt;nowiki&gt;first|second|...|999th&amp;lt;/nowiki&gt;}} → {{Tlx|Template|&lt;nowiki&gt;first|second|...|999th&lt;/nowiki&gt;}} (for more than 10 parameters)
 
 == Purpose and naming ==
 [[Wikt:mnemonic|Mnemonically]] ''''T'''emplate '''l'''ink e'''x'''panded'. After &lt;tt&gt;{{tlx|Tl}}&lt;/tt&gt; ''''T'''emplate '''l'''ink'.
 
 * This template takes another ''template-name'' and some associated [[Help:Pipe trick|pipe-tricked]] [[m:Parameter#Parameters|(numbered) parameters]] (or 'pass parameters'), and displays them as an 'example demonstration' of how the ''template-name'' template could be coded, literally. Its primary use is in instruction and documentation.
 * '''''Specifics:''''' Up to 10 pass parameters (numbered or nowiki-keywords) for the specified template are displayed as 'placeholders', and over 10 parameters can be displayed using a coded vertical-bar (as in &quot;&lt;small&gt;&amp;amp;#124;&lt;/small&gt;''...''&quot;). A keyword parameter can be used with equals code &amp;amp;#61; or &lt;nowiki&gt;{{=}}&lt;/nowiki&gt; or in nowiki-text: &quot;&amp;lt;nowiki&gt;size=10&amp;lt;/nowiki&gt;&quot; or all parameters as a string in &lt;nowiki&gt;&quot;&lt;nowiki&gt;&quot;&lt;/nowiki&gt; tags; see ''[[#Examples|Examples]]'' at bottom. For more details, see [[{{TALKPAGENAME}}|this talk]] page.
 * '''''Exceptions:''''' If the intended template lists numerous/keyword parameters, then perhaps this template should really ''not'' be used, and just hardcode the usage with &lt;code&gt;&lt;nowiki&gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;/nowiki&gt;&lt;/code&gt;, for example: &lt;code&gt;&lt;nowiki&gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Anytemplate|arg1=23|size=250px|&lt;/nowiki&gt;&lt;var&gt;other parameters...&lt;/var&gt;&lt;nowiki&gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;/nowiki&gt;&lt;/code&gt;.  If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with &lt;code&gt;&lt;nowiki&gt;&lt;pre&gt;...&lt;/pre&gt;&lt;/nowiki&gt;&lt;/code&gt;.
 
 ----
 
 * If given no additional parameters except ''&lt;code&gt;&amp;nbsp;'template&amp;nbsp;name'&amp;nbsp;(&lt;nowiki&gt;{{{1}}}&lt;/nowiki&gt;), &lt;/code&gt;''&amp;nbsp;it presents the same as the similar {{tl|Tl}} [[macro]] template -- a blue link nested in [[brackets|curly-braces]]-- the same as a user would apply the template without parameters, but with a noticably clearer font and spacing on most modern browsers. 
 
 :* {{Tlx|Tl|Tl}} display compared to {{Tlx|Tlx|Tl}}: (Tl: {{Tl|Tl}} versus Tlx: {{Tlx|Tl}}) 
 
 * Comparatively, {{Tlx|Tl}} will not take or display additional parameters, and for minor technical reasons, may be preferred for mere listing and referencing in long pages involving a lot of template expansions.
 
 * {{tlx|Tlx}} has a named parameter ''subst''. Setting this parameter to any string of length 1 or greater will place the string &quot;subst:&quot; before the template name, linked to [[Help:Substitution]]. This is useful to indicate when a template should be substituted. For example {{tlx|Tlx|Welcome|&lt;nowiki&gt;subst=Y&lt;/nowiki&gt;}} will display {{Tlx|Welcome|subst=Y}}.
 
 * Additionally, Tlx will take a 'named' parameter 'SISTER' to link interwiki to other sister projects such as one of these examples: '|SISTER=W:', 'Tlx|SISTER=M:', 'Tlx|SISTER=Q:', 'Tlx|SISTER=S:', allowing documentation or discourse about a template across interwiki boundaries.
 
 == Documentation ==
 
 {&amp;#123;[[Template:{{BASEPAGENAME}}|{{BASEPAGENAME}}]]&amp;#125;}
 is a generalization of {{Tl|Tl|x}}, {{Tl|Tlp|x|y}},
 etcetera with arguably better readable
 output. This depends on the browser, but too narrow
 uses of &quot;'''{'''&quot;, &quot;'''|'''&quot;, &quot;'''}'''&quot; in conjunction
 with links can be hard to read.
 
 === Usage ===
 
 :&lt;tt&gt;{&amp;#123;{{BASEPAGENAME}}{{!}}template name&amp;#125;}&lt;/tt&gt;
 :&lt;tt&gt;{&amp;#123;{{BASEPAGENAME}}{{!}}template name{{!}}param&amp;#125;}&lt;/tt&gt;
 :&lt;tt&gt;{&amp;#123;{{BASEPAGENAME}}{{!}}template name{{!}}1{{!}}2{{!}}3{{!}}4{{!}}5{{!}}6{{!}}7{{!}}8{{!}}9{{!}}10&amp;#125;}&lt;/tt&gt;
 :&lt;tt&gt;{&amp;#123;{{BASEPAGENAME}}{{!}}template name{{!}}1{{!}}2{{!}}3{{!}}4{{!}}5{{!}}6{{!}}7{{!}}8{{!}}9{{!}}10&amp;amp;#124;more&amp;#125;}&lt;/tt&gt;
 :&lt;tt&gt;{&amp;#123;{{BASEPAGENAME}}{{!}}template name{{!}}param&amp;amp;#61;value&amp;#125;}&lt;/tt&gt;
 ''Up to 10 placeholders for parameters of the specified template''
 
 === Examples ===
 {{#ifeq:{{SITENAME}}|Wikipedia|&lt;!-- Skip message---&gt;|
 {{#ifeq:{{SITENAME}}|Meta|&lt;!-- No note needed ---&gt;|&lt;!-- Other Sisters Note: ---&gt;
 ;Note: On the source sister projects, en.wikipedia and Meta, '''X0, X1, X2,..., X9 are sandbox templates''' for experimentation on involved templates that need be in template space. An auto-cleansing software facility exists that might be used to duplicate the facility on other Sister projects.
 }}}}
 
 {| border=&quot;1&quot; cellpadding=&quot;4&quot; class=&quot;wikitable&quot;
 ! Code
 ! Result
 ! Remark
 |-
 |{{Tlx|Tlx|x0}}
 |{{Tlx|x0}}
 ||&amp;#160;
 |-
 |{{Tlx|Tlx|Abc}}
 |{{Tlx|Abc}}
 ||&amp;#160;
 |-
 |{{Tlx|Tlx|ABC}}
 |{{Tlx|ABC}}
 ||&amp;#160;
 |-
 |{{Tlx|Tlx|AbC}}
 |{{Tlx|AbC}}
 ||&amp;#160;
 |-
 |{{Tlx|Tlx|x1|one}}
 |{{Tlx|x1|one}}
 ||&amp;#160;
 |-
 |{{Tlx|Tlx|x2|one|two}}
 |{{Tlx|x2|one|two}}
 ||&amp;#160;
 |-
 |{{Tlx|Tlx|x3|1|2|3|4|5|6|7|8|9&amp;#124;10}}
 |{{Tlx|x3|1|2|3|4|5|6|7|8|9|10}}
 ||&amp;#160;
 |-
 |{{Tlx|Tlx|x4|1|2|3|4|5|6|7|8|9&amp;#124;10&amp;#124;11}}
 |{{Tlx|x4|1|2|3|4|5|6|7|8|9|10|11}}
 |up to 10 parameters, then ...
 |-
 |{{Tlx|Tlx|x5|1|2|3|4|5|6|7|8|9&amp;#124;10&amp;amp;#124;11}}
 |{{Tlx|x5|1|2|3|4|5|6|7|8|9|10&amp;#124;11}}
 |align=&quot;right&quot;|&lt;tt&gt;&amp;amp;#124;&lt;/tt&gt; for more
 |-
 |colspan=2| {{Tlx|Tlx|convert|&lt;nowiki&gt;&amp;lt;nowiki&gt;14|m|ftin|abbr=out|sp=us&amp;lt;/nowiki&gt;&lt;/nowiki&gt;}}
 |unlimited parameters as one nowiki string
 |-
 |{{Tlx|Tlx|x1|x&amp;#61;u}}
 |{{Tlx|x1|x=u}}
 |'''=''' won't work
 |-
 |{{Tlx|Tlx|x1|x&amp;amp;#61;u}}
 |{{Tlx|x1|x&amp;#61;u}}
 |align=&quot;right&quot;|&lt;tt&gt;&amp;amp;#61;&lt;/tt&gt; is okay
 |-
 |{{Tlx|Tlx|x1|x&lt;nowiki&gt;{{=}}&lt;/nowiki&gt;u}}
 |{{Tlx|x1|x{{=}}u}}
 |align=&quot;right&quot;|&lt;tt&gt;&lt;nowiki&gt;{{=}}&lt;/nowiki&gt;&lt;/tt&gt; is okay
 |-
 |{{Tlx|Tlx|x1|&amp;lt;nowiki&amp;gt;x&amp;#61;u&amp;lt;/nowiki&amp;gt;}}
 |{{Tlx|x1|&lt;nowiki&gt;x=u&lt;/nowiki&gt;}}
 |align=&quot;right&quot;|sticky nowiki is okay
 |-
 |{{Tlx|Tlx|x2|&amp;#160;|two}}
 |{{Tlx|x2| |two}}
 |empty won't work
 |-
 |{{Tlx|Tlx|x2|&amp;amp;#32;|two}}
 |{{Tlx|x2|&amp;#32;|two}}
 |align=&quot;right&quot;|&lt;tt&gt;&amp;amp;#32;&lt;/tt&gt; is okay
 |-
 |{{Tlx|Tlx|x2|&amp;amp;nbsp;|two}}
 |{{Tlx|x2|&amp;nbsp;|two}}
 |align=&quot;right&quot;|&lt;tt&gt;&amp;amp;nbsp;&lt;/tt&gt; is okay
 |-
 |{{Tlx|Tlx|x2| &amp;amp;#124; two}}
 |{{Tlx|x2| &amp;#124; two}}
 |align=&quot;right&quot;|&lt;tt&gt;&amp;amp;#124;&lt;/tt&gt; is okay
 |-
 || {{Tlx|Tlx|x2| {&amp;#123;!&amp;#125;} two}}
 || {{Tlx|x2| {{!}} two}}
 |align=&quot;right&quot;|{{Tlx|!}} is dubious
 |-
 || {{Tlx|Tlx|x2|&lt;nowiki&gt;2=&lt;/nowiki&gt;|&lt;nowiki&gt;3=two&lt;/nowiki&gt;}}
 || {{Tlx|x2|2=|3=two}}
 |empty really doesn't work
 |-
 || {{Tlx|Tlx|x2|&lt;nowiki&gt;2=one&lt;/nowiki&gt;|two}}
 || {{Tlx|x2|2=one|two}}
 |'''two''' clobbers '''2=one'''
 |-
 || {{Tlx|Tlx|x2|&lt;nowiki&gt;3=two&lt;/nowiki&gt;|&lt;nowiki&gt;2=one&lt;/nowiki&gt;}}
 || {{Tlx|x2|3=two|2=one}}
 |align=&quot;right&quot;|right to left okay
 |}
 
 == See also ==
 * [[Template:Tlxb]] &amp;ndash; same as {{tl|Tlx}}, but gives the template name in boldface type (this can be useful when stressing the difference between two similarly named templates). [[Template:Tlb]] is the same, except it uses regular text instead of a monospaced non-proportional font.
 * [[Template:Para]] &amp;ndash; for giving examples of template parameters and values only, instead of entire templates with parameters.
 {{tl-nav}}
 
 &lt;!--- Categories applied to both /doc style Documentation page and to the parent templates ---&gt;
 
 &lt;!-- Add the Categories for this doc or usage page (only-- not for the calling template) BELOW THIS LINE ---&gt;
 &lt;noinclude&gt;[[Category:Template documentation|{{PAGENAME}}]]&lt;/noinclude&gt;
 
 &lt;includeonly&gt; 
 &lt;!-- EDIT IN (calling) TEMPLATE CATEGORIES BELOW THIS LINE --&gt;
 [[Category:Typing-aid templates |{{PAGENAME}}]] 
 [[Category:Internal link templates |{{PAGENAME}}]]
 [[Category:Interwiki link templates |{{PAGENAME}}]]
 
 &lt;!-- EDIT/ADD TEMPLATE Interwiki's BELOW THIS LINE --&gt;
 [[cy:Nodyn:Tlx]]
 [[de:Vorlage:Vorlage]]
 [[fr:Modèle:Lmp]]
 [[fa:الگو:الگوب]]
 [[hsb:Předłoha:Tlx]]
 [[hy:Կաղապար:Tlx]]
 [[ko:틀:Tlx]]
 [[ia:Patrono:Tlx]]
 [[os:Шаблон:Tlp]]
 [[mk:Шаблон:Швп]]
 [[ja:Template:Tlx]]
 [[no:Mal:Tlx]]
 [[pt:Predefinição:Tlx]]
 [[ro:Format:Tlx]]
 [[ru:Template:Tlx]]
 [[simple:Template:Tlx]]
 [[sr:Šablon:Tlx]]
 [[th:แม่แบบ:Tlx]]
 [[tl:Suleras:Tlx]]
 [[uk:Шаблон:Tlx]]
 [[ur:سانچہ:Tlx]]
 [[zh:Template:Tlx]]