Difference between revisions of "Template:Factioninfo"
From 30 Minute Missions: Wargame
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{FactionIcon|}}}| | <div class="infobox-title">{{{title|{{#if:{{{FactionName|}}}|{{{FactionName}}}|{{PAGENAME}}}}}}}</div>{{#if:{{{FactionIcon|}}}| | ||
<div class="infobox-image">[[File:{{{FactionIcon}}}|144px]]</div>}} | <div class="infobox-image">[[File:{{{FactionIcon}}}|144px]]</div>}} | ||
<table> | <table> | ||
Line 17: | Line 17: | ||
<th> Leader(s):</th> | <th> Leader(s):</th> | ||
<td> {{#if:{{{Leaders|}}}| {{{Leaders}}}| No Leader Listed}}</td></tr> | <td> {{#if:{{{Leaders|}}}| {{{Leaders}}}| No Leader Listed}}</td></tr> | ||
{{#if:{{{HQ|}}}| | |||
<th> HQ:</th> | <th> HQ:</th> | ||
<td> | <td> {{{HQ}}}}}</td></tr> | ||
</table> | </table> | ||
</div> | </div> | ||
Line 30: | Line 32: | ||
{{Factioninfo | {{Factioninfo | ||
| FactionName = | | FactionName = | ||
| FactionIcon = | | FactionIcon = Must be exactly 144px x144px | ||
| Motto = | | Motto = | ||
| ParentFaction = | | ParentFaction = | ||
Line 46: | Line 48: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>FactionName</td><td>This is the name of the faction | <td>FactionName</td><td>This is the name of the faction Should be fixed</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 66: | Line 68: | ||
<td>HQ</td><td>HQ location. User internal link if possible. If not just link a city or country. [Optional]</td> | <td>HQ</td><td>HQ location. User internal link if possible. If not just link a city or country. [Optional]</td> | ||
</tr> | </tr> | ||
<table> | </table> | ||
[[Category:Template]] [[Category:Factions]] | |||
</noinclude> | </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] |