Difference between revisions of "Template:Squadron"
Template page
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.) |
m |
||
(2 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
{{!}} class="ibleft" {{!}} Unit | {{!}} class="ibleft" {{!}} Unit | ||
{{!}} class="ibright" {{!}} | {{!}} class="ibright" {{!}} | ||
{{{unit}}} }} | [[{{{unit}}}]] }} | ||
|- | |- | ||
{{#if:{{{taskforce|}}}| | {{#if:{{{taskforce|}}}| | ||
{{!}} 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" {{!}} [[{{{taskforce}}}#{{{taskgroup}}}|{{{taskgroup}}}]] }} | ||
[[{{{taskgroup}}}]] }} | |||
|- | |- | ||
{{#if:{{{flagship|}}}| | {{#if:{{{flagship|}}}| | ||
Line 60: | Line 58: | ||
|}</div> | |}</div> | ||
<includeonly> | <includeonly> | ||
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Squadrons]]{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}} | {{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Squadrons]]{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Latest revision as of 08:07, 2 January 2023
{{{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 | |
Task Force | Task Force 17 |
Task Group | Task Group 9 |
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 }}