Template:InfoboxFaction: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 2: | Line 2: | ||
<templatestyles src="Template:InfoboxFaction/styles.css" /> | <templatestyles src="Template:InfoboxFaction/styles.css" /> | ||
<table class="infobox"> | <table class="infobox"> | ||
<tr><th colspan="2" class="infobox-title">{{{name|Faction}}}</th></tr> | <tr><th colspan="2" class="infobox-title">{{{name|Faction}}}</th></tr><!-- | ||
{{#if:{{{image|}}}{{{ | |||
| | -->{{#if:{{{image|}}}|<tr><th colspan="2" class="infobox-image">[[File:{{{image}}}|250px|center|]]</th></tr>}}<!-- | ||
{{#if:{{{ | -->{{#if:{{{caption|}}}|<tr><th colspan="2" class="infobox-caption">{{{caption}}}</th></tr>}}<!-- | ||
{{#if:{{{ | |||
}} | -->{{#if:{{{aka|}}}|<tr><th colspan="2" class="infobox-header">General</th></tr><!-- | ||
{{#if:{{{type|}}}{{{capital|}}}{{{leader|}}} | -->{{#if:{{{aka|}}}|<tr><th class="infobox-label">Also known as</td><td>{{{aka}}}</td></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|}}}{{{capital|}}}{{{leader|}}}|<tr><th colspan="2" class="infobox-header">Governance</th></tr><!-- | ||
{{#if:{{{capital|}}}|<tr><th class="infobox-label">Capital</th><td>{{{capital}}}</td></tr>}} | -->{{#if:{{{type|}}}|<tr><th class="infobox-label">Type</td><td>{{{type}}}</td></tr>}}<!-- | ||
{{#if:{{{leader|}}}|<tr><th class="infobox-label">Leader</th><td>{{{leader}}}</td></tr>}} | -->{{#if:{{{capital|}}}|<tr><th class="infobox-label">Capital</th><td>{{{capital}}}</td></tr>}}<!-- | ||
-->{{#if:{{{leader|}}}|<tr><th class="infobox-label">Leader</th><td>{{{leader}}}</td></tr>}} | |||
}} | }} | ||
</table> | </table> | ||
| Line 20: | Line 21: | ||
| image = | | image = | ||
| caption = | | caption = | ||
| aka = Aliases | |||
| type = Kingdom/Empire/etc | | type = Kingdom/Empire/etc | ||
| capital = Name of City | | capital = Name of City | ||
| Line 25: | Line 27: | ||
}} | }} | ||
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 == | ||
| Line 31: | Line 35: | ||
| image = Emblem.png | | image = Emblem.png | ||
| caption = Image caption | | caption = Image caption | ||
| aka = | |||
| type = | | type = | ||
| capital = | | capital = | ||
| leader = | | leader = | ||
}}</pre></noinclude> | }}</pre></noinclude> | ||
Latest revision as of 15:27, 9 February 2026
| Faction Name | |
|---|---|
| General | |
| Also known as | Aliases |
| Governance | |
| Type | Kingdom/Empire/etc |
| Capital | Name of City |
| Leader | Name of Leader |
Use this template at the top of a page to insert a faction infobox.
TemplateStyles CSS: Template:InfoboxFaction/styles.css
Copy/Paste This
{{InfoboxFaction
| name = Faction Name
| image = Emblem.png
| caption = Image caption
| aka =
| type =
| capital =
| leader =
}}