Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  



1.1  Link  





1.2  Inflation calculation  







2 Redirects here  





3 TemplateData  





4 See also  














Template:GBP







Cymraeg
فارسی
Français


Bahasa Indonesia
ि

Bahasa Melayu


Oʻzbekcha / ўзбекча


Scots
Simple English
کوردی
Српски / srpski
Tagalog


 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 




In other projects  



Wikivoyage
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


£

This is a multifunction template. At its simplest, it adds the currency mark "£", as recommended by MOS:CURRENCY 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:

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:

Inflation calculation

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 < 2023), the equivalent value represented in 2023 pound will be calculated in parentheses. However, this function should only be used in appropriate situations.

Examples:

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:

Redirects here

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:GBP in articles based on its TemplateData.

TemplateData for 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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Amount1

The monetary value. Preferably in numeric value.

Example
10000.00
Numberoptional
Year2 year

The year which the monetary value was recorded

Example
2010
Numberoptional
Display currency articlelink

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

Example
on
Stringoptional
Display "GB" before the『£』sign?long

no description

Suggested values
yes no
Example
no
Stringoptional
Calculate to nearest poundabout

Calculate to nearest pound

Example
yes
Stringoptional
Roundinground

Number of integers to round the value to.

Example
2
Numberoptional

See also


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:GBP&oldid=1104830935"

Categories: 
United Kingdom currency templates
Currency templates
Currencies of the United Kingdom
Unit indicator templates
Hidden categories: 
Wikipedia semi-protected templates
Templates using TemplateData
 



This page was last edited on 17 August 2022, at 03:51 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki