Difference between revisions of "Template:Squadron"
Template page
m |
(Brining up to spec with PI) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<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}}}}} | {{#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 67: | Line 37: | ||
| seal = | | seal = | ||
| unit = | | unit = | ||
| taskforce = | | taskforce = | ||
| taskgroup = | | taskgroup = | ||
| flagship = | | flagship = | ||
| co = | | co = | ||
| xo = | | xo = | ||
| quadrant = | | quadrant = | ||
| headquarters = | |||
| mission = | | mission = | ||
}}</pre> | }} | ||
</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 | ||
Line 90: | Line 61: | ||
| quadrant = Beta Quadrant | | quadrant = Beta Quadrant | ||
| mission = Deep Space Exploration | | mission = Deep Space Exploration | ||
}} | }} | ||
<pre> | <pre> | ||
{{Squadron | {{Squadron | ||
Line 108: | Line 77: | ||
}} | }} | ||
</pre> | </pre> | ||
{{clear}} | {{clear}} | ||
[[Category:Infobox Templates]] | [[Category:Infobox Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 13:29, 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 }}