Nodyn: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
[golygu cod]Example:
Link
[golygu cod]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:
- {{GB£|123.45|link=yes}} → Nodyn:GB£
Inflation calculation
[golygu cod]Do 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
[golygu cod]See also
[golygu cod]Mae'r ddogfennaeth uchod wedi ei thrawsgynnwys o Nodyn:GBP/doc. (golygu | hanes) Gall golygyddion arbrofi yn y tudalennau pwll tywod (creu | drych) a testcases (creu). Os gwelwch yn dda, ychwanegwch gategorïau a rhyngwicis at yr is-dudalen /doc. Is-dudalennau'r nodyn hwn. |