Difference between revisions of "Template:USS"

From Federation Space - Official Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
<includeonly>{{ #if:{{{3|}}}|[[USS {{{1}}}, {{{2}}}-{{{3}}}|USS ''{{{1}}}'', {{{2}}}-{{{3}}}]]|{{ #if:{{{2|}}}|[[USS {{{1}}}, {{{2}}}|USS ''{{{1}}}'', {{{2}}}]]|{{ #if:{{{1|}}}|[[USS {{{1}}}|USS ''{{{1}}}'']]}}}}}}</includeonly><noinclude>
+
<includeonly>{{ #if:{{{3|}}}|[[USS {{{1}}}, {{{2}}}-{{{3}}}{{!}}USS ''{{{1}}}'', {{{2}}}-{{{3}}}]]|{{ #if:{{{2|}}}{{!}}[[USS {{{1}}}, {{{2}}}{{!}}USS ''{{{1}}}'', {{{2}}}]]{{!}}{{ #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:
 
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>
 
  <nowiki>[[USS Enterprise, CV-07|USS ''Enterprise'', CV-07]]</nowiki>

Revision as of 22:29, 11 October 2015

This template is intended to simplify the wikicode needed for properly italicizing a starship's name, such as:

[[USS Enterprise, CV-07|USS ''Enterprise'', CV-07]]

The template allows for three variables:

  1. Ship's name eg Enterprise
  2. Registry Prefix eg CV
  3. 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, CV-07


If you do not know of the registry number use this:

{{USS|Enterprise}}

It will display as this:


See also