Difference between revisions of "Template:Squadron"
Template page
CrimsonTacit (talk | contribs) |
m (Automatic linking for taskforce, taskgroup and headquarters. Set taskforce up for category linking as well. Didn't do flagship just in of none USS flagships and didn't want to touch that can of worms just yet.) |
||
Line 16: | Line 16: | ||
{{!}} class="ibleft" {{!}} Task Force | {{!}} class="ibleft" {{!}} Task Force | ||
{{!}} class="ibright" {{!}} | {{!}} class="ibright" {{!}} | ||
{{{taskforce}}} }} | [[{{{taskforce}}}]] }} | ||
|- | |- | ||
{{#if:{{{taskgroup|}}}| | {{#if:{{{taskgroup|}}}| | ||
{{!}} class="ibleft" {{!}} Task Group | {{!}} class="ibleft" {{!}} Task Group | ||
{{!}} class="ibright" {{!}} | {{!}} class="ibright" {{!}} | ||
{{{taskgroup}}} }} | [[{{{taskgroup}}}]] }} | ||
|- | |- | ||
{{#if:{{{flagship|}}}| | {{#if:{{{flagship|}}}| | ||
Line 50: | Line 50: | ||
{{!}} class="ibleft" {{!}} Headquarters | {{!}} class="ibleft" {{!}} Headquarters | ||
{{!}} class="ibright" {{!}} | {{!}} class="ibright" {{!}} | ||
{{{headquarters}}} }} | [[{{{headquarters}}}]] }} | ||
|- | |- | ||
{{#if:{{{mission|}}}| | {{#if:{{{mission|}}}| | ||
Line 60: | Line 60: | ||
|}</div> | |}</div> | ||
<includeonly> | <includeonly> | ||
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Squadrons]]{{DEFAULTSORT:{{{name}}}}} | {{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Squadrons]]{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Line 69: | Line 69: | ||
| seal = | | seal = | ||
| unit = | | unit = | ||
| taskforce = | | taskforce = (type in the full task force for automatic linking ie Task Force 17) | ||
| taskgroup = | | taskgroup = | ||
| headquarters = | | headquarters = | ||
| flagship = | | flagship = | ||
| co = | | co = | ||
| xo = | | xo = | ||
| quadrant = | | quadrant = | ||
| mission = | | mission = | ||
}}</pre> | }}</pre> | ||
{{clear}} | {{clear}} | ||
Line 84: | Line 84: | ||
| seal = [[File:ArcturusSeal.png]] | | seal = [[File:ArcturusSeal.png]] | ||
| unit = Fourth Fleet Operations | | unit = Fourth Fleet Operations | ||
| taskforce = | | taskforce = Task Force 17 | ||
| taskgroup = | | taskgroup = Task Group 9 | ||
| headquarters = | | headquarters = Deep Space 17 | ||
| flagship = [[USS Arcturus|USS ''Arcturus'']] | | flagship = [[USS Arcturus|USS ''Arcturus'']] | ||
| co = [[bfms_char:15254|VADM Elizabeth Hayden]] | | co = [[bfms_char:15254|VADM Elizabeth Hayden]] | ||
Line 100: | Line 100: | ||
| seal = [[File:ArcturusSeal.png]] | | seal = [[File:ArcturusSeal.png]] | ||
| unit = Fourth Fleet Operations | | unit = Fourth Fleet Operations | ||
| taskforce = | | taskforce = Task Force 17 | ||
| taskgroup = | | taskgroup = Task Group 9 | ||
| headquarters = | | headquarters = Deep Space 17 | ||
| flagship = [[USS Arcturus|USS ''Arcturus'']] | | flagship = [[USS Arcturus|USS ''Arcturus'']] | ||
| co = [[bfms_char:15254|VADM Elizabeth Hayden]] | | co = [[bfms_char:15254|VADM Elizabeth Hayden]] |
Revision as of 03:58, 22 December 2022
{{{name}}} | |
Leadership | |
Assignment | |
Template:Squadron |
Squadron
{{Squadron | name = | seal = | unit = | taskforce = (type in the full task force for automatic linking ie Task Force 17) | taskgroup = | headquarters = | flagship = | co = | xo = | quadrant = | mission = }}
Example
Arcturus Squadron | |
Unit |
Fourth Fleet Operations |
Task Force | |
Task Group | |
Flagship | |
Leadership | |
Commander | |
Deputy Commander | |
Assignment | |
Quadrant |
Beta Quadrant |
Headquarters | |
Mission |
Deep Space Exploration |
Template:Squadron |
The following code produced the infobox to the right. Note: the only squadrons who will use the 'unit' item in practice are those assigned to the BFSS, as they aren't within task forces. All other squadrons should omit this field.
{{Squadron | name = Arcturus Squadron | seal = [[File:ArcturusSeal.png]] | unit = Fourth Fleet Operations | taskforce = Task Force 17 | taskgroup = Task Group 9 | headquarters = Deep Space 17 | flagship = [[USS Arcturus|USS ''Arcturus'']] | co = [[bfms_char:15254|VADM Elizabeth Hayden]] | xo = [[bfms_char:14961|CAPT Michael Lancaster]] | quadrant = Beta Quadrant | mission = Deep Space Exploration }}