Template:Dods team: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{draft}} <includeonly><onlyinclude>{{#switch:{{{1|}}} |#default = {{error|Missing {{param|1}}}} |Axis|axis = 16px |Allied|Allies|allied|allies = 16px }} </onlyinclude></includeonly>")
 
(Tooltips for the images)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{draft}}
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}}}}
|Axis|axis = [[File:Axis icon (dods).png|16px]]
|Neutral|neutral = [[File:Neutral icon (dods).png|16px|Neutral|link=]]&nbsp;{{#if:{{{2|}}}|Neutral|}}
|Allied|Allies|allied|allies = [[File:Allies icon (dods).png|16px]]
|Axis|axis = [[File:Axis icon (dods).png|16px|Axis|link=]]&nbsp;{{#if:{{{2|}}}|Axis|}}
}} </onlyinclude></includeonly>
|Allies|allies = [[File:Allies icon (dods).png|16px|Allies|link=]]&nbsp;{{#if:{{{2|}}}|Allies|}}
|Allied|allied = [[File:Allies icon (dods).png|16px|Allied|link=]]&nbsp;{{#if:{{{2|}}}|Allied|}}
}}</onlyinclude></includeonly>
 
; {{param|1}}
Team name. Can be {{dods team|Neutral|1}}, {{dods team|Axis|1}}, {{dods team|Allies|1}}, or {{dods team|Allied|1}}, or an all-lowercase variant of any of those.
 
; {{param|2}}
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}}-->

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 Day of Defeat: Source.


{{{1}}}

Team name. Can be Neutral Neutral, Axis Axis, Allies Allies, or Allied 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.