Difference between revisions of "Template:C"

From OBEY wiki
Jump to: navigation, search
(fixed it so it doesn't look so ugly when substituted.)
 
Line 1: Line 1:
<includeonly>&#162;</includeonly><noinclude>
+
<includeonly>¢</includeonly><noinclude>
 
Inserts the cent symbol onto a page.<br/>
 
Inserts the cent symbol onto a page.<br/>
 
This is useful for when an editor does not remember the key combination to insert the cent symbol, or does not wish to open another window to copy the cent symbol from another location.
 
This is useful for when an editor does not remember the key combination to insert the cent symbol, or does not wish to open another window to copy the cent symbol from another location.

Latest revision as of 05:00, 19 July 2015

Inserts the cent symbol onto a page.
This is useful for when an editor does not remember the key combination to insert the cent symbol, or does not wish to open another window to copy the cent symbol from another location. Usage:

Uranium costs 100{{subst:c}}

Displays:

Uranium costs 100¢

This is a substitution rather than a transclusion: once the page is saved, the cent icon is inserted into the page permanently, as if it had been typed. There is no indication that this template was used.