Template:InfoboxFaction: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<templatestyles src="Template:InfoboxFaction/styles.css" /> | <templatestyles src="Template:InfoboxFaction/styles.css" /> | ||
<table class="infobox"> | <table class="infobox"> | ||
{{#if: {{{type|}}}{{{capital|}}}{{{leader|}}} | <tr><th colspan="2" class="infobox-title">{{{name|Faction}}}</th></tr> | ||
{{#if:{{{image|}}}{{{caption|}}} | |||
| | |||
{{#if:{{{image|}}}|<tr><td colspan="2" class="infobox-image">[[File:{{{image}}}|250px|center|]]</td></tr>}} | |||
{{#if:{{{caption|}}}|<tr><td colspan="2" class="infobox-caption">{{{caption}}}</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> | {{#if:{{{type|}}}|<tr><td>'''Type'''</td><td>{{{type}}}</td></tr>}} | ||
{{#if:{{{capital|}}}|<tr><td>'''Capital'''</td><td>{{{capital}}}</td></tr>}} | |||
{{#if:{{{leader|}}}|<tr><td>'''Leader'''</td><td>{{{leader}}}</td></tr>}} | |||
</tr>}} | |||
{{#if:{{{capital|}}}|<tr> | |||
</tr>}} | |||
{{#if:{{{leader|}}}|<tr> | |||
</tr>}} | |||
}} | }} | ||
</table> | </table> | ||
</includeonly><noinclude>{{InfoboxFaction | </includeonly><noinclude>{{InfoboxFaction | ||
| name = Faction Name | | name = Faction Name | ||
| image = | | image = | ||
| caption = | | caption = | ||
| type = Kingdom/Empire/etc | | type = Kingdom/Empire/etc | ||
| capital = Name of City | | capital = Name of City | ||
Revision as of 11:13, 5 January 2026
| Faction Name | |
|---|---|
| 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.
Copy/Paste This
{{InfoboxFaction
| name = Faction Name
| image = Emblem.png
| caption = Image caption
| type =
| capital =
| leader =
}}