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
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|no}}
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 ===
Use as follows:
Use as follows:


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


==== Example ====
==== Example ====
<pre>50{{cent}}</pre>
<pre>50{{c}}</pre>


will look like this:
will look like this:
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.

Latest revision as of 14:12, 20 May 2025

This template should not be substituted.

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

Usage

Use as follows:

{{c}}

Example

50{{c}}

will look like this:

50 ¢

See also