Commons:Link templates/T-doc-expansion

[edit subpage]

Note: The templates T, T0, T1, T2, Tl, T9 use the same main template with the only difference of the default value for the parameter incl=.

Template i appearance
T 2 {{T}}
T0 8 T0
T1 1 {{T1}}
T2 0 {{T2}}
Tl 3 {{Tl}}
T9 9 T9
This means that each of them can be converted into each one of the others by just replacing that parameter:
T {{Link templates|1={{{1|}}}|2={{{2|}}}|3={{{3|{{{lang|}}}}}}|i={{{i|{{{incl|2}}}}}}|code={{{code|}}}}} Template:Link templates WWWWWWWWWWWW
T0 {{Link templates|1={{{1|}}}|2={{{2|}}}|3={{{3|{{{lang|}}}}}}|i={{{i|{{{incl|8}}}}}}|code={{{code|}}}}} Template:Link templates
T1 {{Link templates|1={{{1|}}}|2={{{2|}}}|3={{{3|{{{lang|}}}}}}|i={{{i|{{{incl|1}}}}}}|code={{{code|}}}}} Template:Link templates
T2 {{Link templates|1={{{1|}}}|2={{{2|}}}|3={{{3|{{{lang|}}}}}}|i={{{i|{{{incl|0}}}}}}|code={{{code|}}}}} Template:Link templates
Tl {{Link templates|1={{{1|}}}|2={{{2|}}}|3={{{3|{{{lang|}}}}}}|i={{{i|{{{incl|3}}}}}}|code={{{code|}}}}}}} Template:Link templates
T9 {{Link templates|1={{{1|}}}|2={{{2|}}}|3={{{3|{{{lang|}}}}}}|i={{{i|{{{incl|9}}}}}}|code={{{code|}}}}} Template:Link templates


Examples edit

with code=y

The following examples are Lua supportet:

The parameter case (with the other parameters supporting it) intends to be rarely used, but when in a textual environment a special appearance is desired, with the namespace prefix in different formats, the following concealed tables shows the possibilities. All combinations are possible but not every one is useful.

Table: different displays for {{T0}} with the namespace option 0
{{ T0example }} 0this is the standard Example
{{ T0example- }} Template:Example
{{ T0example-case = l }} template:Example
{{ T0example-case = i }} LangSwitch Error: no default:Example
{{ T0example-case = n }} template:Example
{{ T0Example+ }} Template:Example
{{ T0example+case = l }} template:Example
{{ T0example+case = i }} template:Example
{{ T0example+case = n }} template:Example
{{ T0Examplelink = n }} Example
{{ T0Example-link = n }} Template:Example
{{ T0example-link = ncase = l }} template:Example
{{ T0example-link = ncase = i }} LangSwitch Error: no default:Example
{{ T0example-link = ncase = n }} template:Example
{{ T0example+link = n }} Template:Example
{{ T0example+link = ncase = l }} template:Example
{{ T0example+link = ncase = i }} LangSwitch Error: no default:Example
{{ T0example+link = ncase = n }} template:Example
Large table with displays for {{Link templates}} with the namespace option 0
link ns case i= i=0 i=1 i=2 i=3 i=4 i=5 i=6 i=8 i=9
0 0 0 Link templates/T-doc-expansion {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} Link templates/T-doc-expansion Link templates/T-doc-expansion
0 + 0 Template:Link templates/T-doc-expansion Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:Link templates/T-doc-expansion Template:Link templates/T-doc-expansion
0 + l template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
0 + i template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
0 + n template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
0 - 0 Template:Link templates/T-doc-expansion Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:Link templates/T-doc-expansion Template:Link templates/T-doc-expansion
0 - l template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
0 - i LangSwitch Error: no default:Link templates/T-doc-expansion LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:Link templates/T-doc-expansion LangSwitch Error: no default:Link templates/T-doc-expansion
0 - n template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
no 0 0 Link templates/T-doc-expansion {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} {{Link templates/T-doc-expansion}} Link templates/T-doc-expansion Link templates/T-doc-expansion
no + 0 Template:Link templates/T-doc-expansion Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:Link templates/T-doc-expansion Template:Link templates/T-doc-expansion
no + l template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
no + i LangSwitch Error: no default:Link templates/T-doc-expansion LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:Link templates/T-doc-expansion LangSwitch Error: no default:Link templates/T-doc-expansion
no + n template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
no - 0 Template:Link templates/T-doc-expansion Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:{{Link templates/T-doc-expansion}} Template:Link templates/T-doc-expansion Template:Link templates/T-doc-expansion
no - l template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion
no - i LangSwitch Error: no default:Link templates/T-doc-expansion LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:{{Link templates/T-doc-expansion}} LangSwitch Error: no default:Link templates/T-doc-expansion LangSwitch Error: no default:Link templates/T-doc-expansion
no - n template:Link templates/T-doc-expansion template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:{{Link templates/T-doc-expansion}} template:Link templates/T-doc-expansion template:Link templates/T-doc-expansion