Difference between revisions of "Template:USS"

From Federation Space - Official Wiki
Jump to navigation Jump to search
m
 
m
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{ #if:{{{3|}}}
+
<includeonly>{{#if:{{{3|}}}
|[[USS {{{1}}}, {{{2}}}-{{{3}}}|USS ''{{{1}}}'', {{{2}}}-{{{3}}}]]
+
|{{Ship|USS|{{{1}}}|{{{2|}}}-{{{3|}}} }}
|{{ #if:{{{2|}}}
+
|{{Ship|USS|{{{1}}}|{{{2|}}} }}
|[[USS {{{1}}}, {{{2}}}|USS ''{{{1}}}'', {{{2}}}]]
+
}}</includeonly><noinclude>[[Category:Ship Names Templates|{{PAGENAME}}]][[Category:Templates|{{{PAGENAME}}}]]</noinclude>
|{{ #if:{{{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:
 
<nowiki>[[USS Enterprise, CV-07|USS ''Enterprise'', CV-07]]</nowiki>
 
 
 
The template allows for three variables:
 
# Ship's name eg Enterprise
 
# Registry Prefix eg CV
 
# Registry Number eg 07
 
 
 
<nowiki>{{USS|Shipname|Registry Prefix|Registry Number}}</nowiki>
 
 
 
== Usage ==
 
If the ship has a registry number, use this:
 
<nowiki>{{USS|Enterprise|CV|07}}</nowiki>
 
 
 
This will display as:
 
{{USS|Enterprise|CV|07}}
 
 
 
If you do not know of the registry number use this:
 
<nowiki>{{USS|Enterprise}}</nowiki>
 
 
 
It will display as this:
 
{{USS|Enterprise}}
 
==See also==
 
*{{tl|DEV}}
 
*{{tl|ECS}}
 
*{{tl|HMS}}
 
*{{tl|IKS}}
 
*{{tl|IRW}}
 
*{{tl|ISS}}
 
*{{tl|SS}}
 
*{{tl|VK}}
 
[[Category:Ship Names Templates|{{PAGENAME}}]]
 
</noinclude>
 

Latest revision as of 10:23, 29 March 2017