TemplateDoc:CMAShip
From Halopedia, the Halo wiki
This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:CMAShip instead!
Description[edit]
This template is used as a shorthand to link the page for a CMA spacecraft. The template automatically formats the appropriate link and italicisation for the ship name for ease of use.
See also; Template:UNSCShip, for a UNSC equivalent.
Usage[edit]
Syntax[edit]
To insert this template onto a page, place the following wikitext onto the article.
{{CMAShip|Ship Name}}
Parameters[edit]
This template accepts two parameters;
Ship name - the name of the ship in question Additional replacement text - an optional parameter used to let the template display completely different text.
Error states[edit]
This template has no error states.
Example[edit]
Here is an example of what the template will output, when used:
Wiki markup | Result |
---|---|
The {{CMAShip|Heracles}} is a ''Hillsborough''-class destroyer. |
The CMA Heracles is a Hillsborough-class destroyer. |
The {{CMAShip|Heracles|Heracles}} is a ''Hillsborough''-class destroyer. |
The Heracles is a Hillsborough-class destroyer. |
Dependencies[edit]
Template dependencies[edit]
This template does not depend on any other templates.
Extension dependencies[edit]
This template does not require any extensions.
Dependent templates[edit]
The following templates depend upon this one. If you are making changes to this template, please ensure that they will not break any of them!