Difference between revisions of "Template:TeamAbbr/doc"

From QWiki
m (Updated to describe the new |rows feature)
m (Updated with better |flag instructions (option to hide flag))
Line 7: Line 7:
 
:The name of the team. This will not be linked.
 
:The name of the team. This will not be linked.
 
;|flag=  
 
;|flag=  
:Country flag using two letter ISO code. Leave empty for {{Flag/tbd}}.
+
:Country flag using two letter ISO code. Use ''tbd'' for {{Flag/tbd}}. Leave empty to hide flag entirely.
 
;|rows=
 
;|rows=
 
:If set to <code>2</code>, player names will move under team.
 
:If set to <code>2</code>, player names will move under team.

Revision as of 12:55, 12 November 2020

This template is used to display a team and then its players on one (comma separated) line together.

Russia RussiaBilly The Kid, gLAd, Zeppski, Quake, Bulat, Gorgoroth, NLK, SS, Max Power

Use

|=
The name of the team. This will not be linked.
|flag=
Country flag using two letter ISO code. Use tbd for TBD. Leave empty to hide flag entirely.
|rows=
If set to 2, player names will move under team.
|(after last pipe)=
Anything entered here will display to the right of the team.
Note: When listing players, please use comma followed by a space (, ) between each player.
By default players are printed with small, light gray text, but this template supports the us of {{player}} so that individual players can have flag, link or abbr.

More uses

Example, on 2 rows, with full use of {{player}} for each name:

Russia Russia
Russia Billy The Kid, Russia gLAd, Russia Zeppski, Russia Quake, Russia Bulat, Russia Gorgoroth, Russia nlk, Russia SS, Russia Max Power


Example within {{GroupTableStart}}:

GroupTableStart
1. Russia RussiaBilly The Kid, gLAd, Zeppski, Quake, Bulat, Gorgoroth, NLK, SS, max_power 4-1 8-2 +6
2. Australia AustraliaYeti, HarlsoM, dracs, blindcant, swoop 2-3 4-7 -3