Template:Cent: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Fredg999 (talk | contribs)
Use thin (non-breaking) space
ArrowHead294 (talk | contribs)
mNo edit summary
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
&#x202f;[[cent|¢]]<noinclude>
<includeonly>&#x202F;[[Cent|&#xA2;]]</includeonly><noinclude>
{{documentation}}


This template inserts a thin non-breaking space followed by the ¢ symbol with a link to the [[cent]] article.
[[Category:Character templates]]
 
== Usage ==
Use as follows:
 
<nowiki>{{cent}}</nowiki>
 
== Example ==
<nowiki>50{{cent}}</nowiki>
 
will look like this:
 
50&#x202f;[[cent|¢]]
 
== See also ==
* [[Template:Cents]] — a substituted template to calculate the cents value of a ratio
 
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 13:32, 14 March 2025

Template documentation[view] [edit] [history] [purge]
This template should not be substituted.

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.