If you find this page useful and would like to be notified of changes made to this page, start by inputting your email below.
powered by ChangeDetection
Official website
The purpose of this template is to provide a standard format for labeling links to official websites. The only required parameter is the URL. Three other parameters are also available:
name=
is used to reformat the title if "official website" is not suitable.mobile=
is optionally used if there is a different "official website" for use with Mobile Web devicesformat=flash
is optionally used if the website requires Adobe Flash Player softwareSome URLs that contain special characters, such as &
or =
, will break the template. The solution is to prepend the URL with 1=
Code | Result |
---|---|
{{Official website|example.org}}
|
Official website |
{{Official website|www.example.org}}
|
Official website |
{{Official website|http://www.example.org/}}
|
Official website |
{{Official website|https://www.example.org/}}
|
Official website |
{{Official website|1=http://www.example.org/?action=view}}
|
Official website |
{{Official website|http://www.example.org|name=Official example website}}
|
Official example website |
{{Official website|example.org|mobile=http://m.example.org}}
|
Official website (Mobile) |
{{Official website|example.org|format=flash}}
|
Official website (Requires Adobe Flash Player) |
Official website
<TemplateData> {
"description": "This template is used to mark articles without geolocation data (coordinates). Use the Coordinates: Missing latitude"params": {
"1": {
"label": "URL", "description": "The URL that the template will link to", "type": "string", "required": true }, "name": { "label": "URL Text", "description": "The text the URL will display. If not provided this will default to 'Official website", "type": "string", "required": false },
"mobile": {
"label": "Mobile Website", "description": "If the website has a different 'official website' for mobile devices this website can be listed here", "type": "string", "required": false },
"format": {
"label": "Requires Flash", "description": "If the website requires Adobe Flash Player software to be displayed, set this parameters value to 'flash'", "type": "string", "required": false } }
} </TemplateData>
The above documentation is transcluded from wikipedia: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. |