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: | ||
<includeonly><templatestyles src="Template:Infobox style/styles.css"/> | |||
| | {| {{Infobox style|infobox|theme={{{theme|allies}}}|}} | ||
! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | |||
{ | |||
| | |||
| | |||
|- | |- | ||
| | | {{Infobox style|infobox_image|theme={{{theme|allies}}}|}} | {{#if:{{{imagename|}}}|[[File:{{{imagename|}}}|{{{imagesize|100px}}}]]<br><small>{{{caption|}}}</small>|{{{tabs|}}}}} | ||
{| | |||
| | |||
| | |||
| | |||
| | |||
|- | |- | ||
! | ! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Basic info | ||
| | |||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Games | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{games|N/A}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Production cost | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{cost|N/A}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Movement range | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{movement|N/A}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Fuel | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{fuel|N/A}}} | ||
|- | |- | ||
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Vision | |||
{| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{vision|N/A}}} | ||
| | |||
| | |||
| | |||
|- | |- | ||
! | ! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Primary weapon | ||
| | |||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Name | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1name|None}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Range | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1range|N/A}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Ammo | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1ammo|N/A}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Effective against | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1effective|N/A}}} | ||
|- | |- | ||
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Weak against | |||
{| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1weak|N/A}}} | ||
| | |||
| | |||
| | |||
|- | |- | ||
! | ! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Secondary weapon | ||
| | |||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Name | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2name|None}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Range | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2range|N/A}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Ammo | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2ammo|N/A}}} | ||
|- | |- | ||
! | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Effective against | ||
| | | {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2effective|N/A}}} | ||
|} | |- | ||
! {{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 | |
---|---|
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.