Nodyn:GBP/doc
Dyma is-ddalen dogfennaeth ar gyfer Nodyn:GBP. Mae'n cynnwys gwybodaeth defnydd, categorïau, dolenni rhyngiaith a chynnwys eraill sydd ddim yn rhan o nodyn dudalen wreiddiol. |
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
golyguExample:
Link
golyguThe 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:
- {{GB£|123.45|link=yes}} → Nodyn:GB£
Inflation calculation
golyguDo not assume that using this template will mean that a calculated value is "current", "as of 2024", "as of 2023" 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 ≤ Nodyn:Var
< Nodyn:Inflation-year), the equivalent value represented in Nodyn:Inflation-year pound will be calculated in parentheses. However, this function should only be used in appropriate situations.
- Nodyn:Tlxi
{{GB£|Nodyn:Var|Nodyn:Var|round=Nodyn:Var|about=yes}}
Examples:
- {{GB£|100|1208}} → Nodyn:GB£
- {{GB£|100|1209}} → Nodyn:GB£
- {{GB£|100|1966}} → Nodyn:GB£
- {{GB£|100|1966|link=yes}} → Nodyn:GB£
- {{GB£|100|Gwall mynegiad: Heb adnabod y nod atalnodi "[".}} → Nodyn:GB£
- {{GB£|100|Nodyn:Inflation-year}} → Nodyn:GB£
- {{GB£|100|2024}} → Nodyn:GB£
- {{GB£|100|2025}} → Nodyn: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=Nodyn:Var
. These parameters may be combined.
Examples:
- {{GB£|10|1990}} → Nodyn:GB£
- {{GB£|10|1990|round=0}} → Nodyn:GB£
- {{GB£|10|1990|about=yes}} → Nodyn:GB£
- {{GB£|1000|1990|round=2}} → Nodyn:GB£
- {{GB£|1000|1990|round=-2}} → Nodyn:GB£
- {{GB£|1000|1990|round=-2|about=yes}} → Nodyn:GB£
Redirects here
golyguSee also
golygu- Wikipedia:Manual of Style (dates and numbers)#Currencies
- Template:Currency
- Wikipedia:Wikiproject United Kingdom
- Template:AUD
- Template:BDT
- Template:CAD
- Template:CNY
- Template:INR
- Template:JPY
- Template:Philippine peso
- Template:PKR
- Template:US$