Difference between revisions of "Template:Starship"
Template page
m |
m |
||
Line 1: | Line 1: | ||
<div class="infobox"> | <div class="infobox"> | ||
{| class="ibtable" align="right" cellpadding="3" cellspacing="0" | {| class="ibtable" align="right" cellpadding="3" cellspacing="0" style="vertical-align:top;" | ||
{{#if: {{{image|}}}| | {{#if: {{{image|}}}| | ||
{{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}} | {{!}} class="ibimage" colspan="2" style="border-top-right-radius: 13px; border-top-left-radius: 13px;" width="315px" {{!}} {{{image}}} | ||
Line 11: | Line 11: | ||
|- | |- | ||
{{#if: {{{registry|}}}| | {{#if: {{{registry|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Registry | ||
{{!}} class="ibright" {{!}} {{{registry}}} | {{!}} class="ibright" {{!}} {{{registry}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Class | ||
{{!}} class="ibright" {{!}} {{{class}}} | {{!}} class="ibright" {{!}} {{{class}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{affiliation|}}}| | {{#if: {{{affiliation|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Affiliation | ||
{{!}} class="ibright" {{!}} {{{affiliation}}} | {{!}} class="ibright" {{!}} {{{affiliation}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{status|}}}| | {{#if: {{{status|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Status | ||
{{!}} class="ibright" {{!}} {{{status}}} | {{!}} class="ibright" {{!}} {{{status}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{commissioned|}}}| | {{#if: {{{commissioned|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Commissioned | ||
{{!}} class="ibright" {{!}} {{{commissioned}}} | {{!}} class="ibright" {{!}} {{{commissioned}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{decommission|}}}| | {{#if: {{{decommission|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Decommissioned | ||
{{!}} class="ibright" {{!}} {{{decommission}}} | {{!}} class="ibright" {{!}} {{{decommission}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{destroyed|}}}| | {{#if: {{{destroyed|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Destroyed | ||
{{!}} class="ibright" {{!}} {{{destroyed}}} | {{!}} class="ibright" {{!}} {{{destroyed}}} | ||
}} | }} | ||
Line 48: | Line 48: | ||
|- | |- | ||
{{#if: {{{role|}}}| | {{#if: {{{role|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Role | ||
{{!}} class="ibright" {{!}} | {{!}} class="ibright" {{!}} {{{role}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{taskforce|}}}| | {{#if: {{{taskforce|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Task Force | ||
{{!}} class="ibright" {{!}} {{{taskforce}}} | {{!}} class="ibright" {{!}} {{{taskforce}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{quadrant|}}}| | {{#if: {{{quadrant|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Quadrant | ||
{{!}} class="ibright" {{!}} {{{quadrant}}} | {{!}} class="ibright" {{!}} {{{quadrant}}} | ||
}} | }} | ||
Line 67: | Line 67: | ||
|- | |- | ||
{{#if: {{{co|}}}| | {{#if: {{{co|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Commanding Officer | ||
{{!}} class="ibright" {{!}} {{{co}}} | {{!}} class="ibright" {{!}} {{{co}}} | ||
}} | }} | ||
|- | |- | ||
{{#if: {{{xo|}}}| | {{#if: {{{xo|}}}| | ||
{{!}} class="ibleft | {{!}} class="ibleft" {{!}} Executive Officer | ||
{{!}} class="ibright" {{!}} {{{xo}}} | {{!}} class="ibright" {{!}} {{{xo}}} | ||
}} | }} |
Revision as of 11:07, 11 June 2022
{{{prefix}}} {{{name}}} | |
Information | |
Assignment | |
Template:Starship |
Starship
This infobox exists for the purposes of providing a uniform and consistent method for displaying starship information on a wiki article. The code snippet below should be copied in it's entirety and set at the top of a page. For rows with no values, simply leave the line blank and it will not render in the final infobox.
Notes
- name - Just enter in the name, no need for formatting
- class - Just type in the class name, the infobox will do the rest
- co - his can be linked to a BFMS character page
- xo - This can be linked to a BFMS character page
{{Starship | name = (just put the name here) | prefix = (SS, USS, IKS etc) | image = | registry = | class = | affiliation = | status = (Active/Retired/NPC/Destroyed) | commission = | decommission = | destroyed = | taskforce = (only supply a task force for commands, games are not in task forces) | quadrant = | role = | co = | xo = | dedication = (image of ships dedication plague to be added here) }}
Example
USS Lollipop | |
Information | |
Class | Galaxy |
Affiliation | Starbase Kickass |
Status | A good ship. |
Assignment | |
Role | Imaginary |
Quadrant | Right behind you |
Personnel | |
Commanding Officer | Commander William T Riker |
Executive Officer | Also Riker, because there's two of them |
Template:Starship |
The following code produced the infobox to the right.
{{Starship | name = Lollipop | prefix = USS | image = [[file:Galaxyclass.png]] | registry = | class = Galaxy | affiliation = [[Starfleet]] | status = A good ship | commission = | decommission = | destroyed = | taskforce = | quadrant = Right behind you | role = Imaginary | co = Commander William T Riker | xo = Also Riker, because there's two of them }}