Template:Cent/doc: Difference between revisions

Ganaram inukshuk (talk | contribs)
do not overcomplicate
ArrowHead294 (talk | contribs)
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|no}}
This template inserts a thin non-breaking space followed by the ¢ symbol with a link to the [[cent]] article.
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 ===
=== Usage ===
Use as follows:
Use as follows:


<code><nowiki>{{cent}}</nowiki></code>
<pre>{{cent}}</pre>
 
{{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: 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.