Difference between revisions of "Template:Squadron"

Template page
m
 
(14 intermediate revisions by 3 users 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:{{{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>{{#if:{{{co|}}}{{{xo|}}}|Leadership}}</header>
<data source="co"><label>Commanding Officer</label></data>
<data source="xo"><label>Executive Officer</label></data>
<header>{{#if:{{{headquarters|}}}{{{mission|}}}|Assignment}}</header>
<data source="headquarters"><label>Headquarters</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
| name =  
| name =  
| seal =  
| seal =  
| unit =
| taskforce =  
| taskforce =  
| taskgroup =  
| taskgroup =  
| headquarters =
| flagship =
| flagship =
| co =
| co =
| xo =
| xo =
| headquarters =
| quadrant =
| mission =
| mission =
}}
}}</pre>
</pre>
 
==Example==
{{Squadron
| name = Arcturus Squadron
| seal = [[File:ArcturusSeal.png|200px]]
| 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]]
| mission = Deep Space Exploration
| templatemode = nocats
}}
<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]]
| mission = Deep Space Exploration
}}
</pre>
 
 
{{clear}}
{{clear}}
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 11:27, 23 August 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 = 
| 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]]
| mission = Deep Space Exploration
}}