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
(Removing rounded corners in attempt to reduce server loads.) |
mNo edit summary |
||
(18 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly><templatestyles src="Template:Infobox style/styles.css"/> | |||
{| {{Infobox style|infobox|theme={{{theme|allies}}}|}} | |||
|- | |- | ||
! | ! {{Infobox style|infobox_title|theme={{{theme|allies}}}|}} | {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}{{#if:{{{JPchar|}}}|<br />'''{{{JPchar|}}}''' {{#if:{{{JPname|}}}|''{{{JPname|}}}''|}}|}} | ||
| | |- | ||
|}<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> |
Latest revision as of 18:56, 15 December 2023
This page has been transcluded from Template:Faction Infobox/doc.
This template uses TemplateStyles:
This infobox template provides basic information on a faction or country.
Usage[edit source]
Western Frontier | |
---|---|
The COs of the Western Frontier | |
COs | |
Games |
Code[edit source]
{{Faction Infobox |theme= |name= |logo= |image= |caption= |color= |COs= |military= |games= }}
Parameters[edit source]
- name - name of the faction
- image - name of the relevant image (include file extension (.png, .jpg, ...))
- caption - enter a caption for the country image
- COs - the names of the Commanding Officers associated with that faction
- games - the names of each game that this faction has appeared in