Difference between revisions of "Template:Starship"

Template page
m
 
(66 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="infobox">
<includeonly>
{| width="315" align="right" cellpadding="3" cellspacing="0" style="border-radius:13px;margin-bottom:0;padding-left:10px;"
<infobox theme="bravo">
{{#if: {{{image|}}}|
<title source="name">
{{!}} colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-top-right-radius: 13px; border-top-left-radius: 13px; background: #f3f3f3 !important; color: #cccccc; font-size:smaller; text-align: center;padding: 10px;"}}} {{!}} {{{image}}} }}
<default>{{PAGENAME}}</default><format>'''{{{prefix|}}}''' '''''{{{name|}}}'''''</format>
|-
</title>
| colspan="2" style="text-align: center; color: #e5e5ed; font-size:larger; background-color:#304665 !important; text-align:center;padding: .3rem 1.25rem;" | '''{{{prefix}}}''' '''''{{{name}}}'''''
<image source="image"/>
|-
<header>General Information</header>
| colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt; padding: 6px" | '''Information'''
<data source="registry"><label>Registry</label><format>{{{registry|}}}</format></data>
|-
<data source="class"><label>Class & Type</label><format>[[{{{class}}} Class|''{{{class}}}''-class {{{type}}}]]</format></data>
{{#if: {{{registry|}}}|
<data source="affiliation"><label>Affiliation</label><format>{{{affiliation|}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Registry
<data source="status"><label>Status</label><format>{{{status|}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="commission"><label>Commissioned</label><format>{{{commission|}}}</format></data>
{{{registry}}} }}
<data source="decommission"><label>Decommissioned</label><format>{{{decommission|}}}</format></data>
|-
<data source="destroyed"><label>Destroyed</label><format>{{{destroyed|}}}</format></data>
{{#if: {{{class|}}}|
<header>{{#if:{{{unit|}}}{{{taskforce|}}}{{{squadron|}}}{{{division|}}}{{{mothership|}}}{{{homeport|}}}{{{role|}}}|Assignment}}</header>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Class
<data source="unit"><label>Unit</label><format>[[{{{unit|}}}]]</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="taskforce"><label>Task Force</label><format>[[{{{taskforce|}}}]]</format></data>
[[{{{class}}}_Class|''{{{class}}}''-class]] }}
<data source="taskgroup"><label>Task Group</label><format>[[{{{taskforce|}}}#{{{taskgroup|}}}|{{{taskgroup|}}}]]</format></data>
|-
<data source="squadron"><label>Squadron</label><format>[[{{{squadron|}}}]]</format></data>
{{#if: {{{affiliation|}}}|
<data source="division"><label>Division</label><format>{{#if:{{{squadron|}}}|[[{{{squadron|}}}#{{{division|}}}|{{{division|}}}]]|[[{{{division|}}}]]}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Affiliation
<data source="mothership"><label>Mothership</label><format>{{{mothership|}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<data source="homeport"><label>Home Port</label><format>{{{homeport|}}}</format></data>
{{{affiliation}}} }}
<data source="role"><label>Role</label><format>{{{role|}}}</format></data>
|-
<header>{{#if:{{{co|}}}{{{xo|}}}|Key Personnel}}</header>
{{#if: {{{status|}}}|
<data source="co"><label>Commanding Officer</label><format>{{{co|}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Status
<data source="xo"><label>Executive Officer</label><format>{{{xo|}}}</format></data>
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
<image source="dedication"/>
{{{status}}} }}
<image source="seal"/>
|-
<header name="footer">[[Template:Starship]]</header>
{{#if: {{{commission|}}}|
</infobox>
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Commissioned
{{#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}}}}}
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
}}
{{{commission}}} }}
 
|-
</includeonly>
{{#if: {{{decommission|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Decommissioned
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{decommission}}} }}
|-
{{#if: {{{destroyed|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Destroyed
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{destroyed}}} }}
|-
{{#if: {{{role|}}}{{{taskforce|}}}{{{quadrant|}}}|  
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} '''Assignment'''
}}
|-
{{#if: {{{role|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Role
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{role}}} }}
|-
{{#if: {{{taskforce|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Task Force
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{taskforce}}} }}
|-
{{#if: {{{quadrant|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Quadrant
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{quadrant}}} }}
|-
{{#if: {{{co|}}}{{{crew|}}}
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} '''Personnel'''
}}
|-
{{#if: {{{co|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Commanding Officer
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{co}}} }}
|-
{{#if: {{{xo|}}}|
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #e0e0e0; padding:8px 10px; color: #696969; font-size:smaller; width:40%;"}}} {{!}} Executive Officer
{{!}} bgcolor={{{bgcolor_value|#2B2B2B; style="background: #ececec; padding:8px 10px; color: #696969; font-size:smaller; width:60%;"}}} {{!}}
{{{xo}}} }}
|-
{{#if: {{{dedication|}}}|
{{!}} colspan="2" style="text-align: center; color: #e5e5ed; background-color:#2a4667c9; text-align:center; font-size:8pt;padding: 6px" {{!}} {{{dedication}}}
}}
|-
|- class="infobox-link" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|colspan="2" style="border-bottom-right-radius: 13px; border-bottom-left-radius: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#2a4667c9; text-align:center;padding: 6px 0;" | [[Template:Starship]]
|}</div>
<includeonly>{{user other | |[[Category:Starships]][[Category:{{{class}}}-class]]}}</includeonly>
<noinclude>
<noinclude>
<br clear=all>
==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==
<pre>
<pre>
{{Starship
{{Starship
| name =  
| name = (just put the name here)
| prefix =  
| prefix = (SS, USS, IKS etc)
| image =  
| image =  
| registry =  
| registry =  
| class =  
| class =  
| type = (frigate, destroyer, cruiser etc etc. Consult class page if unsure or leave blank)
| affiliation =  
| affiliation =  
| status = (Active/Retired/NPC/Destroyed)
| status = (Active/Retired/NPC/Destroyed)
| commission =  
| commission =  
| decommission =  
| decommission =  
| destroyed =  
| destroyed =
| taskforce =  
| unit = (only for RPGs -- use Fourth Fleet Expeditionary Group)
| quadrant =  
| taskforce = (only supply a task force for primary commands, RPGs are not in task forces)
| role =  
| 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 =  
| co =  
| xo =  
| xo =  
| dedication =  
| dedication = (image of ships dedication plague to be added here)
}}</pre>
| seal = (use any seal image you may have. If you don't leave blank)
}}
</pre>
 
==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]]
| templatemode = nocats
}}
<pre>
{{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]]
}}
</pre>
 


{{clear}}
[[Category:Infobox Templates]]
[[Category:Infobox Templates]]
</noinclude>
</noinclude>

Latest revision as of 05:28, 22 October 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]]
}}