Template:USS: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:
===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:
 
:<nowiki>{{USS|Ronin}}</nowiki>, which will give you: {{USS|Ronin}}
<nowiki>{{USS|Ronin}}</nowiki>, which will give you: {{USS|Ronin}}
:<nowiki>{{USS|Drake}}</nowiki>, which will give you: {{USS|Drake}}


If you want to link to a ship with a letter suffix, simply add the specific letter as an additional parameter.
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}}
<nowiki>{{USS|Independence|A}}</nowiki> gives you this: {{USS|Independence|A}}
:<nowiki>{{USS|Constitution|B}}</nowiki> gives you this: {{USS|Constitution|B}}
[[Category:Templates]]
[[Category:Templates]]
</noinclude>
</noinclude>

Revision as of 01:26, 27 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
{{USS|Drake}}, which will give you: USS Drake

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
{{USS|Constitution|B}} gives you this: USS Constitution-B