Template:Class

Purpose
To avoid having to enter the following code to achieve the proper link and italics:

Code:  CCS-class Battlecruiser 

Result: CCS-class Battlecruiser

Usage
Most cases we want to provide a direct link to the article with the minimum of fuss.

Code:  

Result:

Sometimes, we don't want to use the ship's type as the follow on text.

Code:  

Result:

If we want to leave out the follow-on text altogether, we make the third parameter an empty space. Note that the third parameter's space is not included in the output.

Code:  and the text that comes after.

Result: and the text that comes after.