ಟೆಂಪ್ಲೇಟು:Pound sterling/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Pound sterling It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
Relevant discussion at | → Template talk:Currency#Suggestions for a standard set of options for each template |
This is a multifunction template. At its simplest, it adds the currency mark "£", as recommended by for many situations. The template can also link to the Pound sterling article and can even calculate inflation. See warnings below.
Usage
[ಬದಲಾಯಿಸಿ]{{GBP|value}}
Example:
{{GBP}}
→ £{{GBP|123.45}}
→ £೧೨೩.೪೫
Link
[ಬದಲಾಯಿಸಿ]The parameter |link=yes
may be used to link to the article Pound sterling. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.
Example:
{{GBP|123.45|link=yes}}
→ £೧೨೩.೪೫
Inflation calculation
[ಬದಲಾಯಿಸಿ]Do not assume that using this template will mean that a calculated value is "current", "as of ೨೦೨೪", "as of ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨"." or even necessarily "recent". Do not use {{CURRENTYEAR}} to refer to calculated value, instead {{Inflation/year|UK}} may be used. See also . |
The template supports inflation calculation, by way of {{Inflation}}
. If the second parameter is used, to specify a year, and this year is within a certain range of available inflation data (specifically, if 1209 ≤ year
< 2023), the equivalent value represented in 2023 pound will be calculated in parentheses. However, this function should only be used in appropriate situations.
Examples:
{{GBP|100|1208}}
→ £೧೦೦{{GBP|100|1209}}
→ £೧೦೦ (equivalent to £Error when using&#೧೨೩;&#೧೨೩;Inflation&#೧೨೫;&#೧೨೫;
: NaN, check parameters for non-numeric data:&#೧೨೪;r&#೬೧;Expression error: Unexpected < operator.
. in 2023){{GBP|100|1966}}
→ £೧೦೦ (equivalent to £Error when using&#೧೨೩;&#೧೨೩;Inflation&#೧೨೫;&#೧೨೫;
: NaN, check parameters for non-numeric data:&#೧೨೪;r&#೬೧;Expression error: Unexpected < operator.
. in 2023){{GBP|100|1966|link=yes}}
→ £೧೦೦ (equivalent to £Error when using&#೧೨೩;&#೧೨೩;Inflation&#೧೨೫;&#೧೨೫;
: NaN, check parameters for non-numeric data:&#೧೨೪;r&#೬೧;Expression error: Unexpected < operator.
. in 2023){{GBP|100|2022}}
→ £೧೦೦ (equivalent to £Error when using&#೧೨೩;&#೧೨೩;Inflation&#೧೨೫;&#೧೨೫;
: NaN, check parameters for non-numeric data:&#೧೨೪;r&#೬೧;Expression error: Unexpected < operator.
. in 2023){{GBP|100|2023}}
→ £೧೦೦{{GBP|100|೨೦೨೪}}
→ £೧೦೦ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨".{{GBP|100|ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨".}}
→ £೧೦೦Expression error: Unexpected < operator.
Additional parameter |about=yes
will cause the template to calculate to the nearest pound (instead of the nearest penny), and prefix the calculated value with "about". The rounding can be fine-tuned further by using |round=integer
. These parameters may be combined.
Examples:
{{GBP|10|1990}}
→ £೧೦ (equivalent to £Error when using&#೧೨೩;&#೧೨೩;Inflation&#೧೨೫;&#೧೨೫;
: NaN, check parameters for non-numeric data:&#೧೨೪;r&#೬೧;Expression error: Unexpected < operator.
. in 2023){{GBP|10|1990|round=0}}
→ £೧೦ (equivalent to £ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨". in 2023){{GBP|10|1990|about=yes}}
→ £೧೦ (equivalent to about £ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨". in 2023){{GBP|1000|1990|round=2}}
→ £೧,೦೦೦ (equivalent to £ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨". in 2023){{GBP|1000|1990|round=-2}}
→ £೧,೦೦೦ (equivalent to £ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨". in 2023){{GBP|1000|1990|round=-2|about=yes}}
→ £೧,೦೦೦ (equivalent to about £ಪದವಿನ್ಯಾಸ ದೋಷ: ಗುರುತಿಸಲಾಗದ ವಿರಾಮ ಚಿಹ್ನೆ"೨". in 2023)
Redirects here
[ಬದಲಾಯಿಸಿ]TemplateData
[ಬದಲಾಯಿಸಿ]TemplateData for Pound sterling
This template renders the standard British Pound sterling currency abbreviation (£) and an optional value. The abbreviation provides an informative link to the currency article and can even calculate inflation.
ಪರಿಮಿತಿ | ವಿವರ | ನಮೂನೆ | ಸ್ಥಾನಮಾನ | |
---|---|---|---|---|
Amount | 1 | The monetary value. Preferably in numeric value.
| ಸಂಖ್ಯೆ | ಐಚ್ಛಿಕ |
Year | 2 year | The year which the monetary value was recorded
| ಸಂಖ್ಯೆ | ಐಚ್ಛಿಕ |
Display currency article | link | To display ''Pound sterling'' article. 'on' will display the link.
| String | ಐಚ್ಛಿಕ |
Display "GB" before the "£" sign? | long | no description
| String | ಐಚ್ಛಿಕ |
Calculate to nearest pound | about | Calculate to nearest pound
| String | ಐಚ್ಛಿಕ |
Rounding | round | Number of integers to round the value to.
| ಸಂಖ್ಯೆ | ಐಚ್ಛಿಕ |
See also
[ಬದಲಾಯಿಸಿ]- Wikipedia:Manual of Style (dates and numbers)#Currencies
- Template:Currency
- Wikipedia:Wikiproject United Kingdom
- Template:Pounds, shillings, and pence
- Template:AUD
- Template:BDT
- Template:CAD
- Template:CNY
- Template:INR
- Template:JPY
- Template:Philippine peso
- Template:PKR
- Template:US$