Template:Infobox currency: Difference between revisions
Migrate visible code-standard terminology from ISO to ICR |
Add Era field to infobox template |
||
| (One intermediate revision by the same user not shown) | |||
| 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: {{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: {{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 275: | Line 275: | ||
| data75 = {{#if:{{{ERM_since|}}}|{{{ERM_band|}}}}} | | data75 = {{#if:{{{ERM_since|}}}|{{{ERM_band|}}}}} | ||
| label76 = Era | |||
| data76 = {{{era|}}} | |||
| belowstyle=text-align:left; background:#e9e9e9;color:inherit; | | belowstyle=text-align:left; background:#e9e9e9;color:inherit; | ||
| below = {{yesno|{{{obsolete|}}}|yes={{yesno|{{if empty|{{{obsolete_notice|}}}|true}}|yes=<!-- | | below = {{yesno|{{{obsolete|}}}|yes={{yesno|{{if empty|{{{obsolete_notice|}}}|true}}|yes=<!-- | ||
| Line 303: | Line 306: | ||
<!-- VALUE & INFLATION -->|value |pegged_by |pegged_with |inflation_method |inflation_rate |inflation_source_date |inflation_title | <!-- VALUE & INFLATION -->|value |pegged_by |pegged_with |inflation_method |inflation_rate |inflation_source_date |inflation_title | ||
<!-- FOOTNOTE -->|footnotes | <!-- FOOTNOTE -->|footnotes | ||
| era | |||
}}<!-- | }}<!-- | ||
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) | ||