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:Faction Infobox: Difference between revisions

From Wars Wiki
m
no edit summary
mNo edit summary
mNo edit summary
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| align="right" style="background: #{{{{{countrycolor}}} color}}; margin-left: 10px; margin-bottom: 10px; {{roundy}}; border: 3px solid #{{{{{countrycolor}}} color dark}}; width: 25%"
<includeonly><templatestyles src="Template:Infobox style/styles.css"/>
|- align="center"
{| {{Infobox style|infobox|theme={{{theme|allies}}}|}}
| colspan="2" | <big><big><b>{{{countryname}}}</b></big></big>
|- align="center"
| colspan="2" style="background: #FFFFFF; {{roundy}}; padding: 10px;" | [[Image:{{{imagename}}}|{{{imagesize|120px}}}]]<br><small>{{{caption}}}</small>
|- align="center"
! width="50%" align="right" style="background: #{{{{{country}}} color light}}; {{roundyleft}};" | COs
| align="left" style="background: #FFFFFF; {{roundyright}};" | {{#switch: {{{#COs|1}}}|1=[[{{{CO1}}}]]|2=[[{{{CO1}}}]] <br> [[{{{CO2}}}]]|3=[[{{{CO1}}}]] <br> [[{{{CO2}}}]] <br> [[{{{CO3}}}]]|4=[[{{{CO1}}}]] <br> [[{{{CO2}}}]] <br> [[{{{CO3}}}]] <br> [[{{{CO4}}}]]|5=[[{{{CO1}}}]] <br> [[{{{CO2}}}]] <br> [[{{{CO3}}}]] <br> [[{{{CO4}}}]] <br> [[{{{CO5}}}]]}}
|-
|-
! width="50%" align="right" style="background: #{{{{{country}}} color light}}; {{roundyleft}};" | Games
! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}{{#if:{{{JPchar|}}}|<br />'''{{{JPchar|}}}''' {{#if:{{{JPname|}}}|''{{{JPname|}}}''|}}|}}
| align="left" style="background: #FFFFFF; {{roundyright}};" | {{#switch: {{{#games|1}}}|1=[[{{{game1}}}]]|2=[[{{{game1}}}]] <br> [[{{{game2}}}]]|3=[[{{{game1}}}]] <br> [[{{{game2}}}]] <br> [[{{{game3}}}]]|4=[[{{{game1}}}]] <br> [[{{{game2}}}]] <br> [[{{{game3}}}]] <br> [[{{{game4}}}]]}}
|-
|}<noinclude>[[Category:Infobox templates]]</noinclude>
{{#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>}}|}}<!--
-->}}
|-
{{#if:{{{color|}}}|
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Color
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{{color|}}}|}}
|-
{{#if:{{{COs|}}}|
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} [[Commanding Officer|COs]]
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{COs|}}}|}}|}}
|-
{{#if:{{{members|}}}|
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Members
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{members|}}}|}}|}}
|-
{{#if:{{{military|}}}|
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Military
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{{military|}}}|}}
|-
{{#if:{{{games|}}}|
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Games
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{games|}}}|}}|}}
|}</includeonly><noinclude>{{Doc}}</noinclude>
patroller
1,981

edits