మూస:Infobox Currency
This మూస employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Infobox Currency {{{currency_name_in_local}}} | |||||
| |||||
ISO 4217 కోడ్ | {{{iso_code}}} | ||||
---|---|---|---|---|---|
Official user(s) | {{{using_countries}}} | ||||
అనధికార వినియోగదారులు | {{{unofficial_users}}} | ||||
ద్రవ్యోల్బణం | {{{inflation_rate}}} | ||||
మూలం | {{{inflation_source_date}}} | ||||
విధానం | {{{inflation_method}}} | ||||
ERM | |||||
Since | {{{ERM_since}}} | ||||
Withdrawn | {{{ERM_withdraw}}} | ||||
Fixed rate since | {{{ERM_fixed_rate_since}}} | ||||
Replaced by €, non cash | {{{euro_replace_non_cash}}} | ||||
Replaced by €, cash | {{{euro_replace_cash}}} | ||||
€ = | {{{ERM_fixed_rate}}} | ||||
Band | {{{ERM_band}}} | ||||
Pegged with | {{{pegged_with}}} | ||||
Pegged by | {{{pegged_by}}} | ||||
{{{superunit_ratio_1}}} | {{{superunit_name_1}}} {{{superunit_inline_note_1}}} | ||||
{{{superunit_ratio_2}}} | {{{superunit_name_2}}} {{{superunit_inline_note_2}}} | ||||
{{{superunit_ratio_3}}} | {{{superunit_name_3}}} {{{superunit_inline_note_3}}} | ||||
{{{superunit_ratio_4}}} | {{{superunit_name_4}}} {{{superunit_inline_note_4}}} | ||||
{{{superunit_ratio_5}}} | {{{superunit_name_5}}} {{{superunit_inline_note_5}}} | ||||
విభాగాలు | |||||
{{{subunit_ratio_1}}} | {{{subunit_name_1}}} {{{subunit_inline_note_1}}} | ||||
{{{subunit_ratio_2}}} | {{{subunit_name_2}}} {{{subunit_inline_note_2}}} | ||||
{{{subunit_ratio_3}}} | {{{subunit_name_3}}} {{{subunit_inline_note_3}}} | ||||
{{{subunit_ratio_4}}} | {{{subunit_name_4}}} {{{subunit_inline_note_4}}} | ||||
{{{subunit_ratio_5}}} | {{{subunit_name_5}}} {{{subunit_inline_note_5}}} | ||||
గుర్తు | {{{symbol}}} | ||||
{{{subunit_name_1}}} | {{{symbol_subunit_1}}} | ||||
{{{subunit_name_2}}} | {{{symbol_subunit_2}}} | ||||
{{{subunit_name_3}}} | {{{symbol_subunit_3}}} | ||||
{{{subunit_name_4}}} | {{{symbol_subunit_4}}} | ||||
{{{subunit_name_5}}} | {{{symbol_subunit_5}}} | ||||
నిక్నేమ్ | {{{nickname}}} | ||||
{{{subunit_name_1}}} | {{{nickname_subunit_1}}} | ||||
{{{subunit_name_2}}} | {{{nickname_subunit_2}}} | ||||
{{{subunit_name_3}}} | {{{nickname_subunit_3}}} | ||||
{{{subunit_name_4}}} | {{{nickname_subunit_4}}} | ||||
{{{subunit_name_5}}} | {{{nickname_subunit_5}}} | ||||
బహువచనం | {{{plural}}}The language(s) of this currency belong(s) to the Slavic languages. There is more than one way to construct plural forms. See article.The language(s) of this currency does not have a morphological plural distinction. | ||||
{{{subunit_name_1}}} | {{{plural_subunit_1}}} | ||||
{{{subunit_name_2}}} | {{{plural_subunit_2}}} | ||||
{{{subunit_name_3}}} | {{{plural_subunit_3}}} | ||||
{{{subunit_name_4}}} | {{{plural_subunit_4}}} | ||||
{{{subunit_name_5}}} | {{{plural_subunit_5}}} | ||||
నాణేలు | {{{used_coins}}} | ||||
తరచు వాడేవి | {{{frequently_used_coins}}} | ||||
అరుదుగా వాడేవి | {{{rarely_used_coins}}} | ||||
బ్యాంకు నోటులు | {{{used_banknotes}}} | ||||
తరచు వాడేవి | {{{frequently_used_banknotes}}} | ||||
అరుదుగా వాడేవి | {{{rarely_used_banknotes}}} | ||||
విడుదల చేసే అధికారం | {{{issuing_authority}}} | ||||
వెబ్ సైటు | www.wikipedia.org | ||||
ముద్రణ | {{{printer}}} | ||||
వెబ్సైటు | www.wikipedia.org | ||||
మింట్ | {{{mint}}} | ||||
వెబ్సైటు | www.wikipedia.org | ||||
This infobox shows the latest status before this currency was rendered obsolete. | |||||
{{{footnotes}}} |
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}