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={{{ | {| {{Infobox style|infobox|theme={{{theme|allies}}}|}} | ||
|- | |- | ||
! {{Infobox style|infobox_title|theme={{{ | ! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}{{#if:{{{JPchar|}}}|<br />'''{{{JPchar|}}}''' {{#if:{{{JPname|}}}|''{{{JPname|}}}''|}}|}} | ||
|- | |- | ||
{{#if:{{{logo|}}}{{{image|}}}| | |||
{{#if:{{{ | {{!}} {{Infobox style|infobox_image|theme={{{theme|allies}}}|}} {{!}} <!-- | ||
{{!}} {{Infobox style|infobox_image|theme={{{ | -->{{#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:{{{ | {{#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> | |}</includeonly><noinclude>{{Doc}}</noinclude> |