Template:Cent/doc: Difference between revisions

ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{dochead}}
{{dochead}}{{substitute|no}}
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:


: <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
* [[Template: Cents]] a substituted template to calculate the cents value of a ratio.