Template:Official website/doc
This is a documentation subpage for Template:Official website. It contains usage information, categories, and other content that is not part of the original template page. |
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
editUnnamed 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
editOne parameter
editUsage:
* {{Official website | http://www.tompetty.com/ }}
* {{Official website | url = http://www.tompetty.com/ }}
Output:
Two parameters
editUsage:
* {{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
editUsage:
* {{Official website}}
Output:
- {{Official website}} template missing URL and not present in Wikidata.