Nodyn:Official website/doc
Dyma is-ddalen dogfennaeth ar gyfer Nodyn:Official website. Mae'n cynnwys gwybodaeth defnydd, categorïau, dolenni rhyngiaith a chynnwys eraill sydd ddim yn rhan o nodyn dudalen wreiddiol. |
Usage
golyguThe 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 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}}
|
Gwefan swyddogol |
{{Official website|www.example.org}}
|
Gwefan swyddogol |
{{Official website|http://www.example.org/}}
|
Gwefan swyddogol |
{{Official website|https://www.example.org/}}
|
Gwefan swyddogol |
{{Official website|1=http://www.example.org/?action=view}}
|
Gwefan swyddogol |
{{Official website|http://www.example.org|name=Official example website}}
|
Official example website |
{{Official website|example.org|mobile=http://m.example.org}}
|
Gwefan swyddogol (Mobile) |
{{Official website|example.org|format=flash}}
|
Gwefan swyddogol (Requires Adobe Flash Player) |
See also
golygu- {{URL}} – for use instead of {{Official website}} in infoboxes