The purpose of this template is to provide a standard format for labeling links to official websites.

Usage uredi

Basic usage uredi

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 {{official website}} to the article's External weblinks section. If on Wikidata more than one official website is given, the entry tagged with the language being English is automatically preferred.

Advanced usage uredi

Four parameters are available:

Some URLs that contain special characters, such as & or =, will break the template. The solution is to prepend the URL with 1=

Code Result
{{Zvanični veb-sajt}} Zvanični veb-sajt (URL must be on Wikidata)
{{Zvanični veb-sajt|example.org}} Zvanični veb-sajt
{{Zvanični veb-sajt|www.example.org}} Zvanični veb-sajt
{{Zvanični veb-sajt|//www.example.org}} Zvanični veb-sajt
{{Zvanični veb-sajt|http://www.example.org/}} Zvanični veb-sajt
{{Zvanični veb-sajt|https://www.example.org/}} Zvanični veb-sajt
{{Zvanični veb-sajt|1=http://www.example.org/?action=view}} Zvanični veb-sajt
{{Zvanični veb-sajt|http://www.example.org|name=Primer}} Primer
{{Zvanični veb-sajt|example.org|mobile=http://m.example.org}} Zvanični veb-sajt (mobilni)
{{Zvanični veb-sajt|example.org|format=flash}} Zvanični veb-sajt (neophodan Adobe Flash Player)

TemplateData uredi

Ово је TemplateData za ovaj šablon, koja se koristi u TemplateWizard, Vizuelnom uređivaču i drugim alatkama. Pogledajte mesečni izveštaj o upotrebi paramera za ovaj šablon u člancima zasnovanim na ovom TemplateData.

TemplateData za Zvanični veb-sajt-lat

The purpose of this template is to provide a standard format for labeling links to official websites.

Parametri šablona

ParametarOpisVrstaStatus
URL1 URL

The URL that the template will link to

tekstneobavezno
URL Textname

The text the URL will display. If not provided this will default to 'Official website''

tekstneobavezno
Mobile Websitemobile

If the website has a different 'official website' for mobile devices this website can be listed here

tekstneobavezno
Requires Flashformat

If the website requires Adobe Flash Player software to be displayed, set this parameters value to 'flash'

tekstneobavezno

See also uredi