Template:Official website/doc

From Wikiquote
Jump to navigation Jump to search

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 }}

Using Wikidata property P856:

{{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:

* Official website

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: