Difference between revisions of "Template:Factioninfo"
From 30 Minute Missions: Wargame
SamandChamps (talk | contribs) (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...") |
|||
Line 1: | Line 1: | ||
{| class="wikitable" style="float:right; margin-left: 10px;" | {| class="wikitable" style="float:right; margin-left: 10px;" | ||
|- | |- | ||
! colspan=2 style="text-align:center; font-size:150%;" |{{#if:{{{FactionName|}}} | {{{FactionName}}} | {{{PAGENAME}}}}}<noinclude>*Faction name here*</noinclude> | |||
{{#if:{{{FactionIcon|}}}|{{{!}}}- | |||
! Faction Icon | ! Faction Icon | ||
{{{!}}} {{{FactionIcon}}}<noinclude>*Faction Icon here*</noinclude>|}} | |||
|- | |- | ||
! Leader(s) | ! Leader(s) | ||
| *Name(s) | | {{{Leaders|}}}<noinclude>*Name(s)</noinclude> | ||
|- | |- | ||
! HQ | ! HQ | ||
| *Headquarters location* | | {{{HQ|}}}<noinclude>*Headquarters location*<noinclude> | ||
|} | |} | ||
==*Faction name here*== | =={{#if:{{{FactionName|}}} | {{{FactionName}}} | {{{PAGENAME|}}}}}<noinclude>*Faction name here*</noinclude>== | ||
{{{FactionInfo|}}} | |||
== | ==Child Groups== | ||
{{{Company|}}} | |||
<noinclude>== Usage == | |||
This is a is how to use the template. | |||
<pre> | |||
{{Factioninfo | |||
| FactionName = | |||
| FactionIcon = | |||
| Leaders = | |||
| HQ = | |||
| FactionInfo = | |||
| Company = | |||
}} | |||
</pre> | |||
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. |
Revision as of 21:47, 20 August 2021
{{{PAGENAME}}}*Faction name here* | |
---|---|
Leader(s) | *Name(s) |
HQ | *Headquarters location* |
*Faction name here*
Child Groups
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.