Шаблон:EditAtWikidata-lat
Изглед
Lua грешка in Модул:EditAtWikidata-lat at line 37: attempt to index field 'wikibase' (a nil value).
{{#ifeq:editatwikidata-lat |dok
|
{{#ifeq:show |show
|| Ovo je dokumentaciona podstranica za Шаблон:EditAtWikidata-lat. Sadrži informacije o korišćenju, kategorijama i drugom sadržaju koji nije deo originalne stranice. |
}}{{#if: |
| {{#ifexist:Шаблон:EditAtWikidata-lat
| [[Kategorija:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
|
}}
}}
|
}}
| Ovaj šablon pokreće Lua: |
Template to display an icon with a tooltip such as "Edit this at Wikidata"
- Icon will be linked to the Wikidata entry for the article where this is placed.
- The link can be modified to point to a specific property in the Wikidata entry by supplying the optional named parameter
|{{SAFESUBST:#if:pid|pid=}}. - This message is only displayed if a local_parameter is not supplied; i.e. when called from within a template, it can be coded not to display the icon when a local parameter is in use, which means the value from Wikidata is not used.
- The qid of a Wikidata entry can optionally be supplied for testing outside the article (this is an expensive call).
Usage
{{EditAtWikidata-lat}}
Outside the article:
{{EditAtWikidata-lat |qid=<Qid of article at Wikidata>}}
Inside another template:
{{EditAtWikidata-lat |{{{local_parameter|}}} }}
To make the link point to the given propertyID at the Wikidata entry:
{{EditAtWikidata-lat |pid=<PropertyID> |local_parameter}}
{{#if:{{#ifeq:EditAtWikidata-lat|sandbox|1}}||
}}