Difference between revisions of "Template:Squadron"

Template page
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="infobox">
{| class="ibtable" align="right" cellpadding="3" cellspacing="0"
{{#if: {{{seal|}}}|
    {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{seal}}}
    {{!}}-
    {{!}} class="ibname" colspan="2" {{!}} '''{{{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|}}}|
{{!}} class="ibleft" {{!}} Task Force
{{!}} class="ibright" {{!}}
{{{taskforce}}} }}
|-
{{#if:{{{taskgroup|}}}|
{{!}} class="ibleft" {{!}} Task Group
{{!}} class="ibright" {{!}}
{{{taskgroup}}} }}
|-
{{#if:{{{flagship|}}}|
{{!}} class="ibleft" {{!}} Flagship
{{!}} class="ibright" {{!}}
{{{flagship}}} }}
|-
| class="ibheader" colspan="2" | '''Leadership'''
|-
{{#if:{{{co|}}}|
{{!}} class="ibleft" {{!}} Commander
{{!}} class="ibright" {{!}}
{{{co}}} }}
|-
{{#if:{{{xo|}}}|
{{!}} class="ibleft" {{!}} Deputy Commander
{{!}} class="ibright" {{!}}
{{{xo}}} }}
|-
| class="ibheader" colspan="2" | '''Assignment'''
|-
{{#if:{{{quadrant|}}}|
{{!}} class="ibleft" {{!}} Quadrant
{{!}} class="ibright" {{!}}
{{{quadrant}}} }}
|-
{{#if:{{{headquarters|}}}|
{{!}} class="ibleft" {{!}} Headquarters
{{!}} class="ibright" {{!}}
{{{headquarters}}} }}
|-
{{#if:{{{mission|}}}|
{{!}} class="ibleft" {{!}} Mission
{{!}} class="ibright" {{!}}
{{{mission}}} }}
|-
| class="ibheader" colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px;" | [[Template:Squadron]]
|}</div>
<includeonly>
<includeonly>
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Squadrons]]{{DEFAULTSORT:{{{name}}}}}
<infobox theme="bravopadded">
<image source="seal"/>
<title source="name">
<default>{{PAGENAME}}</default><format>'''{{{name|}}}'''</format>
</title>
<data source="unit"><label>Unit</label><format>[[{{{unit|}}}]]</format></data>
<data source="taskforce"><label>Task Force</label><format>[[{{{taskforce|}}}]]</format></data>
<data source="taskgroup"><label>Task Group</label><format>[[{{{taskforce|}}}#{{{taskgroup|}}}|{{{taskgroup|}}}]]</format></data>
<data source="flagship"><label>Flagship</label></data>
<header>Leadership</header>
<data source="co"><label>Commanding Officer</label></data>
<data source="xo"><label>Executive Officer</label></data>
<header>Assignment</header>
<data source="quadrant"><label>Quadrant</label><format>[[{{{quadrant|}}}]]</format></data>
<data source="headquarters"><label>Status</label><format>[[{{{headquarters|}}}]]</format></data>
<data source="mission"><label>Mission</label></data>
<header name="footer">[[Template:Squadron]]</header>
</infobox>
{{#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>
==Squadron==
==Squadron==
This infobox exists for the purpse of providing and uniform method for displaying squadron information. The code snippet below should be copied in its entirety and set at the top of a new article. For rows with no values, simply leave the line blank and it will not render in the final infobox.
==Notes==
*Name - Just enter the squadron's name here. No need for formattig.
*CO - This should be linked for your BFMS character page.
*XO - This should be linked for your BFMS character page.
*Unit - This is only to be used by RPGs and ships belonging to BFSS members. Leave this blank.
==Code==
<pre>
<pre>
{{Squadron
{{Squadron
Line 71: Line 39:
| taskforce =  
| taskforce =  
| taskgroup =  
| taskgroup =  
| headquarters =
| flagship =  
| flagship =
| co =  
| co =
| xo =  
| xo =
| quadrant =
| quadrant =
| headquarters =  
| mission =
| mission =  
}}</pre>
}}
{{clear}}
</pre>
 
==Example==
==Example==
{{Squadron
{{Squadron
| name = Arcturus Squadron
| name = Arcturus Squadron
| seal = [[File:ArcturusSeal.png]]
| seal = [[File:ArcturusSeal.png|200px]]
| unit = Fourth Fleet Operations
| unit = Fourth Fleet Operations
| taskforce = [[Task Force 17]]
| taskforce = Task Force 17
| taskgroup = [[Task Group 9]]
| taskgroup = Task Group 9
| headquarters = [[Deep Space 17]]
| 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 94: Line 63:
| templatemode = nocats
| 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>
<pre>
{{Squadron
{{Squadron
Line 100: Line 68:
| seal = [[File:ArcturusSeal.png]]
| seal = [[File:ArcturusSeal.png]]
| unit = Fourth Fleet Operations
| unit = Fourth Fleet Operations
| taskforce = [[Task Force 17]]
| taskforce = Task Force 17
| taskgroup = [[Task Group 9]]
| taskgroup = Task Group 9
| headquarters = [[Deep Space 17]]
| 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 110: Line 78:
}}
}}
</pre>
</pre>
{{clear}}
{{clear}}
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 13:30, 25 May 2024


Squadron

This infobox exists for the purpse of providing and uniform method for displaying squadron information. The code snippet below should be copied in its entirety and set at the top of a new article. For rows with no values, simply leave the line blank and it will not render in the final infobox.

Notes

  • Name - Just enter the squadron's name here. No need for formattig.
  • CO - This should be linked for your BFMS character page.
  • XO - This should be linked for your BFMS character page.
  • Unit - This is only to be used by RPGs and ships belonging to BFSS members. Leave this blank.

Code

{{Squadron
| name = 
| seal = 
| unit = 
| taskforce = 
| taskgroup = 
| flagship = 
| co = 
| xo = 
| quadrant = 
| headquarters = 
| mission = 
}}

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