Template:Cent/doc: Difference between revisions

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.