Template:Cents/doc: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 2: Line 2:
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:H:SUBST|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.
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 ===