@DeletedUser41170185 (talk | contribs) (Included a reverse version (formerly Template:Team1)) |
Elite stay (talk | contribs) mNo edit summary |
||
(38 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly>{{#invoke:Team ID|main}}</includeonly><noinclude>{{Doc}} [[Category:Link templates]][[ru:Шаблон:Team ID]][[zh:Template:Team ID]]</noinclude> |
||
− | <includeonly>{{#ifeq: {{{reverse}}}|Yes| |
||
− | {{#switch: {{lc:{{{1}}}}} |
||
− | |#default = <span style="white-space:nowrap">{{#ifexist:File:Team icon {{{1}}}.png|[[{{{1}}}]] [[File:Team icon {{{1}}}.png|{{{2|20}}}px|link={{{1}}}]]|[[File:Team icon Default.png|{{{2|20}}}px|{{{1}}}]] {{{1}}}}}</span> |
||
− | |tbd = {{Tooltip|TBD|To be decided}} |
||
− | |tba = {{Tooltip|TBA|To be announced}} |
||
− | }}| |
||
− | {{#switch: {{lc:{{{1}}}}} |
||
− | |#default = <span style="white-space:nowrap">{{#ifexist:File:Team icon {{{1}}}.png|[[File:Team icon {{{1}}}.png|{{{2|20}}}px|link={{{1}}}]] [[{{{1}}}]]|[[File:Team icon Default.png|{{{2|20}}}px|{{{1}}}]] {{{1}}}}}</span> |
||
− | |tbd = {{Tooltip|TBD|To be decided}} |
||
− | |tba = {{Tooltip|TBA|To be announced}} |
||
− | |grp. s. |
||
− | |grp.s |
||
− | |grp = {{Tooltip|Grp. S.|Group Stage (W/D/L)}} |
||
− | }}}}</includeonly><noinclude>{{Doc begin}} |
||
− | Use this template for displaying teams in articles together with their names. Image size is optional, defaults at 20px. |
||
− | <br /> |
||
− | Usage: |
||
− | <br /> |
||
− | {{Tlx|Team|<name>|<size>}} |
||
− | <br /> |
||
− | {{Team|Natus Vincere}} |
||
− | <br /> |
||
− | {{Tlx|Team|TBD}} |
||
− | <br /> |
||
− | {{Team|TBD}} |
||
− | <br /> |
||
− | {{Tlx|Team|TBA}} |
||
− | <br /> |
||
− | {{Team|TBA}} |
||
− | <br /> |
||
− | It will change automatically if that team doesn't exist: |
||
− | <br /> |
||
− | {{Tlx|Team|QWERTY12345}} |
||
− | <br /> |
||
− | {{Team|QWERTY12345}} |
||
− | |||
− | [[Category:Templates|{{PAGENAME}}]] |
||
− | </noinclude> |
Latest revision as of 05:29, 14 April 2018
Use this template for displaying teams in articles together with their names. Image size is optional, defaults at 20px.
Usage:
{{Team|<name>|<size>}}
Natus Vincere
{{Team|TBD}}
TBD
{{Team|TBA}}
TBD
It will change automatically if that team doesn't exist:
{{Team|QWERTY12345}}
QWERTY12345
TemplateData
Generate a link to the teams page with a small icon next to it.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Team | 1 | The teams name.
| String | required |
Size | 2 | The icons size.
| String | optional |
Reverse | reverse | Reverse the layout. Mainly for use in templates. | Boolean | optional |