Difference between revisions of "Template:USS"


Line 2: Line 2:
 
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 Yamato|USS ''Yamato'']]</nowiki>
 
  <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 ==
 
== Usage ==
The simplest use is with the ship's name, such as:
+
The use of this template is with the ship's name, such as:
 
  <nowiki>{{USS|Yamato}}</nowiki>
 
  <nowiki>{{USS|Yamato}}</nowiki>
 
{{USS|Yamato}}
 
{{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]]
 
[[Category:Templates|USS]]
  
 
</noinclude>
 
</noinclude>

Revision as of 19:03, 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'']]

Usage

The use of this template is with the ship's name, such as:

{{USS|Yamato}}

USS Yamato