Template:Cent/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{dochead}}
{{dochead}}
This template inserts a no-break hair space (see [[:Template:nbhsp]]) followed by the ¢ symbol with a link to the [[cent]] article.
This template inserts a no-break hair space (see [[:Template:nbhsp]]) followed by the cent symbol with a link to the [[cent|article about cents]].


=== Usage ===
=== Usage ===
Line 6: Line 6:


<pre>{{cent}}</pre>
<pre>{{cent}}</pre>
{{shortcut|c}}


==== Example ====
==== Example ====
Line 17: Line 15:


=== See also ===
=== See also ===
* [[Template: C]] – to print the cent sign without a link to the article
* [[Template: Cents]] – a substituted template to calculate the cents value of a ratio.
* [[Template: Cents]] – a substituted template to calculate the cents value of a ratio.

Revision as of 16:27, 15 January 2025

This template inserts a no-break hair space (see Template:nbhsp) followed by the cent symbol with a link to the article about cents.

Usage

Use as follows:

{{cent}}

Example

50{{cent}}

will look like this:

50 ¢

See also

  • Template: C – to print the cent sign without a link to the article
  •  Template: Cents – a substituted template to calculate the cents value of a ratio.