Changes
→Usage: EditAtWikidata
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Uses Wikidata|P856}}
== Usage ==
There are no parameters for this template. Typical usage is:
<pre>{{Infobox settlement
...
| website = {{Official URL}}
}}
</pre>
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 {{tl|URL}}. If there is no property P856 at Wikidata, nothing will be displayed (unlike {{tl|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 {{tl|EditAtWikidata}}.
The following infoboxes do not need this template and implement its function intrinsically:
* {{tl|Infobox OS}}
* {{tl|Infobox programming language}}
* {{tl|Infobox software}}
* {{tl|Infobox web browser}}
* {{tl|Official website}}
== Modules and templates used ==
* [[Module:URL]] via {{tl|URL}}
* [[Module:Wd]] via {{tl|Wikidata}}
* [[Module:If empty]] via {{tl|If empty}}
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:External link templates using Wikidata]]
}}</includeonly>
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Uses Wikidata|P856}}
== Usage ==
There are no parameters for this template. Typical usage is:
<pre>{{Infobox settlement
...
| website = {{Official URL}}
}}
</pre>
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 {{tl|URL}}. If there is no property P856 at Wikidata, nothing will be displayed (unlike {{tl|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 {{tl|EditAtWikidata}}.
The following infoboxes do not need this template and implement its function intrinsically:
* {{tl|Infobox OS}}
* {{tl|Infobox programming language}}
* {{tl|Infobox software}}
* {{tl|Infobox web browser}}
* {{tl|Official website}}
== Modules and templates used ==
* [[Module:URL]] via {{tl|URL}}
* [[Module:Wd]] via {{tl|Wikidata}}
* [[Module:If empty]] via {{tl|If empty}}
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:External link templates using Wikidata]]
}}</includeonly>