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  





2 Modules and templates used  





3 TemplateData  





4 See also  














Template:Official URL






Afrikaans
العربية

تۆرکجه
Basa Bali

Banjar
 / Bân-lâm-gú

Cebuano
Cymraeg
Dansk
Ελληνικά
فارسی
Gaeilge


Ilokano
Bahasa Indonesia
Íslenska
Jawa


Kurdî
ि
Македонски


Bahasa Melayu
Монгол



Norsk bokmål
ି


Português
Română
Scots

Simple English
سنڌي
Slovenščina
کوردی
Српски / srpski
Srpskohrvatski / српскохрватски
Sunda
Tagalog
ி
 


Українська
اردو
Tiếng Vit


 

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  



Wikispecies
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


This is the current revision of this page, as edited by Frietjes (talk | contribs)at13:55, 16 October 2019 (bypass redirect per request). The present address (URL) is a permanent link to this version.
(diff)  Previous revision | Latest revision (diff) | Newer revision  (diff)

Usage

There are no parameters for this template. Typical usage is:

{{Infobox settlement
...
| website = {{Official URL}}
}}

This template is for use in infoboxes. It links to property P856 (official website) at Wikidata to retrieve the website and displays in the same way as {{URL}}. If there is no property P856 at Wikidata, nothing will be displayed (unlike {{URL}} which gives an error message). When a website needs to be added or changed, simply go to the Wikidata item and add or change the website at Wikidata. With this template, no edits will be needed at the article (just refresh the page if the website is not visible). An edit link to the Wikidata property is displayed via {{EditAtWikidata}}.

The following templates implement the function of this one intrinsically:

Modules and templates used

TemplateData

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

TemplateData for Official URL

This template is for use in infoboxes. The template outputs the website URL (e.g. "www.example.com") for the article subject with a link to the URL, using the "official website" field (field P856) from the associated Wikidata page, if available. It will not display https:// or http://, but the link will work based on what is specified in Wikidata.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
No parameters specified

See also


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

Categories: 
Templates using data from Wikidata
External link templates using Wikidata
Hidden categories: 
Wikipedia template-protected templates
Templates using TemplateData
 



This page was last edited on 16 October 2019, at 13:55 (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