Permanently protected template


Frae Wikipedia, the free beuk o knawledge
Jump to navigation Jump to search
Template documentation[view] [eedit] [history] [purge]

This '{{Tlx}}' template documentation is transcluded for all Tlx family templates (Tlx, Tlxc, Tlxm, Tlxw) [edit].Masterpage  

{{tlx|template|first parameter|second|third|fourth|fifth|sixth|seventh|eight|ninth}}{{template|first parameter|second|third|fourth|fifth|sixth|seventh|eight|ninth}}

Purpose an naming: Mnemonically 'Template list expanded'... efter {{tl}} Template list'

  • This template takes anither template-name an some associated pipe-tricked (numbered) parameters (or 'pass parameters'), an aggregates them intae an 'example demonstration' o how the template-name template might be uised. It's primary uise is in instruction an documentation such as this passage.
  • Up tae five pass parameters (numbered) for the specified template are displayed as 'placeholders', an mair parameters are shawn as "|...", for details see the this talk page.

  • If gien no additional parameters except  'template name' ({{{1}}}),  it presents the same as the seemilar {{Tl}} macro template -- a blue link nested in curly-braces-- the same as a uiser would apply the template wioot parameters, but wi a noticably clearer font an spacing on maist modren browsers.
  • {{Tl|Tl}} display compared to {{Tlx|Tl}}: (Tl: {{Tlx}} versus Tlx: {{Tl}})
  • Comparatively, {{Tl}} will nae tak or display additional parameters, an for minor technical reasons, mey preferred for mere listing an referencing in lang pages involvin a lot o template expansions1.
  • Additionally, Tlx will tak a 'named' parameter 'SISTER' tae link interwiki tae ither sister projects such as ane o these examples: '|SISTER=W:', 'Tlx|SISTER=M:', 'Tlx|SISTER=Q:', 'Tlx|SISTER=S:', allouin documentation or discourse aboot a template across interwiki boundaries. Small 'front end' Shell or convience templates {{Tlxw}} an {{Tlxm}} are typing-aid templates available at Meta for automatic substitution in discussions aboot templates on Wikipedia or Meta.

This usage an aa applies tae interwiki capable template variations
  1. {{Tlxc}} -- which links tae templates on Wikimedia Commons (The Commons).
  2. {{Tlxm}} -- which links tae templates on Meta
  3. {{Tlxw}} -- which links tae templates on Wikipedia


{{Tlx}} is a generalization o {{Tl|x}}, {{Tlp|x|y}}, etcetera wi arguably better readable output. This depends on the browser, but too narrow uses o "{", "|", "}" in conjunction wi links can be haurd tae read.




Code Result Remark
{{Tlx|x0}} {{x0}}  
{{Tlx|x1|one}} {{x1|one}}  
{{Tlx|x2|one|two}} {{x2|one|two}}  
{{Tlx|x3|1|2|3}} {{x3|1|2|3}}  
{{Tlx|x4|1|2|3|4}} {{x4|1|2|3|4}} up tae 5 parameters, then ...
{{Tlx|x4|1|2|3|4}} {{x4|1|2|3|4}} | for mair
{{Tlx|x1|x=u}} {{x1}} = won't wirk
{{Tlx|x1|x=u}} {{x1|x=u}} = is okay
{{Tlx|x1|<nowiki>x=u</nowiki>}} {{x1|x=u}} sticky nowiki is okay
{{Tlx|x2| |two}} {{x2|two}} empty won't wirk
{{Tlx|x2|&#32;|two}} {{x2| |two}} &#32; is okay
{{Tlx|x2|&nbsp;|two}} {{x2| |two}} &nbsp; is okay
{{Tlx|x2| &#124; two}} {{x2| | two}} &#124; is okay
{{Tlx|x2| {{!}} two}} {{x2| | two}} {{!}} is dubious
{{Tlx|x2|2=|3=two}} {{x2|two}} empty really doesn't wirk
{{Tlx|x2|2=one|two}} {{x2|two}} twa clobbers 2=ane
{{Tlx|x2|3=two|2=one}} {{x2|one|two}} right tae left okay