داڕێژە:GBP
GB£
This is a multifunction template. At its simplest, it adds the currency mark "GB£", 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}}
→ GB£{{GBP|123.45}}
→ GB£١٢٣٫٤٥
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}}
→ GB£١٢٣٫٤٥
Suppress "GB"
دەستکاریBy specifying |long=no
, display of "GB" before the "£" sign may be suppressed when it is clear from context that the Pound Sterling is meant, rather than other currencies that use £ the symbol.
Example:
{{GBP|123.45|long=no}}
→ £١٢٣٫٤٥
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
< 2020), the equivalent value represented in 2020 pound will be calculated in parentheses. However, this function should only be used in appropriate situations.
Examples:
{{GBP|100|1208}}
→ GB£١٠٠{{GBP|100|1209}}
→ GB£١٠٠ (equivalent to £NaN in 2020){{GBP|100|1966}}
→ GB£١٠٠ (equivalent to £NaN in 2020){{GBP|100|1966|link=yes}}
→ GB£١٠٠ (equivalent to £NaN in 2020){{GBP|100|2019}}
→ GB£١٠٠ (equivalent to £NaN in 2020){{GBP|100|2020}}
→ GB£١٠٠{{GBP|100|٢٠٢٤}}
→ GB£١٠٠{{GBP|100|ھەڵەی دەربڕین: پیتێکی نەناسراو ھەیە "٢"}}
→ GB£١٠٠ھەڵەی دەربڕین: کرداری < پێشبینی نەکراوە.
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}}
→ GB£١٠ (equivalent to £NaN in 2020){{GBP|10|1990|round=0}}
→ GB£١٠ (equivalent to £NaN in 2020){{GBP|10|1990|about=yes}}
→ GB£١٠ (equivalent to about £NaN in 2020){{GBP|1000|1990|round=2}}
→ GB£١٬٠٠٠ (equivalent to £NaN in 2020){{GBP|1000|1990|round=-2}}
→ GB£١٬٠٠٠ (equivalent to £NaN in 2020){{GBP|1000|1990|round=-2|about=yes}}
→ GB£١٬٠٠٠ (equivalent to about £NaN in 2020)
Redirects here
دەستکاری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$
بەڵگەنامەی سەرەوە لە داڕێژە:GBP/docەوە ھاتووە. (دەستکاری بکە | مێژوو) دەستکاریکەران دەتوانن ئەم داڕێژەیە لە پەڕەکانی خۆڵەپەتانێ (دروست بکە | ئاوێنە) و ئەزموون (دروست بکە) تاقی بکەنەوە. تکایە پۆلەکان بە ژێرپەڕەی /doc زیاد بکە. ژێرپەڕەکانی ئەم داڕێژە. |