Template:Cents/doc: Difference between revisions

Partial revert
Tag: Undo
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}
This template calculates the cent value of its first argument (defaults to 1). An optional second argument controls the precision, it defaults to 0 decimal places.
This template should always be combined with the <code>subst:</code> keyword (i.e. {{w|WP:SUBST|substituted}}). The substitution is already carried out for the page preview. At save, the cent value is being placed into the wiki source.
=== Usage ===
=== Usage ===
Use this template like this
Use this template like this