Template:Official URL
From Wikipedia, the free encyclopedia
![]() | This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
official website (P856) (see uses)
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:
- {{Infobox OS}}
- {{Infobox programming language}}
- {{Infobox software}}
- {{Official website}}
Modules and templates used
- Module:URL via {{URL}}
- Module:Wd via {{Wikidata}}
- Module:If empty via {{If empty}}
TemplateData
TemplateData for Official URL
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also
- {{Official website}}
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.