Welcome to Wars Wiki!
Welcome, new users! For help on where to start, look at our getting started page and our manual of style. Need more help? Ask a staff member!

Template:AW Unit Infobox: Difference between revisions

From Wars Wiki
mNo edit summary
m (Documentation subpage already categorizes the template)
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| width="30%" align="right" style="background: #444444; {{roundy}}; margin-left: 10px; margin-bottom: 10px; border: 3px solid #C3C3C3;"
<includeonly><templatestyles src="Template:Infobox style/styles.css"/>
|- align="center"
{| {{Infobox style|infobox|theme={{{theme|allies}}}|}}
|
! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
{| width="100%" align="right" style="background: transparent; {{roundy}};"
|- align="center"
| '''{{color|C3C3C3|{{{name|{{PAGENAME}}}}}}}'''
|- align="center"
| style="background: #FFFFFF; {{roundy}}; padding: 5px;" | [[Image:{{{imagename|Noimage.png}}}|{{{imagesize|100px}}}]]<br><small>{{{caption|}}}</small>
|}
|-
|-
|  
| {{Infobox style|infobox_image|theme={{{theme|allies}}}|}} | {{#if:{{{imagename|}}}|[[File:{{{imagename|}}}|{{{imagesize|100px}}}]]<br><small>{{{caption|}}}</small>|{{{tabs|}}}}}
{| width="100%" align="right" style="background: transparent; border-collapse: collapse;"
| width="2%" |  
| width="3%" |  
! colspan="2" width="90%" style="background: #C3C3C3; {{roundytop}};" | Basic info
| width="3%" |  
| width="2%" |  
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; {{roundytl}}; border-bottom: 1px solid #444444;" | Appears in:
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Basic info
| colspan="3" align="left" style="background: #FFFFFF; {{roundytr}}; border-bottom: 1px solid #444444;" | {{{games|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Production cost:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Games
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{cost|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{games|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Movement range:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Production cost
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{movement|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{cost|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Fuel:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Movement range
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{fuel|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{movement|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; {{roundybl}}; border-bottom: 1px solid #444444;" | Vision:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Fuel
| colspan="3" align="left" style="background: #FFFFFF; {{roundybr}}; border-bottom: 1px solid #444444;" | {{{vision|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{fuel|N/A}}}
|}
|-
|-
|
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Vision
{| width="100%" align="right" style="background: transparent; border-collapse: collapse;"
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{vision|N/A}}}
| width="2%" |  
| width="3%" |  
! colspan="2" width="90%" style="background: #C3C3C3; {{roundytop}};" | Primary weapon
| width="3%" |
| width="2%" |  
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; {{roundytl}}; border-bottom: 1px solid #444444;" | Name:
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Primary weapon
| colspan="3" align="left" style="background: #FFFFFF; {{roundytr}}; border-bottom: 1px solid #444444;" | {{{w1name|None}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Range:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Name
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{w1range|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1name|None}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Ammo:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Range
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{w1ammo|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1range|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Effective against:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Ammo
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{w1effective|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1ammo|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; {{roundybl}}; border-bottom: 1px solid #444444;" | Weak against:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Effective against
| colspan="3" align="left" style="background: #FFFFFF; {{roundybr}}; border-bottom: 1px solid #444444;" | {{{w1weak|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1effective|N/A}}}
|}
|-
|-
|
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Weak against
{| width="100%" align="right" style="background: transparent; border-collapse: collapse;"
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1weak|N/A}}}
| width="2%" |  
| width="3%" |  
! colspan="2" width="90%" style="background: #C3C3C3; {{roundytop}};" | Secondary weapon
| width="3%" |
| width="2%" |  
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; {{roundytl}}; border-bottom: 1px solid #444444;" | Name:
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Secondary weapon
| colspan="3" align="left" style="background: #FFFFFF; {{roundytr}}; border-bottom: 1px solid #444444;" | {{{w2name|None}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Range:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Name
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{w2range|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2name|None}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Ammo:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Range
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{w2ammo|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2range|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; border-bottom: 1px solid #444444;" | Effective against:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Ammo
| colspan="3" align="left" style="background: #FFFFFF; border-bottom: 1px solid #444444;" | {{{w2effective|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2ammo|N/A}}}
|-
|-
! colspan="3" width="90px" align="right" style="background: #858585; {{roundybl}}; border-bottom: 1px solid #444444;" | Weak against:
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Effective against
| colspan="3" align="left" style="background: #FFFFFF; {{roundybr}}; border-bottom: 1px solid #444444;" | {{{w2weak|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2effective|N/A}}}
|}
|-
|}<noinclude>[[Category:Infobox templates]]</noinclude>
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Weak against
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2weak|N/A}}}
|}</includeonly><noinclude>{{Doc}}</noinclude>

Latest revision as of 16:23, 3 July 2023

This page has been transcluded from Template:AW Unit Infobox/doc.


This template uses TemplateStyles:

This infobox template provides basic information and in-game data values of a unit in the Advance Wars series.

Usage[edit source]

Unit Name
Orange StarBlue MoonGreen EarthYellow CometBlack Hole
Orange Star in-game model (AW1+2:RBC)
Blue Moon in-game model (AW1+2:RBC)
Green Earth in-game model (AW1+2:RBC)
Gold Comet in-game model (AW1+2:RBC)
Black Hole in-game model (AW1+2:RBC)
Basic info
Games List of games the unit appears in
Production cost Cost of the unit
Movement range Movement value
Fuel Full fuel capacity
Vision Vision in Fog of War
Primary weapon
Name Primary weapon name
Range Primary weapon range
Ammo Full ammo capacity of primary weapon
Effective against Targets the primary weapon is strong against
Weak against Targets the primary weapon is weak against
Secondary weapon
Name Secondary weapon name
Range Secondary weapon range
Ammo Full ammo capacity of secondary weapon
Effective against Targets the secondary weapon is strong against
Weak against Targets the secondary weapon is weak against

Code[edit source]

To use this infobox, copy and paste the code listed below into the article and fill in the fields.

{{AW Unit Infobox
|name=
|image=
|imgsize=
|caption=
|tabs=
|games=
|cost=
|movement=
|fuel=
|vision=
|w1name=
|w1range=
|w1ammo=
|w1effective=
|w1weak=
|w2name=
|w2range=
|w2ammo=
|w2effective=
|w2weak=
}}

If the tabs parameter is specified, one may use the code from the Unit Tabs template.