Difference between revisions of "Template:Squadron"

Template page
m
 
(7 intermediate revisions by 2 users not shown)
Line 7: Line 7:
         {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
         {{!}} class="ibname" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} '''{{{name}}}'''
}}
}}
|-
{{#if:{{{unit|}}}|
{{!}} class="ibleft" {{!}} Unit
{{!}} class="ibright" {{!}}
[[{{{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 45: Line 48:
{{!}} class="ibleft" {{!}} Headquarters
{{!}} class="ibleft" {{!}} Headquarters
{{!}} class="ibright" {{!}}  
{{!}} class="ibright" {{!}}  
{{{headquarters}}} }}
[[{{{headquarters}}}]] }}
|-
|-
{{#if:{{{mission|}}}|
{{#if:{{{mission|}}}|
Line 55: Line 58:
|}</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 -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}}
}}
}}
</includeonly><noinclude>
</includeonly><noinclude>
Line 63: Line 66:
| name =  
| name =  
| seal =  
| seal =  
| taskforce =  
| unit =
| 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}}
==Example==
{{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
| templatemode = nocats
}}
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.'''
<pre>
{{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
}}
</pre>
{{clear}}
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</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

ArcturusSeal.png
Arcturus Squadron
Unit

Fourth Fleet Operations

Task Force Task Force 17
Task Group Task Group 9
Flagship

USS Arcturus

Leadership
Commander

VADM Elizabeth Hayden

Deputy Commander

CAPT Michael Lancaster

Assignment
Quadrant

Beta Quadrant

Headquarters

Deep Space 17

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
}}