Template:Official website
Appearance
The purpose of this template is to provide a standard format for labeling links to the official website of an article's main topic.
Usage
[edit]Unnamed parameters:
{{Official website | URL }}
{{Official website | URL | NAME }}
Named parameters:
{{Official website | url = URL }}
{{Official website | url = URL | name = NAME }}
{{Official website}}
{{Official website | name = NAME }}
Examples
[edit]One parameter
[edit]Usage:
* {{Official website | http://www.tompetty.com/ }}
* {{Official website | url = http://www.tompetty.com/ }}
Output:
Two parameters
[edit]Usage:
* {{Official website | http://www.tompetty.com/ | Tom Petty's official website }}
* {{Official website | url = http://www.tompetty.com/ | name = Tom Petty's official website }}
Output:
No URL in template or Wikidata
[edit]Usage:
* {{Official website}}
Output:
- {{Official website}} template missing URL and not present in Wikidata.
The above documentation is transcluded from Template:Official website/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. |