ढाँचा:Relevant discussion

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.

{{GBP|value}}

Example:

  • {{GBP}}£
  • {{GBP|123.45}}£१२३.४५

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}}£१२३.४५

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£१२३.४५

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.

  • {{GBP|value|year}}
  • {{GBP|value|year|round=round|about=yes}}

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)
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this 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.

ढाँचा प्यारामिटरहरू

मापदण्डविवरणप्रकारस्थिति
Amount1

The monetary value. Preferably in numeric value.

उदाहरण
10000.00
सङ्ख्यावैकल्पिक
Year2 year

The year which the monetary value was recorded

उदाहरण
2010
सङ्ख्यावैकल्पिक
Display currency articlelink

To display ''Pound sterling'' article. 'on' will display the link.

उदाहरण
on
Stringवैकल्पिक
Display "GB" before the "£" sign?long

कुनैपनि विवरण छैन

प्रस्तावित मानहरू
yes no
उदाहरण
no
Stringवैकल्पिक
Calculate to nearest poundabout

Calculate to nearest pound

उदाहरण
yes
Stringवैकल्पिक
Roundinground

Number of integers to round the value to.

उदाहरण
2
सङ्ख्यावैकल्पिक