Difference between revisions of "Template:SquadInfo"
From 30 Minute Missions: Wargame
(→Usage) |
|||
(8 intermediate revisions by 2 users not shown) | |||
Line 12: | Line 12: | ||
{{{Units|}}} | {{{Units|}}} | ||
}} | }} | ||
__NOTOC__ | |||
<br></br> | <br></br> | ||
{{#switch:{{{Category|}}} | |||
|Earth Alliance = [[Category:Earth Alliance]] | |||
|Byron Army = [[Category:Byron Army]] | |||
|Maxion Army = [[Category:Maxion Army]] | |||
|Freelancer = [[Category:Freelancer ]] | |||
|Warmonger = [[Category:Warmonger]] | |||
|Peace Maker = [[Category:Peace Maker]] | |||
| #default = [[Category:Needs Revision]] | |||
}} | |||
{{Sidebar}} | {{Sidebar}} | ||
[[Category:Squads | [[Category:Squads]] | ||
<noinclude> | <noinclude> | ||
Line 37: | Line 45: | ||
| UnitTitle = | | UnitTitle = | ||
| Units = | | Units = | ||
{{UnitInfoSmall | |||
[ | | PilotName = [Pilot Name] | ||
| PilotInfo = [Basic Pilot Info] | |||
| UnitName1 = [Unit Name] | |||
: | | UnitInfo1 = [Basic Unit 1 Info] | ||
| UnitName2 = | |||
| UnitInfo2 = [Basic Unit 2 Info] | |||
| UnitName3 = | |||
| UnitInfo3 = [Basic Unit 3 Info] | |||
| PilotImg = File:Standin prople.png | |||
| PilotCaption = Caption | |||
| UnitImg1 = File:SI3.jpg | |||
| UnitImg2 = | |||
| UnitImg3 = | |||
| UnitCaption1 = Unit Caption | |||
| UnitCaption2 = | |||
| UnitCaption3 = | |||
}} | |||
| Category = | |||
}} | }} | ||
</pre> | </pre> | ||
Line 83: | Line 104: | ||
<tr> | <tr> | ||
<td>Units</td><td>This is the list of Units that belong to the Squad.</td> | <td>Units</td><td>This is the list of Units that belong to the Squad.</td> | ||
</tr> | |||
<tr> | |||
<td>Category</td><td>The Squad's highest parent faction. May only be one of the following: Earth Alliance, Byron Army, Maxion Army, Freelancer, Warmonger, & Peace Maker . If something else is chosen or they are not written correctly it will default to a Needs Revision.</td> | |||
</tr> | </tr> | ||
<table> | <table> | ||
</noinclude> | </noinclude> |
Latest revision as of 23:11, 20 September 2021
SquadInfo
Leader(s): | No Leader Listed |
---|
Factions | |||
---|---|---|---|
Earth Alliance | Byron Army | Maxion Army | |
Freelancer | Peace Maker | Warmonger |
Usage
Copy and Paste the Info below to a new Division Page. Replace "Company #" with the linked names to the company pages.
{{ SquadInfo | FactionName = | FactionIcon = | Motto = | ParentFaction = | ActiveStatus = | Leaders = | General = | UnitTitle = | Units = {{UnitInfoSmall | PilotName = [Pilot Name] | PilotInfo = [Basic Pilot Info] | UnitName1 = [Unit Name] | UnitInfo1 = [Basic Unit 1 Info] | UnitName2 = | UnitInfo2 = [Basic Unit 2 Info] | UnitName3 = | UnitInfo3 = [Basic Unit 3 Info] | PilotImg = File:Standin prople.png | PilotCaption = Caption | UnitImg1 = File:SI3.jpg | UnitImg2 = | UnitImg3 = | UnitCaption1 = Unit Caption | UnitCaption2 = | UnitCaption3 = }} | Category = }}
Parameters
Parameter | Explanation |
---|---|
FactionName | This is the name of the faction. If empty, it takes the page name for title of the sidebar. |
FactionIcon | Icon of the faction. Use just the name . extension not the full method of referencing images. Ex pants.jpg [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] |
General | This is the body of the page, put everything besides the sub-division information here. |
UnitTitle | Put anything it will cause Units to show up. |
Units | This is the list of Units that belong to the Squad. |
Category | The Squad's highest parent faction. May only be one of the following: Earth Alliance, Byron Army, Maxion Army, Freelancer, Warmonger, & Peace Maker . If something else is chosen or they are not written correctly it will default to a Needs Revision. |