Template:ShipPrefix: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(italic, not bold.)
(expanding the documentation a bit.)
Line 5: Line 5:
*Letter (if present)
*Letter (if present)


Examples: {{ShipPrefix|NCC|1701}} and {{ShipPrefix|NCC|1701|A}}.
Examples <nowiki>{{ShipPrefix|NCC|1701}} and {{ShipPrefix|NCC|1701|A}}.</nowiki> become {{ShipPrefix|NCC|1701}} and {{ShipPrefix|NCC|1701|A}}
</noinclude>
</noinclude>

Revision as of 12:00, 26 February 2015

This outputs a formatted prefix. Useful if you want to edit the formatting of a lot.
Format is:

  • Prefix (NCC, NGV, ISS, etc.)
  • Number (1701,73462)
  • Letter (if present)

Examples {{ShipPrefix|NCC|1701}} and {{ShipPrefix|NCC|1701|A}}. become NCC-1701 and NCC-1701-A