Jump to content

Template:C/doc: Difference between revisions

Template documentation and test
 
Documentation improvement
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
The template can take one parameter of any number to display it alongside the coin. It can also take the <code>sell</code> parameter to format it as an affirmative for "Sellable" property fields. Order of the parameters '''does not''' matter.
The template can take one parameter of any number to display it alongside the coin. It can also take the <code>sell</code> parameter to format it as an affirmative for "Sellable" property fields. Order of the parameters '''does not''' matter.


Example:
Examples:
<pre>
<pre>
{{C|2.00|sell}} and {{C|sell|2.00}}
{{C}} and "{{C|2.00}}" and "{{C|2.00|sell}}" and "{{C|sell|2.00}}"
</pre>
</pre>
produce
produces:
{{C|sell|2.00}} and {{C|2.00|sell}}
 
{{C}} and "{{C|2.00}}" and "{{C|2.00|sell}}" and "{{C|sell|2.00}}"
 
When needed, the coin link can be removed by passing <code>nolink=</code> with any value. This is only recommended in special cases, as its useful to have a link to explain Alathra's custom currency available in most places where the symbol is included.

Latest revision as of 13:56, 1 July 2025

This template is used to quickly add the Alathran coin symbol, Unicode Character “⌾” (U+233E) to an article. It also takes additional parameters to help format it for monetary values or for "Sellable" property amongst some infoboxes.

The template can take one parameter of any number to display it alongside the coin. It can also take the sell parameter to format it as an affirmative for "Sellable" property fields. Order of the parameters does not matter.

Examples:

{{C}} and "{{C|2.00}}" and "{{C|2.00|sell}}" and "{{C|sell|2.00}}"

produces:

and "[2.00]" and "Yes [2.00]" and "Yes [2.00]"

When needed, the coin link can be removed by passing nolink= with any value. This is only recommended in special cases, as its useful to have a link to explain Alathra's custom currency available in most places where the symbol is included.