Difference between revisions of "Template:StarshipTest2"
Template page
Line 17: | Line 17: | ||
{{#if: {{{class|}}}| | {{#if: {{{class|}}}| | ||
{{!}} class="ibleft" {{!}} Class | {{!}} class="ibleft" {{!}} Class | ||
{{!}} class="ibright" {{!}} {{{class}}} | {{!}} class="ibright" {{!}} [[{{{class}}} Class|''{{class}}''-class dohickey]] | ||
}} | }} | ||
|- | |- | ||
Line 170: | Line 170: | ||
The following code produced the infobox to the right. | The following code produced the infobox to the right. | ||
<pre> | <pre> | ||
{{ | {{StarshipTest2 | ||
| name = Lollipop | | name = Lollipop | ||
| prefix = USS | | prefix = USS |
Revision as of 22:59, 21 December 2022
{{{prefix}}} {{{name}}} | |
General 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 - This can be linked to a BFMS character page
- xo - This can be linked to a BFMS character page
- unit - Only use for RPGs--use Fourth Fleet Expeditionary Group
- squadron - only use as applicable
{{Starship | name = (just put the name here) | prefix = (SS, USS, IKS etc) | image = | registry = | class = | affiliation = | status = (Active/Retired/NPC/Destroyed) | commission = | decommission = | destroyed = | unit = (only for RPGs -- use Fourth Fleet Expeditionary Group) | mothership = (only for Aquarius escorts for their Odyssey motherships) | homeport = (only supply for station attached ships) | taskforce = (only supply a task force for primary/squadron commands, RPGs are not in task forces) | taskgroup = (only supply a task force for primary/squadron commands, RPGs are not in task forces) | squadron = (only supply a squadron if you have a squadron) | quadrant = | role = | co = | xo = | dedication = (image of ships dedication plague to be added here) }}
Example
USS Lollipop | |
General Information | |
Class & Type | Galaxy-class |
Affiliation | Starbase Kickass |
Status | A good ship. |
Commissioned | It's just been commissioned. |
Assignment | |
Role | Imaginary |
Key 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.
{{StarshipTest2 | name = Lollipop | prefix = USS | image = [[file:Galaxyclass.png]] | registry = | class = Galaxy | affiliation = [[Starfleet]] | status = A good ship | commission = | decommission = | destroyed = | unit = | taskforce = | taskgroup = | squadron = | mothership = | homeport = | quadrant = Right behind you | role = Imaginary | co = Commander William T Riker | xo = Also Riker, because there's two of them }}