Welcome to Wars Wiki! |
---|
Welcome to Wars Wiki. Please log in or create an account to make changes. |
Template:AW CO Infobox: Difference between revisions
From Wars Wiki
Jump to navigationJump to search
mNo edit summary |
(Updated infobox styling to use Infobox style template) |
||
(61 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Infobox style/styles.css"/> | |||
! | {| {{Infobox style|infobox|theme={{{faction|allies}}}|}} | ||
! {{Infobox style|infobox_title|theme={{{faction|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}{{#if:{{{JPchar|{{{JPname|}}}}}}|<br>'''{{{JPchar|}}}''' ''{{{JPname|}}}''}} | |||
|- | |- | ||
{{#if:{{{image|}}}| | | {{Infobox style|infobox_image|theme={{{faction|allies}}}|}} | {{#if:{{{image|}}}|<!-- | ||
{{!- | -->[[File:{{{image}}}|{{{size|x300px}}}]]<!-- | ||
-->{{#if:{{{caption|}}}|<br /><small>{{{caption|}}}</small>}}<!-- | |||
-->|{{{tabs|}}}}} | |||
|- | |- | ||
! | ! {{Infobox style|infobox_header|theme={{{faction|allies}}}|}} | Bio | ||
| | |||
|- | |- | ||
! style= | ! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} | Faction | ||
| style= | | {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} | {{cc-icon|{{{faction}}}}} [[{{{faction}}}]] | ||
|- | |- | ||
! style= | {{#if:{{{specialty|}}}| | ||
{{!}} style= | ! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} Specialty | ||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{{specialty}}}|}} | |||
|- | |- | ||
! style= | {{#if:{{{hit|}}}| | ||
{{!}} style= | ! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} Hit | ||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{{hit}}}|}} | |||
|- | |- | ||
! | {{#if:{{{miss|}}}| | ||
! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} Miss | |||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{{miss}}}|}} | |||
|- | |- | ||
{{#if:{{{zone|}}}{{{aw4power|}}}{{{power|}}}{{{superpower|}}}{{{#small|}}}{{{#large|}}}{{{sturm|}}}| | |||
{{ | ! {{Infobox style|infobox_header|theme={{{faction|allies}}}|}} {{!}} Skills|}} | ||
|- | |- | ||
! style= | {{#if:{{{zone|}}}| | ||
{{!}} style= | ! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} CO Zone | ||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{{zone}}}|}} | |||
|- | |- | ||
! style= | {{#if:{{{aw4power|}}}{{{power|}}}| | ||
{{!}} style= | ! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} CO Power | ||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{{aw4power|{{{power}}}}}}|}} | |||
|- | |- | ||
! | {{#if:{{{superpower|}}}| | ||
! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} Super CO Power | |||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{{superpower}}}|}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{#small|}}}{{{#large|}}}{{{sturm|}}}| | ||
{{ | ! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} Power Meter | ||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{COPower|{{{#small|0}}}|{{{#large|}}}}}{{#if:{{{sturm|}}}|<br>([[Advance Wars]])<br>{{COPower|0|10}}<br>([[Advance Wars 2: Black Hole Rising|Black Hole Rising]])}}|}} | |||
{{! | |||
{{ | |||
{{ | |||
{{#if:{{{ | |||
{{ | |||
|- | |- | ||
! | {{#if:{{{games|}}}{{{voiceactor|}}}| | ||
! {{Infobox style|infobox_header|theme={{{faction|allies}}}|}} {{!}} Appearances|}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{games|}}}| | ||
! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} Games | |||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{Plainlist|{{{games}}}}}|}} | |||
|- | |||
{{#if:{{{voiceactor|}}}| | |||
{{! | ! {{Infobox style|infobox_data_label|theme={{{faction|allies}}}|}} {{!}} Voice Actor | ||
{{!}} {{Infobox style|infobox_data_value|theme={{{faction|allies}}}|}} {{!}} {{Plainlist|{{{voiceactor}}}}}|}} | |||
|}</includeonly><noinclude>{{Doc}}</noinclude> | |||
{{ | |||
{{#if:{{{ | |||
{{! | |||
{{ | |||
| | |||
{{ | |||
}} | |||
</noinclude> |
Latest revision as of 16:37, 3 July 2023
This page has been transcluded from Template:AW CO Infobox/doc.
Purpose[edit source]
This template should be placed on the page of every Advance Wars CO. When entering the value for "faction", the name must capitalize the first letter of each word in order for the corresponding color to be called.
Usage[edit source]
To add this template to an article copy and paste the following code and then fill in the information:
{{AW CO Infobox |theme=key to set colour scheme of infobox (see {{cc-key}}) |image=filename |imgsize=default: x300px |caption=NAME as he/she appears in [[gamename]] |faction=OS, BM, GE, YC, BH, Rubinelle, Lazuria, NRA, IDS |power=name of the officer's CO Power |superpower=name of the officer's Super CO Power |#small=number of stars for the CO Power |#large=number of stars for the Super CO Power |games=list of games the CO appeared in |voiceactor=the CO's voice actor/actress, if applicable }}