Difference between revisions of "Template:Official URL"
en>MSGJ (restrict output to one website, English version if available. code by User:Daask) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 00:20, 30 December 2018
<strong%20class= "error"><span%20class="scribunto-error"%20id="mw-scribunto-error-1">Lua%20error%20in%20Module:Wd%20at%20line%202163:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value). http://<strong%20class="error"><span%20class="scribunto-error"%20id="mw-scribunto-error-1">Lua%20error%20in%20Module:Wd%20at%20line%202163:%20attempt%20to%20index%20field%20'wikibase'%20(a%20nil%20value).
This template uses the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
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).
The following infoboxes do not need this template and implement its function intrinsically:
- {{Infobox OS}}
- {{Infobox programming language}}
- {{Infobox software}}
- {{Infobox web browser}}
- {{Official website}}
The above documentation is transcluded from Template:Official URL/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |