Difference between revisions of "Template:Factioninfo"

From 30 Minute Missions: Wargame
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 46: Line 46:
</tr>
</tr>
<tr>
<tr>
<td>FactionName</td><td>This is the name of the faction (currently deprecated)</td>
<td>FactionName</td><td>This is the name of the faction Should be fixed</td>
</tr>
</tr>
<tr>
<tr>

Revision as of 20:00, 4 September 2021

Factioninfo
Leader(s): No Leader Listed
HQ: No Known Location


Usage

This is a is how to use the template.

{{Factioninfo
| FactionName = 
| FactionIcon =
| Motto =
| ParentFaction =
| ActiveStatus =
| Leaders = 
| HQ = 
}}

Parameters

ParameterExplanation
FactionNameThis is the name of the faction Should be fixed
FactionIconIcon of the faction. Use just the name . extension not the full method of referencing images. [Optional]
MottoFaction's motto [Optional]
ParentFactionLink to the faction higher in the hierarchy. Make sure to use the internal link to the page. [Optional]
ActiveStatus Active/Inactive [Optional]
LeadersLink to Leader's page. Use internal links and commas. [Optional]
HQHQ location. User internal link if possible. If not just link a city or country. [Optional]