Template:Official URL/doc
![]() | This is a documentation subpage for Template:Official URL. It contains usage information, categories and other content that is not part of the original template page. |
![]() | この記事は、クリエイティブ・コモンズ・表示・継承ライセンス3.0のもとで公表されたウィキペディアの項目Template:Official URL/docを素材として二次利用しています。 Lua error in Module:Itemnumber at line 91: attempt to concatenate local 'qid' (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). An edit link to the Wikidata property is displayed via {{EditAtWikidata}}.
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}}
Modules and templates used
- Module:URL via {{URL}}
- Module:Wd via {{Wikidata}}
- Module:If empty via {{If empty}}