Template:ShipPrefix: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(formatting prefix template.)
 
(formating)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{{1|}}}-{{{2}}}{{#if:{{{3|}}}|-{{{3|}}}|}}</includeonly><noinclude>This outputs a formatted prefix. Useful if you want to edit the formatting of a lot.
'''{{{1|}}}-{{{2}}}-'''{{{3|}}}'''
<br>Format is:
</includeonly>
*Prefix (NCC, NGV, ISS, etc.)
<noinclude>
*Number (1701,73462)
This outputs a formatted prefix. Useful if you want to edit the formatting of a lot.
*Letter (if present)
Format is:
 
Prefix (NCC, NGV, ISS, etc.)
Examples <nowiki>{{ShipPrefix|NCC|1701}} and {{ShipPrefix|NCC|1701|A}}.</nowiki> become {{ShipPrefix|NCC|1701}} and {{ShipPrefix|NCC|1701|A}}
Number (1701,73462)
Letter (if present)
</noinclude>
</noinclude>

Latest revision as of 22:04, 17 April 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