Template:Official URL/doc

From imedwiki
< Template:Official URL
Jump to navigation Jump to search

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 infoboxes do not need this template and implement its function intrinsically:

Modules and templates used


This template is based (in parts) on the Template:Official URL/doc from the free encyclopedia wikipedia and is licensed under GNU license for free documentation and the Creative Commons Attribution/Share Alike. On wikipedia there is a List of authors accessible. More about importing from wikipedia on page Imedwiki:Importing from wikipedia.