Difference between revisions of "Template:Official website/doc"
From LIMSWiki
Jump to navigationJump to searchShawndouglas (talk | contribs) (Created template as needed for Infobox company.) |
Shawndouglas (talk | contribs) m |
||
Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
The | The purpose of this template is to provide a standard format for labeling links to "official" websites. The only required parameter is the URL. Two other parameters are available: | ||
*<code>name=</code> is used to reformat the title if "official website" is not suitable. | *<code>name=</code> is used to reformat the title if "official website" is not suitable. | ||
*<code>mobile=</code> is optionally used if there is a different "official website" for use with [[Mobile Web]] devices | *<code>mobile=</code> is optionally used if there is a different "official website" for use with [[Mobile Web]] devices |
Latest revision as of 23:04, 26 May 2011
This is a documentation subpage for Template:Official website. It contains usage information, categories, interlanguage links, and other content that is not part of the original template page. |
Usage
The purpose of this template is to provide a standard format for labeling links to "official" websites. The only required parameter is the URL. Two other parameters are 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 software
Some 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) |
See also
- {{URL}} – for use instead of {{Official website}} in infoboxes