Template:Cent/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Documentation
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
{{dochead}}{{substitute|no}}
== Usage ==
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 ===
Use as follows:
Use as follows:


: <nowiki>{{cent}}</nowiki>
<pre>{{cent}}</pre>


== Example ==
==== Example ====
: <nowiki>50{{cent}}</nowiki>
<pre>50{{cent}}</pre>


will look like this:
will look like this:


: &#x202F;[[Cent|&#xA2;]]
50{{ {{ROOTPAGENAME}} }}


== See also ==
=== See also ===
* [[Template:Cents]] a substituted template to calculate the cents value of a ratio
* [[Template: C]] – to print the cent sign without a link to the article
<noinclude>[[Category:Template documentation]]</noinclude>
* [[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 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.