Template:Tlx/doc
Appearance
| This is a documentation subpage for yes It contains usage information, categories and other content that is not part of the original template page. |
| Similar templates on Wikimedia sister projects |
|---|
{{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.
- 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
- {{Tlxc}} -- which links tae templates on Wikimedia Commons (The Commons).
- {{Tlxm}} -- which links tae templates on Meta
- {{Tlxw}} -- which links tae templates on Wikipedia
Documentation
[eedit soorce]{{Tlx/doc}}
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.
Examples
[eedit soorce]| 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| |two}} |
{{x2| |two}} |
  is okay |
{{Tlx|x2| |two}} |
{{x2| |two}} |
is okay |
{{Tlx|x2|| two}} |
{{x2|| two}} |
| 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 |