Шаблон:Zvanični veb-sajt-lat/док

Iz Vojne Enciklopedije
< Шаблон:Zvanični veb-sajt-latОво је најновија верзија ове странице; нема одобрених измена.
Пређи на навигацију Пређи на претрагу

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 документација за овај шаблон, коришћена у Визуелном уређивачу и у другим алаткама; погледајте месечни извештај о грешкама за овај шаблон.

TemplateData за Zvanični veb-sajt-lat

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

Параметри шаблона

ПараметарОписВрстаСтатус
URL1 URL

The URL that the template will link to

текстнеобавезно
URL Textname

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

текстнеобавезно
Mobile Websitemobile

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

текстнеобавезно
Requires Flashformat

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

текстнеобавезно

See also