Template:C/doc: Difference between revisions

Template documentation and test
 
Documentation improvement
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}}"