Template:C/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Documentation, and separate cent template without link into its own page since you don't need the link all the time
 
Update
Line 1: Line 1:
{{dochead}}
{{dochead}}
This template inserts a no-break hair space (see [[:Template:nbhsp]]) followed by the cent symbol.
This template inserts a narrow no-break space ([https://www.compart.com/en/unicode/U+202F U+202F]) followed by the cent symbol.


=== Usage ===
=== Usage ===
Line 16: Line 16:
=== See also ===
=== See also ===
* [[Template: Cent]] – to print the cent sign with a link to the article about [[cent]]s
* [[Template: Cent]] – to print the cent sign with a link to the article about [[cent]]s
* [[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:13, 15 January 2025

This template inserts a narrow no-break space (U+202F) followed by the cent symbol.

Usage

Use as follows:

{{cent}}

Example

50{{cent}}

will look like this:

50 ¢

See also