ढाँचा:GBP
£
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}}
→ £१२३.४५
Display "GB"
[सम्पादन गर्नुहोस्]By specifying |long=yes
, display of "GB" before the "£" sign may be enabled when additional context is required to demonstrate Pound Sterling is meant, rather than other currencies that use £ the symbol.
Example:
{{GBP|123.45|long=yes}}
→ GB£१२३.४५
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 1264 ≤ year
< 2019), the equivalent value represented in 2019 pound will be calculated in parentheses. However, this function should only be used in appropriate situations.
Examples:
{{GBP|100|1263}}
→ £१००{{GBP|100|1264}}
→ £१०० (equivalent to £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|100|1966}}
→ £१०० (equivalent to £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|100|1966|link=yes}}
→ £१०० (equivalent to £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|100|2018}}
→ £१०० (equivalent to £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|100|2019}}
→ £१००{{GBP|100|२०२४}}
→ £१००अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।{{GBP|100|अभिव्यक्ति त्रुटि: अज्ञात विराम चिन्ह चरित्र "२"।}}
→ £१००अभिव्यक्ति त्रुटि: अनपेक्षित < सञ्चालक।
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&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|10|1990|round=0}}
→ £१० (equivalent to £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|10|1990|about=yes}}
→ £१० (equivalent to about £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|1000|1990|round=2}}
→ £१,००० (equivalent to £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|1000|1990|round=-2}}
→ £१,००० (equivalent to £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019){{GBP|1000|1990|round=-2|about=yes}}
→ £१,००० (equivalent to about £Error when using &#१२३;&#१२३;Inflation&#१२५;&#१२५;:&#१२४;index&#६१;UK
(parameter १) not a recognized index. in 2019)
Redirects here
[सम्पादन गर्नुहोस्]TemplateData
[सम्पादन गर्नुहोस्]GBPको कागजात
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 | कुनैपनि विवरण छैन
| String | वैकल्पिक |
Calculate to nearest pound | about | Calculate to nearest pound
| String | वैकल्पिक |
Rounding | round | Number of integers to round the value to.
| सङ्ख्या | वैकल्पिक |