Difference between revisions of "Template:Factioninfo"
From 30 Minute Missions: Wargame
Line 1: | Line 1: | ||
<div class="infobox"> | |||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{FactionIcon|}}}| | |||
<div class="infobox-image">[[File:{{{FactionIcon}}}|300px]]</div>}} | |||
<table> | |||
{{#if:{{{FactionIcon|}}}| | |||
}} | |||
{{#if:{{{Motto|}}}| | {{#if:{{{Motto|}}}| | ||
<th> Motto:</th> | |||
<td> {{{Motto}}}}}</td></tr> | |||
<tr> | |||
{{#if:{{{ParentFaction|}}}| | {{#if:{{{ParentFaction|}}}| | ||
<th> Parent Faction: | |||
</th><td> {{{ParentFaction}}}}}</td></tr> | |||
<tr> | |||
{{#if:{{{ActiveStatus|}}}| | {{#if:{{{ActiveStatus|}}}| | ||
<th> Active Status:</th> | |||
<td> {{{ActiveStatus}}}}}</td></tr> | |||
<tr> | |||
<th> Leader(s):</th> | |||
<td> {{#if:{{{Leaders:|}}}| {{{Leaders}}}| No Leader Listed}}</td></tr> | |||
<tr> | |||
<th> HQ:</th> | |||
<td> {{#if:{{{HQ|}}}| {{{HQ}}} | No Known Location}}</td></tr> | |||
</table> | |||
</div> | |||
</div> | |||
Line 41: | Line 39: | ||
FactionName can be ignored if the user wants to use the page name. | FactionName can be ignored if the user wants to use the page name. | ||
If FactionIcon isn't used or doesn't have data it will not populate in the table. | If FactionIcon isn't used or doesn't have data it will not populate in the table. |
Revision as of 11:08, 23 August 2021
Factioninfo
Leader(s): | No Leader Listed |
---|---|
HQ: | No Known Location |
Usage
This is a is how to use the template.
{{Factioninfo | FactionName = | FactionIcon = | Leaders = | HQ = | FactionInfo = | Company = }}
FactionName can be ignored if the user wants to use the page name.
If FactionIcon isn't used or doesn't have data it will not populate in the table.