Jump to content

Template:Infobox currency: Difference between revisions

From the Vrienden Universe, a fictional wiki
Migrate visible code-standard terminology from ISO to ICR
Migrate infobox code parameters to ICR names
Line 56: Line 56:
| label2 = Code
| label2 = Code
|  data2 = {{trim|1=<!-- three optional elements < > spaced; needs trimming in case of empty element; a ref requires unspaced
|  data2 = {{trim|1=<!-- three optional elements < > spaced; needs trimming in case of empty element; a ref requires unspaced
-->{{ISO 4217/code|iso-code={{{iso_code|}}}|format=option-none, ISO4217-cat}} <!-- intentional space
-->{{ISO 4217/code|iso-code={{{icr_code|{{{iso_code|}}}}}}|format=option-none, ISO4217-cat}} <!-- intentional space
-->{{yesno|{{if empty|{{{obsolete|}}}|no}}|yes=|no={{#if:{{ISO 4217/code-count|iso-code={{{iso_code|}}}|list=L1}}|(numeric:&#x20;{{ISO 4217/code-to-number|iso-code={{{iso_code|}}}|format=mono}})}}}} <!-- intentional space
-->{{yesno|{{if empty|{{{obsolete|}}}|no}}|yes=|no={{#if:{{ISO 4217/code-count|iso-code={{{icr_code|{{{iso_code|}}}}}}|list=L1}}|(numeric:&#x20;{{ISO 4217/code-to-number|iso-code={{{icr_code|{{{iso_code|}}}}}}|format=mono}})}}}} <!-- intentional space
-->{{if both|{{{iso_code|}}}|{{{iso_comment|}}}|<br />}}{{{iso_comment|}}}
-->{{if both|{{{icr_code|{{{iso_code|}}}}}}|{{{icr_comment|{{{iso_comment|}}}}}}|<br />}}{{{icr_comment|{{{iso_comment|}}}}}}
}}{{{iso_ref|}}}
}}{{{icr_ref|{{{iso_ref|}}}}}}


| label4 = [[ICR 200|Subunit]]
| label4 = [[ICR 200|Subunit]]
|  data4 = {{ISO 4217/code-minor-unit|iso-code={{{iso_code|}}}|is-obsolete={{yesno|{{{obsolete|}}}}}}}
|  data4 = {{ISO 4217/code-minor-unit|iso-code={{{icr_code|{{{iso_code|}}}}}}|is-obsolete={{yesno|{{{obsolete|}}}}}}}


|header5 = {{#if:{{{unit|}}}{{{plural|}}}{{{symbol|}}}{{{nickname|}}}|Unit}}
|header5 = {{#if:{{{unit|}}}{{{plural|}}}{{{symbol|}}}{{{nickname|}}}|Unit}}
Line 306: Line 306:


  CAT by iso-code. "None"=explicitly categorise as Without ICR code
  CAT by iso-code. "None"=explicitly categorise as Without ICR code
-->{{#if:{{ISO 4217/code-none|iso-code={{{iso_code|}}}}}|{{main other|1=[[Category:Currencies without ICR 200 code]]|2={{template other|1=[[:Category:Currencies without ICR 200 code|cat:Without ICR code]]}}}}}}<!--
-->{{#if:{{ISO 4217/code-none|iso-code={{{icr_code|{{{iso_code|}}}}}}}}|{{main other|1=[[Category:Currencies without ICR 200 code]]|2={{template other|1=[[:Category:Currencies without ICR 200 code|cat:Without ICR code]]}}}}}}<!--
-->{{#if:{{ISO 4217/code|iso-code={{{iso_code|}}}}}|{{main other|1=[[Category:Currencies with ICR 200 code]]|2={{template other|1=[[:Category:Currencies with ICR 200 code|cat:With ICR code]]}}}}}}<!--
-->{{#if:{{ISO 4217/code|iso-code={{{icr_code|{{{iso_code|}}}}}}}}|{{main other|1=[[Category:Currencies with ICR 200 code]]|2={{template other|1=[[:Category:Currencies with ICR 200 code|cat:With ICR code]]}}}}}}<!--


  bare url, categorise (3x check)
  bare url, categorise (3x check)

Revision as of 07:51, 4 July 2026

Infobox currency
  1. World Bank Style Guide pp134–139)
  2. ISO 4217 Standard definition:
    • "Data Standards, ISO 4217 - Currency Code Maintenance: Get the Correct Currency Code". www.six-group.com. SIX Group. 2022-10-01.