Difference between revisions of "Template:USS"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | <includeonly>{{ #if:{{{3|}}}|[[USS {{{1}}}, {{{2}}}-{{{3}}} | + | <includeonly>{{ #if:{{{3|}}} |
+ | |[[USS {{{1}}}, {{{2}}}-{{{3}}}|USS ''{{{1}}}'']] | ||
+ | |{{ #if:{{{2|}}} | ||
+ | |[[USS {{{1}}}, {{{2}}}|USS ''{{{1}}}'']] | ||
+ | |[[USS {{{1}}}|USS ''{{{1}}}'']]}}}}</includeonly><noinclude> | ||
This template is intended to simplify the wikicode needed for properly italicizing a starship's name, such as: | This template is intended to simplify the wikicode needed for properly italicizing a starship's name, such as: | ||
− | <nowiki>[[USS Enterprise, CV-07|USS ''Enterprise'' | + | <nowiki>[[USS Enterprise, CV-07|USS ''Enterprise'']]</nowiki> |
The template allows for three variables: | The template allows for three variables: | ||
Line 8: | Line 12: | ||
# Registry Number eg 07 | # Registry Number eg 07 | ||
− | <nowiki>{{USS|Shipname|Registry Prefix | + | <nowiki>{{USS|Shipname|Registry Prefix-Registry Number}}</nowiki> |
== Usage == | == Usage == | ||
If the ship has a registry number, use this: | If the ship has a registry number, use this: | ||
− | <nowiki>{{USS|Enterprise|CV | + | <nowiki>{{USS|Enterprise|CV-07}}</nowiki> |
This will display as: | This will display as: | ||
− | {{USS|Enterprise|CV | + | {{USS|Enterprise|CV-07}} |
If you do not know of the registry number use this: | If you do not know of the registry number use this: |
Revision as of 23:30, 16 January 2017
This template is intended to simplify the wikicode needed for properly italicizing a starship's name, such as:
[[USS Enterprise, CV-07|USS ''Enterprise'']]
The template allows for three variables:
- Ship's name eg Enterprise
- Registry Prefix eg CV
- Registry Number eg 07
{{USS|Shipname|Registry Prefix-Registry Number}}
Usage
If the ship has a registry number, use this:
{{USS|Enterprise|CV-07}}
This will display as: USS Enterprise
If you do not know of the registry number use this:
{{USS|Enterprise}}
It will display as this: USS Enterprise