आकृति:Official website/doc
This is a documentation subpage for आकृति:Official website. It contains usage information, categories and other content that is not part of the original आकृति page. |
Usage
सम्पादन करीThe purpose of this template is to provide a standard format for labeling links to official websites. Four parameters are available:
1=
is used to specify the URL. If this parameter is omitted, the value of "official website" Property (P856) on Wikidata is used.name=
is used to reformat the title if "official website" is not suitable.
- NOTE: This name should succinctly and accurately describe the external link in relation to the subject. In particular, it should not include the article subject's name as the reader reasonably expects that all external links pertain to the subject.
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|www.example.org}}
|
आधिकारिक पृष्ठजाल |
{{Official website|//www.example.org}}
|
आधिकारिक पृष्ठजाल |
{{Official website|http://www.example.org/}}
|
आधिकारिक पृष्ठजाल |
{{Official website|https://www.example.org/}}
|
आधिकारिक पृष्ठजाल |
{{Official website|1=http://www.example.org/?action=view}}
|
आधिकारिक पृष्ठजाल |
{{Official website|http://www.example.org|name=Example}}
|
Example |
{{Official website|example.org|mobile=http://m.example.org}}
|
आधिकारिक पृष्ठजाल (Mobile) |
{{Official website|example.org|format=flash}}
|
आधिकारिक पृष्ठजाल (Requires Adobe Flash Player) |
TemplateData
सम्पादन करीSee the monthly error report for this template.
TemplateData for Official website
The purpose of this template is to provide a standard format for labeling links to official websites.
पैरामीटर | विवरण | प्रकार | स्थिति | |
---|---|---|---|---|
URL | 1 | The URL that the template will link to | स्ट्रिंग | वैकल्पिक |
URL Text | name | The text the URL will display. If not provided this will default to 'Official website'' | स्ट्रिंग | वैकल्पिक |
Mobile Website | mobile | If the website has a different 'official website' for mobile devices this website can be listed here | स्ट्रिंग | वैकल्पिक |
Requires Flash | format | If the website requires Adobe Flash Player software to be displayed, set this parameters value to 'flash' | स्ट्रिंग | वैकल्पिक |
See also
सम्पादन करी- {{URL}} – for use instead of {{Official website}} in infoboxes
- {{Official websites}} – for multiple websites such as for different countries (preferably in English)
- {{Official websites in}} – for multiple websites in different languages (preferably in English)