Template:Class

From Halopedia, the Halo wiki

Revision as of 16:32, October 17, 2023 by BaconShelf (talk | contribs) (updating the examples here to actually be relevant to this template lol)

Purpose

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

Code: {{Class|Halcyon|light cruiser}}nowiki>''' Result: {{Class|Halcyon|light cruiser}} ==Usage== Most cases we want to provide a direct link to the article with the minimum of fuss. Code: '''<nowiki>{{Class|Halcyon|light cruiser}}

Result: Halcyon-class light cruiser

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

Code: {{Class|Halcyon|light cruiser|ship}}

Result: Halcyon-class ship

If we want to leave out the follow-on text altogether, we make the third parameter empty.

Code: {{Class|Halcyon|light cruiser|}} and the text that comes after.

Result: Halcyon-class and the text that comes after.