Difference between revisions of "Template:USS"
(Created page with '[[USS {{{1}}}|USS ''{{{1}}}'']] <noinclude>USS') |
|||
Line 1: | Line 1: | ||
− | [[USS {{{1}}}|USS ''{{{1}}}'']] | + | <includeonly>[[USS {{{1}}} {{{2|}}}|USS ''{{{1}}}''{{{3|}}}]]</includeonly><noinclude> |
− | < | + | This template is intended to simplify the wikicode needed for properly italicizing a starship's name, such as: |
+ | <nowiki>[[USS Yamato|USS ''Yamato'']]</nowiki> | ||
+ | |||
+ | The template allows for up to three variables: | ||
+ | # Ship's name | ||
+ | # Disambiguation (if any) | ||
+ | # Textual postfix (if any) | ||
+ | |||
+ | <nowiki>{{USS|Shipname|Disambiguation|Postfix text}}</nowiki> | ||
+ | |||
+ | == Usage == | ||
+ | The simplest use is with the ship's name, such as: | ||
+ | <nowiki>{{USS|Yamato}}</nowiki> | ||
+ | {{USS|Yamato}} | ||
+ | |||
+ | |||
+ | Use of the single variable version should be avoided if a name has been given to more than one ship, unless the object is to direct the user to a disambiguation page. An example of this would be: | ||
+ | <nowiki>{{USS|Enterprise}}</nowiki> | ||
+ | {{USS|Enterprise}} | ||
+ | |||
+ | |||
+ | To use a link to a disambiguating starship name, enter the disambiguation text as the second variable to the template: | ||
+ | <nowiki>{{USS|Exeter|(NCC-1672)}}</nowiki> | ||
+ | {{USS|Exeter|(NCC-1672)}} | ||
+ | |||
+ | |||
+ | Please note that for ship names listed with a letter following, such as '''USS ''Enterprise''-D''', that letter that should given as the third variable which is postfixed to the name (unlike the typical third variable which is the entire text): | ||
+ | <nowiki>{{USS|Enterprise|(NCC-1701-D)|-D}}</nowiki> | ||
+ | {{USS|Enterprise|(NCC-1701-D)|-D}} | ||
+ | [[Category:Templates|USS]] | ||
+ | |||
+ | </noinclude> |
Revision as of 19:02, 13 October 2009
This template is intended to simplify the wikicode needed for properly italicizing a starship's name, such as:
[[USS Yamato|USS ''Yamato'']]
The template allows for up to three variables:
- Ship's name
- Disambiguation (if any)
- Textual postfix (if any)
{{USS|Shipname|Disambiguation|Postfix text}}
Usage
The simplest use is with the ship's name, such as:
{{USS|Yamato}}
Use of the single variable version should be avoided if a name has been given to more than one ship, unless the object is to direct the user to a disambiguation page. An example of this would be:
{{USS|Enterprise}}
To use a link to a disambiguating starship name, enter the disambiguation text as the second variable to the template:
{{USS|Exeter|(NCC-1672)}}
Please note that for ship names listed with a letter following, such as USS Enterprise-D, that letter that should given as the third variable which is postfixed to the name (unlike the typical third variable which is the entire text):
{{USS|Enterprise|(NCC-1701-D)|-D}}