Template:Namespace/display: Difference between revisions
Template page
More actions
m format |
m +parm |
||
| Line 2: | Line 2: | ||
! colspan="2"|{{nobold|Table: different displays for {{tl|{{{t|{{BASEPAGENAME}}}}}}} with the ''namespace'' option}} {{0}} | ! colspan="2"|{{nobold|Table: different displays for {{tl|{{{t|{{BASEPAGENAME}}}}}}} with the ''namespace'' option}} {{0}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|000 | | {{#if:{{{d|}}}|000{{0}}}} {{Tle|T={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}}} {{0}}''this is the standard'' || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | |case= |link= }} | ||
|- | |- | ||
| {{#if:{{{d|}}}|001<tt></tt>-}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case= |link= }} | | {{#if:{{{d|}}}|001<tt></tt>-}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case= |link= }} | ||
| Line 8: | Line 8: | ||
| {{#if:{{{d|}}}|001<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|p3=case|l|p4=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=l|link= }} | | {{#if:{{{d|}}}|001<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|p3=case|l|p4=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=l|link= }} | ||
|- | |- | ||
| {{#if:{{{d|}}}|001<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|p3=case|i}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=i}} | | {{#if:{{{d|}}}|001<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|p3=case|i}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=i|lang={{{lang|{{int:lang}}}}}}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|001<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|p3=case|n}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=n}} | | {{#if:{{{d|}}}|001<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|p3=case|n}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=n|lang={{{lang|{{int:lang}}}}}}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|010<tt>-</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|Example}}}|+}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|Example}}} | | + |case= |link= }} | | {{#if:{{{d|}}}|010<tt>-</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|Example}}}|+}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|Example}}} | | + |case= |link= }} | ||
| Line 16: | Line 16: | ||
| {{#if:{{{d|}}}|010<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|p3=case|l}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=l}} | | {{#if:{{{d|}}}|010<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|p3=case|l}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=l}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|010<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|p3=case|i}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=i}} | | {{#if:{{{d|}}}|010<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|p3=case|i}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=i|lang={{{lang|{{int:lang}}}}}}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|010<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|p3=case|n}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=n}} | | {{#if:{{{d|}}}|010<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|p3=case|n}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=n|lang={{{lang|{{int:lang}}}}}}} | ||
|- style="border-top:2px double" | |- style="border-top:2px double" | ||
| Line 25: | Line 25: | ||
| {{#if:{{{d|}}}|101<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|n|l|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=l|link=n}} | | {{#if:{{{d|}}}|101<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|n|l|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=l|link=n}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|101<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|n|i|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=i|link=n}} | | {{#if:{{{d|}}}|101<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|n|i|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=i|link=n|lang={{{lang|{{int:lang}}}}}}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|101<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|n|n|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=n|link=n}} | | {{#if:{{{d|}}}|101<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|-|n|n|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | - |case=n|link=n|lang={{{lang|{{int:lang}}}}}}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|110<tt>-</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case= |link=n}} | | {{#if:{{{d|}}}|110<tt>-</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case= |link=n}} | ||
| Line 33: | Line 33: | ||
| {{#if:{{{d|}}}|110<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|l|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=l|link=n}} | | {{#if:{{{d|}}}|110<tt>l</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|l|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=l|link=n}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|110<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|i|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=i|link=n}} | | {{#if:{{{d|}}}|110<tt>i</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|i|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=i|link=n|lang={{{lang|{{int:lang}}}}}}} | ||
|- | |- | ||
| {{#if:{{{d|}}}|110<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|n|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=n|link=n}} | | {{#if:{{{d|}}}|110<tt>n</tt>}} {{Tle|t={{{t|{{BASEPAGENAME}}}}}|{{{name|example}}}|+|n|n|p4=case||p3=link}} || {{ {{{t|{{BASEPAGENAME}}}}} | {{{name|example}}} | | + |case=n|link=n|lang={{{lang|{{int:lang}}}}}}} | ||
|}<noinclude> | |}<noinclude> | ||
This templates creates a hidden table for transclusions of Template:<nowiki>(((t}}}</nowiki> with different values for <nowiki>{{{case}}}</nowiki> and <nowiki>{{{link}}}</nowiki> to <nowiki>{{{name|example}}}</nowiki>. | This templates creates a hidden table for transclusions of Template:<nowiki>(((t}}}</nowiki> with different values for <nowiki>{{{case}}}</nowiki>, <nowiki>{{{lang}}}</nowiki> and <nowiki>{{{link}}}</nowiki> to <nowiki>{{{name|example}}}</nowiki>. | ||
[[Category:Miscellaneous subtemplates]] | [[Category:Miscellaneous subtemplates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 08:32, 26 May 2019
| Table: different displays for {{Namespace}} with the namespace option | |
|---|---|
| {{ Namespace | example }} this is the standard | gallery |
| {{ Namespace | example | - }} | gallery |
| {{ Namespace | example | - | case = l }} | gallery |
| {{ Namespace | example | - | case = i }} | gallery |
| {{ Namespace | example | - | case = n }} | gallery |
| {{ Namespace | Example | + }} | gallery |
| {{ Namespace | example | + | case = l }} | gallery |
| {{ Namespace | example | + | case = i }} | gallery |
| {{ Namespace | example | + | case = n }} | gallery |
| {{ Namespace | Example | - | link = n }} | gallery |
| {{ Namespace | example | - | link = n | case = l }} | gallery |
| {{ Namespace | example | - | link = n | case = i }} | gallery |
| {{ Namespace | example | - | link = n | case = n }} | gallery |
| {{ Namespace | example | + | link = n }} | gallery |
| {{ Namespace | example | + | link = n | case = l }} | gallery |
| {{ Namespace | example | + | link = n | case = i }} | gallery |
| {{ Namespace | example | + | link = n | case = n }} | gallery |
This templates creates a hidden table for transclusions of Template:(((t}}} with different values for {{{case}}}, {{{lang}}} and {{{link}}} to {{{name|example}}}.