Template:Cent/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
Update
Line 1: Line 1:
{{dochead}}
{{dochead}}
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]].
This template inserts a narrow no-break space ([https://www.compart.com/en/unicode/U+202F U+202F]) followed by the cent symbol with a link to the [[cent|article about cents]].


=== Usage ===
=== Usage ===
Line 16: Line 16:
=== See also ===
=== See also ===
* [[Template: C]] – to print the cent sign without a link to the article
* [[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 17:10, 15 January 2025

This template inserts a narrow no-break space (U+202F) 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.