Template talk:Infobox Currency
From Wikipedia, the free encyclopedia
Contents |
[edit] 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>One line per language. Use language icons found at Category:Language icons. Use capitalization rule as if it is in the middle of a sentence in that language. For example, "franc français", not "Franc français", nor "franc Français". Try to list the translation in all the languages of the "using_countries" attribute below. |
|||
image_1 | Optional | Optional | The default width is 126px if there are two images, 252px if one image. If you wish to override this value, perhaps because the image is actually smaller than size this template specifies, then add something like {{!}}100px at the end of the image file name, not |100px. See East Caribbean dollar and Polish złoty for examples. | |||
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 | |
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 | |||
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 definted 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 | |||
coin_gallery_1 | Optional | Optional | Gallery of circulating Europe coins#Norway (no bracket [[ ]]) | |||
coin_gallery_2 | Optional | Optional | Commons:Danish coins (no bracket [[ ]]) | |||
coin_gallery_3 | Optional | Optional | Commons:Category:Croatian coins (no bracket [[ ]]) | |||
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 | |||
banknote_gallery_1 | Optional | Optional | Gallery of banknotes#Kazakhstan (no bracket [[ ]]) | |||
banknote_gallery_2 | Optional | Optional | Commons:Somewherer's banknotes (no bracket [[ ]]) | |||
banknote_gallery_3 | Optional | Optional | Commons:Category:Kuna bills (no bracket [[ ]]) | |||
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.ipzs.it/ Istituto Poligrafico e Zecca dello Stato]<br/> [http://www.bportugal.pt/ Banco de Portugal] |
||
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 |
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/cia/publications/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 = | coin_gallery_1 = | coin_gallery_2 = | frequently_used_banknotes = | rarely_used_banknotes = | banknote_gallery_1 = | banknote_gallery_2 = | 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/cia/publications/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 = | coin_gallery_1 = | coin_gallery_2 = | frequently_used_banknotes = | rarely_used_banknotes = | banknote_gallery_1 = | banknote_gallery_2 = | issuing_authority = | issuing_authority_website = }}
[edit] 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.
[edit] July 14, 2006
- 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)
[edit] October 6, 2006
- 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.
[edit] December 24, 2006
- 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 or territory}}
- As a result, the style is more consistent with {{Infobox Country or territory}}
- 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.
[edit] Slang terms
Many I suggest about somewhere putting the popular local slang words for currency in the list, like quid (GBP), buck/greenback (USD) or loonie/huard (CAD). 159753 20:40, 8 July 2006 (UTC)
- Will do. I will also add "plural of main unit", "plural of subunit", ERM withdraw date. --Chochopk 20:44, 8 July 2006 (UTC)
[edit] Other uses
This would be usefull for outdated non european currencies, but need a 'replced ? and replaced by which currently cant do. Enlil Ninlil 08:25, 10 July 2006 (UTC) Eg Malian franc
- I definitely thought about this. But it is proven inappropriate a few months ago because the "replace" relationship is not linear: it transcends time and space. Take a look at the succession boxes at the bottom of East African shilling and Malaya and British Borneo dollar and you will understand. ERM is a unique thing in history that interests a lot of people, and is representable in this infobox. 20 some currencies would make use of this so that's why I decided to put it there. The country infobox also has "EU ascension date". --Chochopk 09:36, 10 July 2006 (UTC)
[edit] CIA World Fact Book
The correct title for the "CIA World Fact Book" is The World Factbook. I'll change the example above. – Zntrip 00:40, 30 August 2006 (UTC)
[edit] Vote on style of coin/banknote list
Please vote
Now that the currency infobox has been implemented to 160 currencies, including some obsolete ones and even "European Currency Unit". But I have stumbled upon a formatting issue numerous times. So I would like to start a voting on the formatting of the list of "used coins/banknotes" in the infobox. There are many "factors" (dimension, attribute, whatever you call it) to decide
- The following discussion is an archived debate of the proposal. Please do not modify it. Subsequent comments should be made in a new section on the talk page. No further edits should be made to this section.
The result is incorporated above. It may not satisfy everyone, but some conclusion has to be drawn.
|
|
|
I guess I didn't formulate the question well. My apology. My question was, in the case of dollar, the symbol is in front of the numbers, then it looks weird to write "1, 5, ... , $100". Regarding what's "rare" and what's "frequent". I will write a detail explanation in the infobox instruction. But that is a rather different topic. If you want to discuss, please open a new thread. --Chochopk 05:03, 27 August 2006 (UTC) |
--Chochopk 08:27, 24 August 2006 (UTC)
|
[edit] Disambiguation Link Repair
I am working on disambiguation link repair, and have found the this info box points to the Printer disambiguation page. Would someone be willing to redirect that link to point to printer? I am not familiar with the rules and mechanics of inbox editing, so I figured this was the best approach. Thanks. Srice13 18:42, 12 September 2006 (UTC)
[edit] Adjustment
I propose making an adjustment to the infobox to show the estimated value against other major currencies say limiting it at the top 5 currencies. Whenever I hear a person signed an agreement for 500,000 Francs or Pounds, I only really want to know what that equals in dollars when I click on the word. I'm sure other editors feel the same way about foreign currencies. Quadzilla99 03:29, 1 March 2007 (UTC)
[edit] Arabic and Hebrew
Is there any way to get Arabic and Hebrew in the "local name" section centred? – Zntrip 01:37, 14 March 2007 (UTC)
- Hmm.. this appears to be a problem specific to IE. Firefox has no problem centering it. Please remind me if I forget. --ChoChoPK (球球PK) (talk | contrib) 07:21, 14 March 2007 (UTC)
[edit] Monetary Policy Used
There is a catagory called "Fixed exchange rate" which includes most of the worlds currencies that have a fixed exchange rate as their monetary policy. If there any way to add to the Currency infobox an optional field that outlines the montetary policy used to manage the currency. That way it should be easy to collate currencies according to the monetary policy approach used. Unfortunately my skill/confidence with Infoboxes is too low to attempt this myself. Terjepetersen 01:40, 26 March 2007 (UTC)
- Perhaps I can work something out. What is the specification you envision? If an infobox specifies "pegged_with", then put it under Category:Fixed exchange rate automatically? There are two kinds of peg, hard peg and floating within a narrow band. Currently, the infobox style guide says only put hard peg, while Category:Fixed exchange rate allows both. While we're at it, maybe we can try to make this more consistent. --ChoChoPK (球球PK) (talk | contrib) 02:00, 26 March 2007 (UTC)