Difference between revisions of "Template:Factioninfo"
From 30 Minute Missions: Wargame
(13 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | |||
<div class="infobox-title">{{{title|{{#if:{{{FactionName|}}}|{{{FactionName}}}|{{PAGENAME}}}}}}}</div>{{#if:{{{FactionIcon|}}}| | |||
<div class="infobox-image">[[File:{{{FactionIcon}}}|144px]]</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> | |||
{{#if:{{{HQ|}}}| | |||
<th> HQ:</th> | |||
<td> {{{HQ}}}}}</td></tr> | |||
</table> | |||
</div> | |||
</div> | |||
Line 32: | Line 32: | ||
{{Factioninfo | {{Factioninfo | ||
| FactionName = | | FactionName = | ||
| FactionIcon = | | FactionIcon = Must be exactly 144px x144px | ||
| Motto = | |||
| ParentFaction = | |||
| ActiveStatus = | |||
| Leaders = | | Leaders = | ||
| HQ = | | HQ = | ||
}} | }} | ||
</pre> | </pre> | ||
FactionName | == Parameters == | ||
If | |||
<table class="wikitable"> | |||
<tr> | |||
<th>Parameter</th><th>Explanation</th> | |||
</tr> | |||
<tr> | |||
<td>FactionName</td><td>This is the name of the faction Should be fixed</td> | |||
</tr> | |||
<tr> | |||
<td>FactionIcon</td><td>Icon of the faction. Use just the name . extension not the full method of referencing images. [Optional]</td> | |||
</tr> | |||
<tr> | |||
<td>Motto</td><td>Faction's motto [Optional]</td> | |||
</tr> | |||
<tr> | |||
<td>ParentFaction</td><td>Link to the faction higher in the hierarchy. Make sure to use the internal link to the page. [Optional]</td> | |||
</tr> | |||
<tr> | |||
<td>ActiveStatus</td><td> Active/Inactive [Optional]</td> | |||
</tr> | |||
<tr> | |||
<td>Leaders</td><td>Link to Leader's page. Use internal links and commas. [Optional]</td> | |||
</tr> | |||
<tr> | |||
<td>HQ</td><td>HQ location. User internal link if possible. If not just link a city or country. [Optional]</td> | |||
</tr> | |||
</table> | |||
[[Category:Template]] [[Category:Factions]] | |||
</noinclude> |
Latest revision as of 19:20, 13 September 2021
Factioninfo
Leader(s): | No Leader Listed |
---|
Usage
This is a is how to use the template.
{{Factioninfo | FactionName = | FactionIcon = Must be exactly 144px x144px | Motto = | ParentFaction = | ActiveStatus = | Leaders = | HQ = }}
Parameters
Parameter | Explanation |
---|---|
FactionName | This is the name of the faction Should be fixed |
FactionIcon | Icon of the faction. Use just the name . extension not the full method of referencing images. [Optional] |
Motto | Faction's motto [Optional] |
ParentFaction | Link to the faction higher in the hierarchy. Make sure to use the internal link to the page. [Optional] |
ActiveStatus | Active/Inactive [Optional] |
Leaders | Link to Leader's page. Use internal links and commas. [Optional] |
HQ | HQ location. User internal link if possible. If not just link a city or country. [Optional] |