Difference between revisions of "Template:Starship"
Template page
(Update to bring the template in line with PortableInfobox) |
m |
||
(6 intermediate revisions by the same user not shown) | |||
Line 13: | Line 13: | ||
<data source="decommission"><label>Decommissioned</label><format>{{{decommission|}}}</format></data> | <data source="decommission"><label>Decommissioned</label><format>{{{decommission|}}}</format></data> | ||
<data source="destroyed"><label>Destroyed</label><format>{{{destroyed|}}}</format></data> | <data source="destroyed"><label>Destroyed</label><format>{{{destroyed|}}}</format></data> | ||
<header>Assignment</header> | <header>{{#if:{{{unit|}}}{{{taskforce|}}}{{{squadron|}}}{{{division|}}}{{{mothership|}}}{{{homeport|}}}{{{role|}}}|Assignment}}</header> | ||
<data source="unit"><label>Unit</label><format>[[{{{unit|}}}]]</format></data> | <data source="unit"><label>Unit</label><format>[[{{{unit|}}}]]</format></data> | ||
<data source="taskforce"><label>Task Force</label><format>[[{{{taskforce|}}}]]</format></data> | <data source="taskforce"><label>Task Force</label><format>[[{{{taskforce|}}}]]</format></data> | ||
Line 22: | Line 22: | ||
<data source="homeport"><label>Home Port</label><format>{{{homeport|}}}</format></data> | <data source="homeport"><label>Home Port</label><format>{{{homeport|}}}</format></data> | ||
<data source="role"><label>Role</label><format>{{{role|}}}</format></data> | <data source="role"><label>Role</label><format>{{{role|}}}</format></data> | ||
<header>Key Personnel</header> | <header>{{#if:{{{co|}}}{{{xo|}}}|Key Personnel}}</header> | ||
<data source="co"><label>Commanding Officer</label><format>{{{co|}}}</format></data> | <data source="co"><label>Commanding Officer</label><format>{{{co|}}}</format></data> | ||
<data source="xo"><label>Executive Officer</label></data> | <data source="xo"><label>Executive Officer</label><format>{{{xo|}}}</format></data> | ||
<image source="dedication"/> | <image source="dedication"/> | ||
<image source="seal"/> | |||
<header name="footer">[[Template:Starship]]</header> | <header name="footer">[[Template:Starship]]</header> | ||
</infobox> | </infobox> | ||
{{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starships]]{{#if: {{{class|}}}|[[Category:{{{class}}}-class]]}}{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}} | {{#if: {{{templatemode|}}}|<!-- do nothing -->|<!--else-->[[Category:Starships]]{{#if: {{{class|}}}|[[Category:{{{class}}}-class]]}}{{#if: {{{taskforce|}}}|[[Category:{{{taskforce}}}]]|<!-- do nothing -->}}{{#if: {{{unit|}}}|[[Category:{{{unit}}}]]|<!-- do nothing -->}}{{DEFAULTSORT:{{{name}}}}}}} | ||
}} | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
== | ==Starship== | ||
This infobox exists for the purpse of providing and uniform method for displaying starship information on a wiki article. The code snippet below should be copied in its entirety and set at the top of a new ship article page. For rows with no values, simply leave the line blank and it will not render in the final infobox. | This infobox exists for the purpse of providing and uniform method for displaying starship information on a wiki article. The code snippet below should be copied in its entirety and set at the top of a new ship article page. For rows with no values, simply leave the line blank and it will not render in the final infobox. | ||
Line 39: | Line 38: | ||
*Name - Just enter the starship's name here. No need for formattig. | *Name - Just enter the starship's name here. No need for formattig. | ||
*Class - Just type in the class name. No need for formatting. | *Class - Just type in the class name. No need for formatting. | ||
*CO - This should be linked for your BFMS character page | *CO - This should be linked for your BFMS character page. | ||
*XO - 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. | *Unit - This is only to be used by RPGs and ships belonging to BFSS members. Leave this blank. | ||
*Squadron - Only use this if your BFMS group command consists of 4 or more commands. Otherwise leave blank. | *Squadron - Only use this if your BFMS group command consists of 4 or more commands. Otherwise leave blank. | ||
Line 70: | Line 69: | ||
| xo = | | xo = | ||
| dedication = (image of ships dedication plague to be added here) | | dedication = (image of ships dedication plague to be added here) | ||
| seal = (use any seal image you may have. If you don't leave blank) | |||
}} | }} | ||
</pre> | </pre> | ||
Line 97: | Line 97: | ||
| xo = [[bfms char:90753|Commander Vilo Kendris]] | | xo = [[bfms char:90753|Commander Vilo Kendris]] | ||
| dedication = [[File:Atlantisplaque.png]] | | dedication = [[File:Atlantisplaque.png]] | ||
| seal = [[File:Harpyflight.png]] | |||
| templatemode = nocats | | templatemode = nocats | ||
}} | }} | ||
Line 123: | Line 124: | ||
| xo = [[bfms char:90753|Commander Vilo Kendris]] | | xo = [[bfms char:90753|Commander Vilo Kendris]] | ||
| dedication = [[File:Atlantisplaque.png]] | | dedication = [[File:Atlantisplaque.png]] | ||
| | | seal = [[File:Harpyflight.png]] | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 02:46, 15 November 2024
Starship
This infobox exists for the purpse of providing and uniform method for displaying starship information on a wiki article. The code snippet below should be copied in its entirety and set at the top of a new ship article page. For rows with no values, simply leave the line blank and it will not render in the final infobox.
Notes
- Name - Just enter the starship's name here. No need for formattig.
- Class - Just type in the class name. No need for formatting.
- 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.
- Squadron - Only use this if your BFMS group command consists of 4 or more commands. Otherwise leave blank.
- Division - Use this if your BFMS group command consists of 3 or less commands. Otherwise leave blank.
Code
{{Starship | name = (just put the name here) | prefix = (SS, USS, IKS etc) | image = | registry = | class = | type = (frigate, destroyer, cruiser etc etc. Consult class page if unsure or leave blank) | affiliation = | status = (Active/Retired/NPC/Destroyed) | commission = | decommission = | destroyed = | unit = (only for RPGs -- use Fourth Fleet Expeditionary Group) | taskforce = (only supply a task force for primary commands, RPGs are not in task forces) | taskgroup = (only supply a task force for primary commands, RPGs are not in task forces) | squadron = (Use this if your group command on BFMS consists of 4 or more commands) | division = (Use this if your group commend on BFMS consists of 3 or less commands) | mothership = (only for Aquarius escorts for their Odyssey motherships) | homeport = (only supply for station attached ships) | role = | co = | xo = | dedication = (image of ships dedication plague to be added here) | seal = (use any seal image you may have. If you don't leave blank) }}
Example
{{Starship | name = Atlantis | prefix = USS | image = [[File:Sovereign1.png]] | registry = NCC-90562 | class = Sovereign | type = explorer | affiliation = [[Starfleet]] | status = Active | commission = 2400 | decommission = | destroyed = | unit = | role = Deterrence Explorer | taskforce = Task Force 47 | taskgroup = Task Group 13 | squadron = Atlantis Squadron | division = | mothership = | homeport = | co = [[bfms_char:26791|Captain Tikva Theodoras]] | xo = [[bfms char:90753|Commander Vilo Kendris]] | dedication = [[File:Atlantisplaque.png]] | seal = [[File:Harpyflight.png]] }}