Template:CHF: Difference between revisions
(Undid revision 904839032 by Stepho-wrs (talk) according concensus; see talk page.) |
Richardpruen (talk | contribs) m (1 revision imported) |
(No difference)
|
Revision as of 16:30, 2 January 2022
→ Template talk:Currency#Suggestions for a standard set of options for each template |
This is a multifunction template. At its simplest, it adds the currency mark "SFr", as recommended by MOS:CURRENCY for many situations. The template can also link to the Swiss franc article.
Usage
This template renders a Swiss currency value with a currency abbreviation, or optionally an ISO code (CHF), linked to the Swiss franc article. The Swiss Federal Chancellery prefers to use only the ISO code (CHF) in preference to the traditional SFr abbreviation[1], but SFr remains in common use as CHF is unintuitive unless one is familiar with Swiss state nomenclature.
{{CHF}} produces CHF (simple currency article link)
{{CHF|123.45}} produces CHF 123.45 (with a non-breaking space between the SFr and the value)
{{CHF|ISO=yes}} produces CHF (simple ISO 4217 identifier)
Suppress link
{{CHF|link=no}} produces CHF (simple currency abbreviation)
{{CHF|link=yes|ISO=yes}} produces CHF (simple ISO 4217 identifier)
References
- ^ "Style Guides for English-language translators" (PDF) (official site). Berne, Switzerland: Federal Chancellery. 20 September 2017. Retrieved 2019-07-03.