Template:ShipPrefix: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>'''{{{1|}}}'''-{{{2}}}{{#ifeq:{{{3}}}|-'''{{{3|}}}'''|}}</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.
<noinclude>This outputs a formatted prefix. Useful if you want to edit the formatting of a lot.
<br>Format is:
<br>Format is:
Line 6: Line 6:
*Letter (if present)
*Letter (if present)


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

Revision as of 20:16, 11 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: NCC'-1701{{#if:|-'|}

and NCC-1701{{#if:A|-A|}

.