Template:Cent/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
Ganaram inukshuk (talk | contribs)
do not overcomplicate
ArrowHead294 (talk | contribs)
mNo edit summary
Line 5: Line 5:
Use as follows:
Use as follows:


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


{{shortcut|c}}
{{shortcut|c}}


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


will look like this:
will look like this:


: 50{{{{ROOTPAGENAME}} }}
50{{{{ROOTPAGENAME}} }}


=== See also ===
=== See also ===
* [[Template: Cents]] &ndash; A substituted template to calculate the cents value of a ratio.
* [[Template: Cents]] &ndash; A substituted template to calculate the cents value of a ratio.

Revision as of 11:32, 28 September 2024

This template inserts a thin non-breaking space followed by the ¢ symbol with a link to the cent article.

Usage

Use as follows:

{{cent}}

Note: You can use {{c}} as a shortcut.

Example

50{{cent}}

will look like this:

50 ¢

See also

  •  Template: Cents – A substituted template to calculate the cents value of a ratio.