Difference between revisions of "Template:CZK/doc"

From blackwiki
Jump to navigation Jump to search
imported>PanchoS
(→‎Usage: corr.)
imported>IceWelder
(Refine)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
 
 
== Usage ==
 
== Usage ==
This template renders the standard Czech currency abbreviation () and an optional value. The abbreviation provides an informative link to the [[Czech koruna]] article.
+
This template renders a Czech currency value (CZK) with an [[ISO 4217]] identifier linked to the [[Czech koruna]] article.
 
+
:<code><nowiki>{{CZK|123.45}}</nowiki></code> produces <code>{{CZK|123.45}}</code>
*<nowiki>{{CZK|123.45}}</nowiki> produces {{CZK|123.45}} (with a space between the abbreviation and the value).
+
:<code><nowiki>{{CZK|123.45|link=yes}}</nowiki></code> produces <code>{{CZK|123.45|link=yes}}</code>
*<nowiki>{{CZK}}</nowiki> by itself produces {{CZK}} (simple currency article link).
 
 
 
The link to [[Czech koruna]] can be turned on and off using the link parameter.
 
 
 
*<nowiki>{{CZK|link=yes|123.45}}</nowiki> produces {{CZK|link=yes|123.45}} (link is turned on).
 
*<nowiki>{{CZK|link=no|123.45}}</nowiki> produces {{CZK|link=no|123.45}} (link is turned off).
 
  
 
== See also ==
 
== See also ==
 
* [[Wikipedia:Manual of Style (dates and numbers)#Currencies]]
 
* [[Wikipedia:Manual of Style (dates and numbers)#Currencies]]
* [[Template:Euro]]
+
* {{tl|US$}}
* [[Template:US$]]
+
* {{tl|€}}
 +
* {{tl|GBP}}
 +
* {{tl|DKK}}
 +
* {{tl|NOK}}
 +
* {{tl|SEK}}
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories below this line, please; interwikis at Wikidata -->
{{DEFAULTSORT:Czk}}
+
[[Category:Czech Republic templates]]
 
[[Category:Currency templates]]
 
[[Category:Currency templates]]
[[Category:Czech Republic templates]]
+
}}</includeonly>
[[Category:Currencies of the Czech Republic|*]]
 
[[Category:Currencies of Europe|*]]
 
</includeonly>
 

Revision as of 14:26, 25 January 2017

Usage

This template renders a Czech currency value (CZK) with an ISO 4217 identifier linked to the Czech koruna article.

{{CZK|123.45}} produces 123.45 Kč
{{CZK|123.45|link=yes}} produces 123.45

See also