Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Template:Infobox AW1 Mission: Difference between revisions

From Wars Wiki
Jump to navigationJump to search
mNo edit summary
m (fix cat name)
 
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="toccolours" cellpadding="4" style="border: 1px solid #4682B4; float: right; margin: 0 0 1em 1em; width: 22em; border-collapse: collapse; font-size: 95%; text-align: left;"
{| class="infobox" style="border: 1px solid #4682B4; border-collapse: collapse;"
! colspan="2" style="text-align: center; background-color: #E6E8FA; font-size:110%; border: 1px solid #4682B4;" | {{{name|{{PAGENAME}}}}}
! colspan="2" style="background-color: #C3BECC; border: 1px solid #4682B4; font-size: 110%" | {{{name|{{PAGENAME}}}}}
|-
|-
{{#ifeq:{{{imageback|}}}|{{Void}}|{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!-}}
{{!-}}
! colspan="2" style="border: 1px solid #4682B4; text-align: center;" bgcolor="#E6E8FA" {{!}} {{{image|}}}}}|{{#if:{{{image|}}}|
! colspan="2" style="background-color: #{{{imageback|E2DFE8}}}; border: 1px solid #4682B4" {{!}} {{{image|}}}
}}
|-
! colspan="2" style="background-color: #C3BECC; border: 1px solid #4682B4; font-size: 110%" | Mission Info
|-
{{#if:{{{mode|}}}|
{{!-}}
{{!-}}
! colspan="2" style="border: 1px solid #4682B4; text-align: center;" bgcolor="#{{{imageback|}}}" {{!}} {{{image|}}}}}}}
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} Game Mode
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{mode|}}}}}
|-
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right; width: 50%" | Difficulty
| style="background-color: #E2DFE8; border: 1px solid #4682B4" | {{{difficulty|}}}
|-
|-
! colspan="2" style="text-align: center; background-color: #E6E8FA; font-size:110%; border: 1px solid #4682B4;" | Mission Info
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right; width: 50%" | Term(s)
|- valign="top"
| style="background-color: #E2DFE8; border: 1px solid #4682B4" | {{{condition|}}}
|-
|-
{{#if:{{{mode |}}}|
{{#if:{{{limit|}}}|
{{!-}}
{{!-}}
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} Game Mode
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} Time Limit
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{mode|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{limit|}}}}}
|-
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" | Term(s)
| style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" | {{{condition|}}}
|-
|-
{{#if:{{{limit |}}}|
{{#if:{{{properties|}}}|
{{!-}}
{{!-}}
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} Time Limit
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} Properties
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{limit|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{properties|}}}}}
|-
|-
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" | Weather
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" | Weather
| style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" | {{{weather|}}}
| style="background-color: #E2DFE8; border: 1px solid #4682B4" | {{{weather|}}}
|-
|-
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" | Fog of War
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" | Fog of War
| style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" | {{{fow|}}}
| style="background-color: #E2DFE8; border: 1px solid #4682B4" | {{{fow|}}}
|-
|-
! colspan="2" style="text-align: center; background-color: #E6E8FA; font-size:110%; border: 1px solid #4682B4;" | Commanding Officers
! colspan="2" style="background-color: #C3BECC; border: 1px solid #4682B4; font-size:110%" | [[Commanding Officer]]s
{{#if:{{{co1 |}}}|
{{#if:{{{co1|}}}|
{{!-}}
{{!-}}
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} C.O.1
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} CO 1
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{co1|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{co1|}}}}}
|-
|-
{{#if:{{{fac1 |}}}|
{{#if:{{{fac1|}}}|
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} <center>Faction</center>
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} Faction
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{fac1|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{fac1|}}}}}
|-
|-
{{#if:{{{co2 |}}}|
{{#if:{{{co2|}}}|
{{!-}}
{{!-}}
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} C.O.2
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} CO 2
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{co2|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{co2|}}}}}
|-
|-
{{#if:{{{fac2 |}}}|
{{#if:{{{fac2|}}}|
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} <center>Faction</center>
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} Faction
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{fac2|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{fac2|}}}}}
|-
|-
{{#if:{{{co3 |}}}|
{{#if:{{{co3|}}}|
{{!-}}
{{!-}}
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} C.O.3
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} CO 3
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{co3|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{co3|}}}}}
|-
|-
{{#if:{{{fac3 |}}}|
{{#if:{{{fac3|}}}|
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} <center>Faction</center>
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} Faction
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{fac3|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{fac3|}}}}}
|-
|-
{{#if:{{{co4 |}}}|
{{#if:{{{co4|}}}|
{{!-}}
{{!-}}
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} C.O.4
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} CO 4
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{co4|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{co4|}}}}}
|-
|-
{{#if:{{{fac4 |}}}|
{{#if:{{{fac4|}}}|
! style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} <center>Faction</center>
! style="background-color: #E2DFE8; border: 1px solid #4682B4; text-align: right" {{!}} Faction
{{!}} style="border: 1px solid #4682B4;" bgcolor="#E6E8FA" {{!}} {{{fac4|}}}}}
{{!}} style="background-color: #E2DFE8; border: 1px solid #4682B4" {{!}} {{{fac4|}}}}}
|}<includeonly>{{#ifeq:{{{type|}}}|optional|[[Category:Mission]]|[[Category:Missions]]}}</includeonly><noinclude>
|}<includeonly>{{#ifeq:{{{type|}}}|optional|[[Category:Advance Wars campaign]]|[[Category:Advance Wars campaign]]}}</includeonly><noinclude>
== Purpose ==
{{doc}}
This template is used to display a mission's vital information and also adds the article to [[:Category:Missions]].
 
== Usage ==
If the mission does not have any information for a field (like it doesn't have a title) leave it blank or delete it.  If the mission name is the same as that of the article you can delete the name field. The <code>type</code> field is optional and should only be used for  optional mission where it should equal <code>optional</code> to put them in the optional missions category instead of mission category.
 
'''To add this template to an article copy and paste the following code and then fill in the information: '''
<pre>
{{Infobox Mission
|name = the mission's name
|type = if it's an option mission, type "optional" here. Otherwise, leave blank
|image = an image of the map
|imageback = optionally set a background color for image, 6 digit hexadecimal color code without leading #
|mode = the game mode the mission is found in Campaign/Field Training/War Room
|condition = Rout or HQ Capture/Capture X Properties/Survive/Defend/Destroy
|limit = maximum number of days for the mission, leave blank if there is no limit
|weather = clear/rain/snow/random
|fow = Fog of War: yes/no/only in AC
|co1 = name of CO
|fac1= faction of this CO
|co2 = name of CO
|fac2= faction of this CO
|co3 = name of CO
|fac3= faction of this CO
|co4 = name of CO
|fac4= faction of this CO
}}
</pre>
[[Category: Infobox Templates|{{PAGENAME}}]]


</noinclude>
[[Category: Infobox templates]]</noinclude>

Latest revision as of 06:11, 26 June 2023

Infobox AW1 Mission
Mission Info
Difficulty
Term(s)
Weather
Fog of War
Commanding Officers

This page has been transcluded from Template:Infobox AW1 Mission/doc.


Purpose[edit source]

This template is used to display vital information for Advance Wars missions, and also adds the article to Category:Advance Wars campaign.

Usage[edit source]

If the mission does not have any information for a field (like it doesn't have a title) leave it blank or delete it. If the mission name is the same as that of the article you can delete the name field. The type field is optional and should only be used for special missions where it should equal special to put them in the special missions category instead of mission category.

To add this template to an article copy and paste the following code and then fill in the information:

{{Infobox AW1 Mission
|name = the mission's name
|type = if it's a special (unlockable) mission, type "special" here. Otherwise, leave blank
|image = an image of the map
|imageback = optionally set a background color for image, 6 digit hexadecimal colour code without leading # (Use E2DFE8)
|mode = the game mode the mission is found in Campaign/Field Training/War Room
|condition = Rout or HQ Capture/Capture X Properties/Survive/Defend/Destroy
|limit = maximum number of days for the mission, leave blank if there is no limit
|properties = number of properties needed to win the battle
|weather = clear/rain/snow/random
|fow = Fog of War: yes/no/only in AC
|co1 = name of CO
|fac1= faction of this CO
|co2 = name of CO
|fac2= faction of this CO
|co3 = name of CO
|fac3= faction of this CO
|co4 = name of CO
|fac4= faction of this CO
}}