Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Template:Faction Infobox: Difference between revisions

From Wars Wiki
m
no edit summary
(Updated infobox styling to use Infobox style template)
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><templatestyles src="Template:Infobox style/styles.css"/>
<includeonly><templatestyles src="Template:Infobox style/styles.css"/>
{| {{Infobox style|infobox|theme={{{country|allies}}}|}}
{| {{Infobox style|infobox|theme={{{theme|allies}}}|}}
|-
|-
! {{Infobox style|infobox_title|theme={{{country|allies}}}|}} | {{#if:{{{country|}}}|{{{country|}}}|{{PAGENAME}}}}
! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}{{#if:{{{JPchar|}}}|<br />'''{{{JPchar|}}}''' {{#if:{{{JPname|}}}|''{{{JPname|}}}''|}}|}}
|-
|-
<!-- Keeping this here so that infobox using the older parameters still work -->
{{#if:{{{logo|}}}{{{image|}}}|
{{#if:{{{imagename|}}}|
{{!}} {{Infobox style|infobox_image|theme={{{theme|allies}}}|}} {{!}} <!--
{{!}} {{Infobox style|infobox_image|theme={{{country|allies}}}|}} {{!}} [[File:{{{imagename}}}|{{{imagesize|120px}}}]]<br><small>{{{caption}}}</small>}}
-->{{#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:{{{logo|}}}|
{{#if:{{{members|}}}|
{{!}} {{Infobox style|infobox_image|theme={{{country|allies}}}|}} {{!}} <!--
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Members
  -->{{#if:{{{logo|}}}|<div style="padding: 6px; width: auto;">[[File:{{{logo|}}}|{{{logosize|80px}}}|center|Logo]]</div>|}}<!--
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{members|}}}|}}|}}
  -->{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{imagesize|300px}}}]]{{#if:{{{caption|}}}|<br /><small>''{{{caption|}}}''</small>}}|}}<!--
-->}}
|-
|-
! {{Infobox style|infobox_data_label|theme={{{country|allies}}}|}} | Commanding Officers
{{#if:{{{military|}}}|
| {{Infobox style|infobox_data_value|theme={{{country|allies}}}|}} | [[{{{CO1}}}]]<!--
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Military
-->{{#if:{{{CO2|}}}|, [[{{{CO2}}}]]}}<!--
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{{military|}}}|}}
-->{{#if:{{{CO3|}}}|, [[{{{CO3}}}]]}}<!--
-->{{#if:{{{CO4|}}}|, [[{{{CO4}}}]]}}<!--
-->{{#if:{{{CO5|}}}|, [[{{{CO5}}}]]}}<!--
-->{{#if:{{{CO6|}}}|, [[{{{CO6}}}]]}}<!--
-->{{#if:{{{CO7|}}}|, [[{{{CO7}}}]]}}<!--
-->{{#if:{{{CO8|}}}|, [[{{{CO8}}}]]}}<!--
-->{{#if:{{{CO9|}}}|, [[{{{CO9}}}]]}}<!--
-->{{#if:{{{CO10|}}}|, [[{{{CO10}}}]]}}
|-
|-
! {{Infobox style|infobox_data_label|theme={{{country|allies}}}|}} | Games
{{#if:{{{games|}}}|
| {{Infobox style|infobox_data_value|theme={{{country|allies}}}|}} | {{#if:{{{games|}}}|{{{games|}}}|}}{{#if:{{{game1|}}}|{{{game1}}}|}}<!--
! {{Infobox style|infobox_data_label|theme={{{theme|allies}}}|}} {{!}} Games
-->{{#if:{{{game2|}}}|<br>{{{game2}}}}}<!--
{{!}} {{Infobox style|infobox_data_value|theme={{{theme|allies}}}|}} {{!}} {{Plainlist|{{{games|}}}|}}|}}
-->{{#if:{{{game3|}}}|<br>{{{game3}}}}}<!--
-->{{#if:{{{game4|}}}|<br>{{{game4}}}}}
|}</includeonly><noinclude>{{Doc}}</noinclude>
|}</includeonly><noinclude>{{Doc}}</noinclude>
patroller
1,981

edits