మూస:Infobox Currency/doc
Instruction
Just list the attributes:
Attribute | Live currency | Dead currency | Must use with | Mutually exclusive with | Default value | Example / Style |
---|---|---|---|---|---|---|
currency_name_in_local | Optional | Optional | Suomalainen markka <small>{{fi icon}}</small><br/> Finska mark <small>{{sv icon}}</small>
dólar australiano <small>{{es icon}} {{pt icon}}</small>
| |||
image_1 | Optional | Optional | ||||
image_2 | Optional | Optional | ||||
image_title_1 | Optional | Optional | image_1 | |||
image_title_2 | Optional | Optional | image_2 | |||
image_background_1 | Optional | Optional | image_1 | (none) | #000000 | |
image_background_2 | Optional | Optional | image_2 | (none) | #000000 | |
image_width_1 | Optional | Optional | image_1 | 126 / 252 | A positive integer, no "px". See East Caribbean dollar, Polish złoty, Slovenian tolar, Chilean peso, Portuguese escudo, Bangladeshi taka, Cypriot pound, Romanian leu, Turkmenistani manat, and Falkland Islands pound for examples. | |
image_width_2 | Optional | Optional | image_2 | 126 | ||
iso_code | Required | Optional | Don't put anything if you can't find it. Not a question mark. | |||
using_countries | Required | Required | Italicize non-sovereign states, order them as appropriate in the context | |||
unofficial_users | Optional | Optional | ||||
inflation_rate | Optional | Optional | Do not put things like "(2001)" here. Use the next attribute. Don't put anything if you can't find it. Not a question mark. | |||
inflation_source_date | Optional | Optional | inflation_rate | Wikipedia article Sveriges Riksbank, August 2006 The World Factbook, 2005 est. | ||
inflation_method | Optional | Optional | inflation_rate | CPI, CPI excluding real estate | ||
ERM_since | Optional | Optional | pegged_with (unless ERM_withdraw is present) | |||
ERM_withdraw | Optional | Optional | ERM_since | Date (for pound sterling and Italian lira) | ||
ERM_fixed_rate_since | Optional | Optional | ERM_since | pegged_with | ||
euro_replace_non_cash | Optional | Optional | ERM_since | pegged_with | 1 January 1999 | |
euro_replace_cash | Optional | Optional | ERM_since | pegged_with | 1 January 2002 | |
ERM_fixed_rate | Optional | Optional | ERM_since | pegged_with | "5.94573 mk", not "1 euro = 5.94573 mk". Use symbol if possible. | |
ERM_band | Optional | Optional | ERM_since | pegged_with | "15%", not "±15%" | |
pegged_with | Optional | Optional | ERM_* | euro = 3 units. If the rate is defined that way, do not put the inverse rate like 1 unit = 0.333333 euro. | ||
pegged_by | Optional | Optional | Use ISO 4217 Code if the list gets too long | |||
subunit_ratio_{1..5} | Optional | Optional | Preceding subunit_ratio_* Matching subunit_name_(1..5} |
1/100, 1/20, 1/240 | ||
subunit_name_{1..5} | Optional | Optional | Matching subunit_ratio_{1..5} | Cent (currency), shilling, penny, and do not confuse centavo, centimo, centime, and centesimo. Link the subunit only if there's an article. | ||
subunit_inline_note_{1..5} | Optional | Optional | Matching subunit_name_{1..5} | This is so small that it is not used in practice | ||
Attribute | Live currency | Dead currency | Must use with | Mutually exclusive with | Default value | Example / Style |
symbol | Optional | Optional | €, £, $. Link to the articles of the currency symbols if exist (e.g. dollar sign, pound sign) | |||
symbol_subunit_{1..5} | Optional | Optional | Matching subunit_name_(1..5} | ¢ | ||
nickname | Optional | Optional | quid, buck/greenback, loonie/huard | |||
nickname_subunit_{1..5} | Optional | Optional | Matching subunit_name_(1..5} | penny | ||
plural | Optional | Optional | plural_slavic, no_plural | emalangeni (use this is the it doesn't follow English grammar) | ||
plural_subunit_{1..5} | Optional | Optional | Matching subunit_name_(1..5}, | plural_slavic, no_plural | aurer (of Iceland) | |
plural_slavic | Optional | Optional | plural, plural_subunit_{1..5}, no_plural | Put any non-empty value to enable the Slavic notice. See Russian ruble for example. | ||
no_plural | Optional | Optional | plural, plural_subunit_{1..5}, plural_slavic | Put any non-empty value to enable the no-plural notice. See New Taiwan dollar for example. | ||
used_coins | Optional | Optional | frequently_used_coins, rarely_used_coins | See below | ||
frequently_used_coins | Optional | Optional | used_coins | See below | ||
rarely_used_coins | Optional | Optional | used_coins | See below | ||
This is the style guide for used_coins, frequently_used_coins, and rarely_used_coins
| ||||||
Frequent v.s. rare
You might be thinking, "why do these simple words 'rare' and 'frequent' have to turn into these long definitions?" The bottom line is, these definitions have everything to do with the usage in daily life. And the issuance number quoted by the central banks/governments have little meaning in this sense, as a lot of them can be used for interbank transactions, hoarded by tax evaders and drug dealers (I hope this is not "daily life"), by casinos, and in the hands of foreigners. And only utilize these attributes when you are very sure. If you are not, fall back to a single list where rarely and frequently are not distinguished. | ||||||
coin_article | Optional | Optional | United States coinage | |||
used_banknotes | Optional | Optional | frequently_used_banknotes, rarely_used_banknotes | See above | ||
frequently_used_banknotes | Optional | Optional | used_banknotes | See above | ||
rarely_used_banknotes | Optional | Optional | used_banknotes | See above | ||
banknote_article | Optional | Optional | Banknotes of the Hong Kong dollar | |||
Attribute | Live currency | Dead currency | Must use with | Mutually exclusive with | Default value | Example / Style |
issuing_authority_title | Optional | Optional | issuing_authority | Central bank | Monetary authority, currency board | |
issuing_authority | Optional | Optional | Central Bank of xyz
| |||
issuing_authority_website | Optional | Optional | issuing_authority | www.ecb.eu
| ||
printer | Optional | Optional | Central Printing Shop
| |||
printer_website | Optional | Optional | printer | www.komsep.com
| ||
printer_override_with_original_text | Optional | Optional | printer | Put any non-empty value to enable "original text" of printer. For example,
[http://www.bportugal.pt/ Banco de Portugal]<br/> [http://www.bankofgreece.gr/ Bank of Greece]] | ||
mint | Optional | Optional | Utopian Mint
| |||
mint_website | Optional | Optional | mint | www.swissmint.ch
| ||
mint_override_with_original_text | Optional | Optional | mint | Like printer_override_with_original_text | ||
obsolete_notice | Optional | Optional | Put any non-empty value to enable the obsolete notice. See German mark for example. | |||
footnotes | Optional | Optional |
If things get large, use {{Collapsible list}} wisely.
Blank template
[మార్చు]Here is an empty one for you to start with. It has most of what you need.
{{Infobox Currency | currency_name_in_local = | image_1 = | image_title_1 = | iso_code = | using_countries = | inflation_rate = | inflation_source_date = ''[https://www.cia.gov/library/publications/the-world-factbook/fields/2092.html The World Factbook]'', 2006 est. | subunit_ratio_1 = 1/100 | subunit_name_1 = | symbol = | symbol_subunit_1 = | nickname = | nickname_subunit = | plural = | plural_subunit_1 = | frequently_used_coins = | rarely_used_coins = | frequently_used_banknotes = | rarely_used_banknotes = | issuing_authority = | issuing_authority_website = }}
Euro related
{{Infobox Currency | currency_name_in_local = | image_1 = | image_title_1 = | iso_code = | using_countries = | inflation_rate = | inflation_source_date = ''[https://www.cia.gov/library/publications/the-world-factbook/fields/2092.html The World Factbook]'', 2006 est. | ERM_since = | ERM_fixed_rate_since = | euro_replace_non_cash = | euro_replace_cash = | ERM_fixed_rate = | ERM_band = | subunit_ratio_1 = 1/100 | subunit_name_1 = | symbol = | plural = | plural_subunit_1 = | frequently_used_coins = | rarely_used_coins = | frequently_used_banknotes = | rarely_used_banknotes = | issuing_authority = | issuing_authority_website = }}
Major revision history
[మార్చు]- The following release notes serves as the official documentation of the development of this template. Please do not add to the list for minor fixes.
- Don't need to copy the article name for currency_name anymore. It is now automatic
- Added ERM_withdraw (for pound sterling and Italian lira)
- Added subunit_inline_note_*. Use this if you want to display some explanation right next to the subunit
- Added nickname, both the main unit and subunit
- Added plural. It's nice to put this in the infobox. Use plural_slavic or no_plural when appropriate
- More detailed style guide (the big table above)
- New optional row inflation_method where the most often value is [[Consumer price index|CPI]]
- The heading "Inflation rate" is shorten to "Inflation" so that it won't cause that row to be unnecessarily higher.
- The line separators now touch the box border (i.e. they go all the way left and right)
- Uses the same architecture as {{Infobox Country}}
- As a result, the style is more consistent with {{Infobox Country}}
- Most of the style is now the responsibility of MediaWiki:Common.css. If it changes, all infoboxes implemented with the common style will change. Again consistency.
- Added the option of image background, image_background_1 and image_background_2.
- When enlarging the font, the width of the box widens proportionally.
- New optional parameter unofficial_users
- Removed coin/banknote gallery
- Added atms_dispense
- Removed atms_dispense
- Added image_width_{1..2}