Šablon:Zvanični veb-sajt-lat/dok

Izvor: Vojna Enciklopedija
< Шаблон:Zvanični veb-sajt-lat
Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
(razl) ← Starija izmena | Trenutna verzija (razl) | Novija izmena → (razl)
Pređi na navigaciju Pređi na pretragu

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

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

Usage

Basic usage

Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permittedLua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted 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

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}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|www.example.org}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|//www.example.org}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|http://www.example.org/}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|https://www.example.org/}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|1=http://www.example.org/?action=view}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|http://www.example.org|name=Primer}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|example.org|mobile=http://m.example.org}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted
{{Zvanični veb-sajt|example.org|format=flash}} Lua error: Cannot create process: proc_open(/dev/null): failed to open stream: Operation not permitted

TemplateData

Ово је TemplateData dokumentacija za ovaj šablon, korišćena u Vizuelnom uređivaču i u drugim alatkama; pogledajte mesečni izveštaj o greškama za ovaj šablon.

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