Калып:Расмий сайт/doc
Көрүнүш
Usage
[булагын түзөтүү]Basic usage
[булагын түзөтүү]This template can be used without specifying any parameters, if the "official website" Property (P856) is set in the respective article's Wikidata record. Just add {{Расмий сайт}} to the article's External links section. If on Wikidata more than one official website is given, the entry tagged with the language being English is automatically preferred.
Advanced usage
[булагын түзөтүү]Four parameters are available:
1=
orURL=
orurl=
is used to specify the URL. If this parameter is omitted, the value of "official website" Property (P856) on Wikidata is used.- NOTE: If this parameter is specified and doesn't match "official website" Property (P856) on Wikidata, the page is added to Category:Official website different in Wikidata and Wikipedia for maintenance.
- If this parameter is specified but the "official website" Property (P856) on Wikidata has not been set, the page is added to Category:Official website not in Wikidata for maintenance.
- If this parameter is not specified and there is no official website available on Wikidata, the page is added to Category:Official website missing URL.
2=
orname=
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 devices.format=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 (URL must be on Wikidata) |
{{Расмий сайт|example.org}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|www.example.org}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|//www.example.org}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|http://www.example.org/}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|https://www.example.org/}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|1=http://www.example.org/?action=view}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|http://www.example.org|name=Example}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|example.org|mobile=http://m.example.org}}
|
No URL found. Please specify a URL here or add one to Wikidata. |
{{Расмий сайт|example.org|format=flash}}
|
No URL found. Please specify a URL here or add one to Wikidata. |