|
|
(12 intermediate revisions by 3 users not shown) |
Line 1: |
Line 1: |
| {| class="infobox" style="background: {{#switch: {{{country|Black Hole}}}|Orange Star={{cc-color|star}}|Blue Moon={{cc-color|moon}}|Green Earth={{cc-color|earth}}|Yellow Comet={{cc-color|comet}}|Black Hole={{cc-color|hole}}|Western Frontier={{cc-color|frontier}}|Tundran Territories={{cc-color|tundra}}|Solar Empire={{cc-color|solar}}|Anglo Isles={{cc-color|anglo}}|Xylvania={{cc-color|xylvania}}|Iron Legion={{cc-color|legion}}}}; margin-left: 10px; margin-bottom: 10px; border: 3px solid #{{#switch: {{{country|Black Hole}}}|Orange Star={{cc-color|star|dark}}|Blue Moon={{cc-color|moon|dark}}|Green Earth={{cc-color|earth|dark}}|Yellow Comet={{cc-color|comet|dark}}|Black Hole={{cc-color|hole|dark}}|Western Frontier={{cc-color|frontier|dark}}|Tundran Territories={{cc-color|tundra|dark}}|Solar Empire={{cc-color|solar|dark}}|Anglo Isles={{cc-color|anglo|dark}}|Xylvania={{cc-color|xylvania|dark}}|Iron Legion={{cc-color|legion|dark}}}}"
| | <includeonly><templatestyles src="Template:Infobox style/styles.css"/> |
| | {| {{Infobox style|infobox|theme={{{theme|allies}}}|}} |
| |- | | |- |
| ! colspan="2" | <big><big>{{{country}}}</big></big> | | ! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}{{#if:{{{JPchar|}}}|<br />'''{{{JPchar|}}}''' {{#if:{{{JPname|}}}|''{{{JPname|}}}''|}}|}} |
| |- | | |- |
| | colspan="2" style="background: #FFFFFF; padding: 15px; text-align: center" | [[File:{{{imagename}}}|{{{imagesize|120px}}}]]<br><small>{{{caption}}}</small> | | {{#if:{{{logo|}}}{{{image|}}}| |
| | {{!}} {{Infobox style|infobox_image|theme={{{theme|allies}}}|}} {{!}} <!-- |
| | -->{{#if:{{{logo|}}}|<!-- |
| | --><div style="padding: 6px; width: auto;">[[File:{{{logo|}}}|{{{logosize|80px}}}|center|Logo]]</div><!-- |
| | -->{{#if:{{{logocaption|}}}|<br /><small>{{{logocaption|}}}</small>}}<!-- |
| | -->|}}<!-- |
| | -->{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imgsize|300px}}}]]{{#if:{{{caption|}}}|<br /><small>{{{caption|}}}</small>}}|}}<!-- |
| | -->}} |
| |- | | |- |
| ! width="50%" style="text-align: right; background: {{#switch: {{{country|Black Hole}}}|Orange Star={{cc-color|star|light}}|Blue Moon={{cc-color|moon|light}}|Green Earth={{cc-color|earth|light}}|Yellow Comet={{cc-color|comet|light}}|Black Hole={{cc-color|hole|light}}|Western Frontier={{cc-color|frontier |light}}|Tundran Territories={{cc-color|tundra|light}}|Solar Empire={{cc-color|solar|light}}|Anglo Isles={{cc-color|anglo|light}}|Xylvania={{cc-color|xylvania|light}}|Iron Legion={{cc-color|legion|light}}}}" | Commanding Officers:
| | {{#if:{{{color|}}}| |
| | style="background: #FFFFFF" | {{#switch: {{{#COs|1}}}|1=[[{{{CO1}}}]]|2=[[{{{CO1}}}]], [[{{{CO2}}}]]|3=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]]|4=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]], [[{{{CO4}}}]]|5=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]], [[{{{CO4}}}]], [[{{{CO5}}}]]|6=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]], [[{{{CO4}}}]], [[{{{CO5}}}]], [[{{{CO6}}}]]|7=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]], [[{{{CO4}}}]], [[{{{CO5}}}]], [[{{{CO6}}}]], [[{{{CO7}}}]]|8=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]], [[{{{CO4}}}]], [[{{{CO5}}}]], [[{{{CO6}}}]], [[{{{CO7}}}]], [[{{{CO8}}}]]|9=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]], [[{{{CO4}}}]], [[{{{CO5}}}]], [[{{{CO6}}}]], [[{{{CO7}}}]], [[{{{CO8}}}]], [[{{{CO9}}}]]|10=[[{{{CO1}}}]], [[{{{CO2}}}]], [[{{{CO3}}}]], [[{{{CO4}}}]], [[{{{CO5}}}]], [[{{{CO6}}}]], [[{{{CO7}}}]], [[{{{CO8}}}]], [[{{{CO9}}}]], [[{{{CO10}}}]]}}
| | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Color |
| | {{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{{color|}}}|}} |
| |- | | |- |
| ! style="text-align: right; background: {{#switch: {{{country|Black Hole}}}|Orange Star={{cc-color|star|light}}|Blue Moon={{cc-color|moon|light}}|Green Earth={{cc-color|earth|light}}|Yellow Comet={{cc-color|comet|light}}|Black Hole={{cc-color|hole|light}}|Western Frontier={{cc-color|frontier |light}}|Tundran Territories={{cc-color|tundra|light}}|Solar Empire={{cc-color|solar|light}}|Anglo Isles={{cc-color|anglo|light}}|Xylvania={{cc-color|xylvania|light}}|Iron Legion={{cc-color|legion|light}}}}; " | Appears in:
| | {{#if:{{{COs|}}}| |
| | style="background: #FFFFFF" | {{#switch: {{{#games|1}}}|1={{{game1}}}|2={{{game1}}}, <br> {{{game2}}}|3={{{game1}}}, <br> {{{game2}}}, <br> {{{game3}}}|4={{{game1}}}, <br> {{{game2}}}, <br> {{{game3}}}, <br> {{{game4}}}}}
| | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} [[Commanding Officer|COs]] |
| |}<noinclude> | | {{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{COs|}}}|}}|}} |
| {{-}}
| |
| ==Documentation==
| |
| {{CountryInfobox
| |
| |countrycolor=Frontier
| |
| |countryname=Western Frontier | |
| |imagename=Frontier_COs.jpg
| |
| |caption=The COs of the Western Frontier
| |
| |#COs=3
| |
| |CO1=General Herman
| |
| |CO2=Colonel Austin
| |
| |CO3=Brigadier Betty
| |
| |#games=2
| |
| |game1=Battalion Wars
| |
| |game2=Battalion Wars 2
| |
| }} | |
| | |
| {|
| |
| |- | | |- |
| !
| | {{#if:{{{members|}}}| |
| | | | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Members |
| <pre>
| | {{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{members|}}}|}}|}} |
| {{CountryInfobox | | |- |
| |countrycolor= | | {{#if:{{{military|}}}| |
| |countryname= | | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Military |
| |imagename= | | {{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{{military|}}}|}} |
| |caption= | | |- |
| |#COs= | | {{#if:{{{games|}}}| |
| |CO1= | | ! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Games |
| |CO2= | | {{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{games|}}}|}}|}} |
| |CO3= | | |}</includeonly><noinclude>{{Doc}}</noinclude> |
| |CO4= | |
| |CO5= | |
| |#games=
| |
| |game1= | |
| |game2= | |
| |game3= | |
| |game4= | |
| }} | |
| </pre> | |
| |}
| |
| | |
| * ''countrycolor'' - as it appears on "Template:(country) color"
| |
| * ''countryname'' - name of the article
| |
| * ''imagename'' - name of the relevant image ('''include file extension (.png, .jpg, ...)''')
| |
| * ''caption'' - enter a caption for the country image
| |
| * ''#COs'' - the number of Commanding Officers associated with that country (currently accepts up to 5)
| |
| * ''CO1, ... CO5'' - names of the COs
| |
| * ''#games'' - the number of different games that this country has appeared in (currently accepts up to 4)
| |
| * ''game1, ... game4'' - the names of each game where this country has appeared
| |
| | |
| [[Category:Infobox templates]]</noinclude>
| |