Difference between revisions of "Template:Factioninfo"

From 30 Minute Missions: Wargame
(Created page with "{| class="wikitable" style="float:right; margin-left: 10px;" ! Name: | *Faction name here* |- ! Faction Icon | *Faction Icon here* |- ! Leader(s) | *Name(s) |- ! HQ | *Headqua...")
 
 
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="wikitable" style="float:right; margin-left: 10px;"
<div class="infobox">
! Name:
<div class="infobox-title">{{{title|{{#if:{{{FactionName|}}}|{{{FactionName}}}|{{PAGENAME}}}}}}}</div>{{#if:{{{FactionIcon|}}}|
| *Faction name here*
<div class="infobox-image">[[File:{{{FactionIcon}}}|144px]]</div>}}
|-
<table>
! Faction Icon
{{#if:{{{Motto|}}}|
| *Faction Icon here*
<th> Motto:</th>
|-
<td> {{{Motto}}}}}</td></tr>
! Leader(s)
<tr>
| *Name(s)
{{#if:{{{ParentFaction|}}}|
|-
<th> Parent Faction:
! HQ
</th><td> {{{ParentFaction}}}}}</td></tr>
| *Headquarters location*
<tr>
|}
{{#if:{{{ActiveStatus|}}}|
<th> Active Status:</th>
<td> {{{ActiveStatus}}}}}</td></tr>
<tr>
<th> Leader(s):</th>
<td> {{#if:{{{Leaders|}}}| {{{Leaders}}}| No Leader Listed}}</td></tr>


==*Faction name here*==
{{#if:{{{HQ|}}}|
<th> HQ:</th>
<td> {{{HQ}}}}}</td></tr>


Faction info here
</table>
</div>
</div>




==Battalion / Houses==
<noinclude>== Usage ==
This is a  is how to use the template.
<pre>
{{Factioninfo
| FactionName =
| FactionIcon = Must be exactly 144px x144px
| Motto =
| ParentFaction =
| ActiveStatus =
| Leaders =  
| HQ =  
}}
</pre>


== Parameters ==


*[[Company / Sub-house]]
<table class="wikitable">
*[[Company / Sub-house]]
<tr>
*[[Company / Sub-house]]
<th>Parameter</th><th>Explanation</th>
*[[Company / Sub-house]]
</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

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]