Template:Dods team: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) (good enough to remove draft) |
SirYodaJedi (talk | contribs) (Tooltips for the images) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Displays a team icon for one of the teams in {{dods|2}}. | Displays a team icon for one of the non-spectator teams in {{dods|2}}. | ||
<includeonly><onlyinclude>{{#switch:{{{1|}}} | <includeonly><onlyinclude>{{#switch:{{{1|}}} | ||
|#default = {{error|Missing {{param|1}}}} | |#default = {{error|Missing {{param|1}}}} | ||
|Neutral|neutral = [[File:Neutral icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Neutral|}} | |Neutral|neutral = [[File:Neutral icon (dods).png|16px|Neutral|link=]] {{#if:{{{2|}}}|Neutral|}} | ||
|Axis|axis = [[File:Axis icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Axis|}} | |Axis|axis = [[File:Axis icon (dods).png|16px|Axis|link=]] {{#if:{{{2|}}}|Axis|}} | ||
|Allies|allies = [[File:Allies icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Allies|}} | |Allies|allies = [[File:Allies icon (dods).png|16px|Allies|link=]] {{#if:{{{2|}}}|Allies|}} | ||
|Allied|allied = [[File:Allies icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Allied|}} | |Allied|allied = [[File:Allies icon (dods).png|16px|Allied|link=]] {{#if:{{{2|}}}|Allied|}} | ||
}}</onlyinclude></includeonly> | }}</onlyinclude></includeonly> | ||
Line 12: | Line 12: | ||
; {{param|2}} | ; {{param|2}} | ||
If present, will also print the team name after the team icon. For | If present, will also print the team name after the team icon. For grammatical reasons, "Allied" and "Allies" are handled separately. | ||
<!--{{dods team|axis}}{{dods team|allies}}{{dods team|neutral}}--> | <!--{{dods team|axis}}{{dods team|allies}}{{dods team|neutral}}--> |
Latest revision as of 05:41, 25 March 2025
Displays a team icon for one of the non-spectator teams in Day of Defeat: Source.
- {{{1}}}
Team name. Can be Neutral,
Axis,
Allies, or
Allied, or an all-lowercase variant of any of those.
- {{{2}}}
If present, will also print the team name after the team icon. For grammatical reasons, "Allied" and "Allies" are handled separately.