Difference between revisions of "Template:Starship"

Template page
m
m (Putting in an example, overriding sort key)
Line 87: Line 87:
</div>
</div>
<includeonly>[[Category:Starships]][[Category:{{{class}}}-class]]{{DEFAULTSORT:{{{name}}}}}</includeonly>
<includeonly>[[Category:Starships]][[Category:{{{class}}}-class]]{{DEFAULTSORT:{{{name}}}}}</includeonly>
<noinclude>
<noinclude>
<br clear=all>
==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
<pre>
<pre>
{{Starship
{{Starship
Line 108: Line 115:
| dedication = (image of ships dedication plague to be added here)
| dedication = (image of ships dedication plague to be added here)
}}</pre>
}}</pre>
[[Category:Infobox Templates]]
{{clear}}
==Example==
{{Starship
| name = Lollipop
| prefix = USS
| image = [[file:Galaxyclass.png]]
| registry =
| class = Galaxy
| affiliation = Starbase Kickass
| status = A good ship.
| commission = It's just been commissioned.
| decommission =
| destroyed =
| taskforce =
| quadrant =
| role = Imaginary
| co = Commander William T Riker
| xo = Also Riker, because there's two of them
}}
The following code produced the infobox to the right.
<pre>
{{Starship
| name = Lollipop
| prefix = USS
| image = [[file:Galaxyclass.png]]
| registry =
| class = Galaxy
| affiliation = [[Starfleet]]
| status = A good ship
| commission =
| decommission =
| destroyed =
| taskforce =
| quadrant =
| role = Imaginary
| co = Commander William T Riker
| xo = Also Riker, because there's two of them
}}
</pre>
[[Category:Infobox Templates]]{{DEFAULTSORT:§}}
</noinclude>
</noinclude>

Revision as of 09:26, 8 June 2022

{{{prefix}}} {{{name}}}
Information


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

Galaxyclass.png
USS Lollipop
Information
Class Galaxy-class
Affiliation Starbase Kickass
Status A good ship.
Commissioned It's just been commissioned.
Assignment
Role Imaginary

Personnel

Commanding Officer Commander William T Riker
Executive Officer Also Riker, because there's two of them


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 = 
| role = Imaginary
| co = Commander William T Riker
| xo = Also Riker, because there's two of them
}}
Warning: Default sort key "§" overrides earlier default sort key "Lollipop".