Template:Dods team: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (SirYodaJedi moved page User:SirYodaJedi/Template:Dods team to Template:Dods team without leaving a redirect)
(add neutral option)
Line 2: Line 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|}}
|Axis|axis = [[File:Axis icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Axis|}}
|Axis|axis = [[File:Axis icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Axis|}}
|Allies|allies = [[File:Allies icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Allies|}}
|Allies|allies = [[File:Allies icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Allies|}}
|Allied|allied =  [[File:Allies icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Allied|}}
|Allied|allied =  [[File:Allies icon (dods).png|16px|link=]] {{#if:{{{2|}}}|Allied|}}
}} </onlyinclude></includeonly>
}}</onlyinclude></includeonly>


; {{param|1}}
; {{param|1}}
Line 12: Line 13:
; {{param|2}}
; {{param|2}}
If present, will also print the team name after the team icon. For grammar reasons, "Allied" and "Allies" are handled separately.
If present, will also print the team name after the team icon. For grammar reasons, "Allied" and "Allies" are handled separately.
<!--{{dods team|axis}}{{dods team|allies}}{{dods team|neutral}}-->

Revision as of 05:53, 24 March 2025

Icon-under construction-blue.png
This is a draft template page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.


{{{1}}}

Team name. Can be 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 grammar reasons, "Allied" and "Allies" are handled separately.