Template:InfoboxFaction: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 8: | Line 8: | ||
{{#if:{{{caption|}}}|<tr><th colspan="2" class="infobox-caption">{{{caption}}}</th></tr>}} | {{#if:{{{caption|}}}|<tr><th colspan="2" class="infobox-caption">{{{caption}}}</th></tr>}} | ||
}} | }} | ||
{{#if:{{{aka|}}}{{{type|}}}{{{capital|}}}{{{leader|}}} | {{#if:{{{aka|}}} | ||
| | |||
<tr><th colspan="2" class="infobox-header">General</th></tr> | |||
{{#if:{{{aka|}}}|<tr><th class="infobox-label">Also known as</td><td>{{{aka}}}</td></tr>}} | |||
}} | |||
{{#if:{{{type|}}}{{{capital|}}}{{{leader|}}} | |||
| | | | ||
<tr><th colspan="2" class="infobox-header">Governance</th></tr> | <tr><th colspan="2" class="infobox-header">Governance</th></tr> | ||
{{#if:{{{type|}}}|<tr><th class="infobox-label">Type</td><td>{{{type}}}</td></tr>}} | {{#if:{{{type|}}}|<tr><th class="infobox-label">Type</td><td>{{{type}}}</td></tr>}} | ||
{{#if:{{{capital|}}}|<tr><th class="infobox-label">Capital</th><td>{{{capital}}}</td></tr>}} | {{#if:{{{capital|}}}|<tr><th class="infobox-label">Capital</th><td>{{{capital}}}</td></tr>}} | ||
| Line 27: | Line 31: | ||
}} | }} | ||
Use this template at the top of a page to insert a faction infobox. | Use this template at the top of a page to insert a faction infobox. | ||
TemplateStyles CSS: [[Template:{{PAGENAME}}/styles.css]] | |||
== Copy/Paste This == | == Copy/Paste This == | ||