Template:Cents/doc: Difference between revisions

ArrowHead294 (talk | contribs)
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|always}}
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 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 [[mw:help:substitution|substituted]] (combined with the <code>subst:</code> keyword). The substitution is already carried out for the page preview. At save, the cent value is being placed into the wiki source.


=== Usage ===
=== Usage ===