TemplateDoc:CR: Difference between revisions

From Halopedia, the Halo wiki

(Created page with "{{Notice/TemplateDoc}} ==Description== This template is used as a shorthand to insert a Credit icon, used for discussing weapon costs in ''Halo: Spartan Assault'', for in...")
 
 
Line 34: Line 34:
===Dependent templates===
===Dependent templates===
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!
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!
*[[Template:Documentation]]
 


<noinclude>[[Category:Shorthand template documentation]]</noinclude>
<noinclude>[[Category:Shorthand template documentation]]</noinclude>

Latest revision as of 18:13, December 15, 2021

This is a template documentation page!
You cannot edit the associated template from here. To do so, please see Template:CR instead!

Description[edit]

This template is used as a shorthand to insert a Credit icon, used for discussing weapon costs in Halo: Spartan Assault, for instance.

Usage[edit]

Syntax[edit]

To insert this template onto a page, place the following wikitext onto the article, in which the number 25 would be the required credit value.

{{CR|25}}

Parameters[edit]

This template does not accept parameters.

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
This weapon costs {{CR|25}}.
This weapon costs CR 25.

Dependencies[edit]

Template dependencies[edit]

This template does not depend on any other templates. It does depend on File:SA Icon CR.png.

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!