Template:USS: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
(killing two birds with one stone)
Line 1: Line 1:
<includeonly>[[USS {{{1}}}|USS ''{{{1}}}'']]</includeonly><noinclude>
<includeonly>{{#if:{{{2|}}}
|[[USS {{{1}}}-{{{2}}}|USS ''{{{1}}}''-{{{2}}}]]
|[[USS {{{1}}}|USS ''{{{1}}}'']]
}}}}</includeonly><noinclude>
===The USS Template===
===The USS Template===
This simplifies properly formatting a ship's name in italics as a wikilink. Use as follows:
This simplifies properly formatting a ship's name in italics as a wikilink. Use as follows:
Line 5: Line 8:
<nowiki>{{USS|Ronin}}</nowiki>, which will give you: {{USS|Ronin}}
<nowiki>{{USS|Ronin}}</nowiki>, which will give you: {{USS|Ronin}}


If you want to link to a ship with a letter suffix (such as the {{USSX|Independence|A}}), use the [[Template:USSX]] template.
If you want to link to a ship with a letter suffix, simply add the specific letter as an additional parameter.
 
<nowiki>{{USS|Independence|A}}</nowiki> gives you this: {{USS|Independence|A}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 10:12, 26 November 2012

The USS Template

This simplifies properly formatting a ship's name in italics as a wikilink. Use as follows:

{{USS|Ronin}}, which will give you: USS Ronin}}

If you want to link to a ship with a letter suffix, simply add the specific letter as an additional parameter.

{{USS|Independence|A}} gives you this: USS Independence-A}}