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
m
Documentation subpage already categorizes the template
(Cleaned up infobox code, set default style to "allies" theme)
m (Documentation subpage already categorizes the template)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="background: {{cc-color|{{{theme|allies}}}}}; border: 3px solid {{cc-color|{{{theme|allies}}}|dark}};"
<includeonly><templatestyles src="Template:Infobox style/styles.css"/>
! colspan="2" style="color: {{cc-color|{{{theme|allies}}}|text}};" | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
{| {{Infobox style|infobox|theme={{{theme|allies}}}|}}
! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|-
|-
| style="background: #FFFFFF; text-align: center; {{#if:{{{tabs|}}}|padding: 0;}}" | {{#if:{{{imagename|}}}|[[File:{{{imagename|}}}|{{{imagesize|100px}}}]]<br><small>{{{caption|}}}</small>|{{{tabs|}}}}}
| {{Infobox style|infobox_image|theme={{{theme|allies}}}|}} | {{#if:{{{imagename|}}}|[[File:{{{imagename|}}}|{{{imagesize|100px}}}]]<br><small>{{{caption|}}}</small>|{{{tabs|}}}}}
|-
|-
! colspan="2" style="border: 3px solid {{cc-color|{{{theme|allies}}}|dark}}; border-width: 3px 15px 0; color: {{cc-color|{{{theme|allies}}}|text}};" | Basic info
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Basic info
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right; width: 50%" | Appears in
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Games
| style="background: #FFFFFF;" | {{{games|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{games|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Production cost
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Production cost
| style="background: #FFFFFF;" | {{{cost|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{cost|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Movement range
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Movement range
| style="background: #FFFFFF;" | {{{movement|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{movement|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Fuel
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Fuel
| style="background: #FFFFFF;" | {{{fuel|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{fuel|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Vision
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Vision
| style="background: #FFFFFF;" | {{{vision|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{vision|N/A}}}
|-
|-
! colspan="2" style="border: 3px solid {{cc-color|{{{theme|allies}}}|dark}}; border-width: 3px 15px 0; color: {{cc-color|{{{theme|allies}}}|text}};" | Primary weapon
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Primary weapon
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Name
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Name
| style="background: #FFFFFF;" | {{{w1name|None}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1name|None}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Range
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Range
| style="background: #FFFFFF;" | {{{w1range|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1range|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Ammo
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Ammo
| style="background: #FFFFFF;" | {{{w1ammo|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1ammo|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Effective against
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Effective against
| style="background: #FFFFFF;" | {{{w1effective|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1effective|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Weak against
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Weak against
| style="background: #FFFFFF;" | {{{w1weak|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w1weak|N/A}}}
|-
|-
! colspan="2" style="border: 3px solid {{cc-color|{{{theme|allies}}}|dark}}; border-width: 3px 15px 0; color: {{cc-color|{{{theme|allies}}}|text}};" | Secondary weapon
! {{Infobox style|infobox_header|theme={{{theme|allies}}}|}} | Secondary weapon
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Name
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Name
| style="background: #FFFFFF;" | {{{w2name|None}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2name|None}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Range
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Range
| style="background: #FFFFFF;" | {{{w2range|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2range|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Ammo
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Ammo
| style="background: #FFFFFF;" | {{{w2ammo|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2ammo|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Effective against
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Effective against
| style="background: #FFFFFF;" | {{{w2effective|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2effective|N/A}}}
|-
|-
! width="40%" style="background: {{cc-color|{{{theme|allies}}}|light}}; text-align: right" | Weak against
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} | Weak against
| style="background: #FFFFFF;" | {{{w2weak|N/A}}}
| {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} | {{{w2weak|N/A}}}
|}<noinclude>
|}</includeonly><noinclude>{{Doc}}</noinclude>
[[Category:Infobox templates]]</noinclude>
patroller
1,981

edits