Template:Official website/doc
Appearance
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
[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.