Шаблон:Uses Wikidata-lat
{{#switch:
| none =
| =
[[File:{{#switch: data
| commons = Commons-logo.svg
| meta|metawiki|m = Wikimedia Community Logo.svg
| wikibooks|wbk|wb|b = Wikibooks-logo-en-noslogan.svg
| wikidata|data = Wikidata-logo.svg
| wikiquote|quote|wqt|q = Wikiquote-logo.svg
| wikipedia|wp|w = Wikipedia-logo-v2.svg
| wikisource|source|ws|s = Wikisource-logo.svg
| wiktionary|wkt|wdy|d = Wiktionary-logo-sr.png
| wikinews|news|wnw|n = Wikinews-logo.svg
| wikispecies|species = Wikispecies-logo.svg
| wikiversity|wvy|v = Wikiversity-logo.svg
| wikivoyage|voyage|voy = Wikivoyage-Logo-v3-icon.svg
| mediawiki|mw = Mediawiki.png
| outreachwiki|outreach = Wikimedia Outreach.png
| incubator = Incubator-notext.svg
| #default = Wikimedia-logo.svg
}}|40x40px|class=noviewer|alt=|link=
]]
| #default =
}} |
Ovaj {{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Шаблон|Модул
| module
| other
}}
}}
| module = modul | other | #default = šablon }} koristi {{#if: | jedno ili više svojstava Vikipodataka; pogledajte [[#{{{section}}}|§ {{{section}}}]] za detalje. | svojstva Vikipodataka: }} |
{{#switch:Uses Wikidata-lat
|sandbox |testcases |doc= |#default=
}}
{{#ifeq:uses wikidata-lat |док
|
{{#ifeq:show |show
|| Ово је документациона подстраница за Шаблон:Uses Wikidata-lat. Садржи информације о коришћењу, категоријама и другом садржају који није део оригиналне странице. |
}}{{#if: |
| {{#ifexist:Шаблон:Uses Wikidata-lat
| [[Категорија:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
|
}}
}}
|
}}
| Ovaj šablon pokreće Lua: |
This template may be used in the documentation of another template or module, to indicate that that template or module uses a Wikidata property or properties, where available.
Usage
Standard usage
{{Uses Wikidata-lat|P1|P2|P3...}}
Replace P1, P2, P3, etc. with the actual property numbers – including the "P". As many or as few as necessary may be specified.
Section link
If the documentation has a section describing and listing the Wikidata properties used, then a section link may be specified instead:
{{Uses Wikidata-lat|section=name of section}}
Examples
For a single property (e.g. d:Property:P496):
{{#if: ||+ {{{title}}}}} {{#if: || Викиозначавање | Резултат у чланку
}}{{#if:{{Uses Wikidata-lat|P496}}| | ||||||||||||||||||||||||||||||
{{Uses Wikidata-lat|P496}}
|
|
testcases |doc= | #default=
}} }}{{#if:| | ||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}} | |||||||||||||||||||||||||||||||
For multiple properties:
{{#if: ||+ {{{title}}}}} {{#if: || Викиозначавање | Резултат у чланку
}}{{#if:{{Uses Wikidata-lat|P10|P20|P30}}| | ||||||||||||||||||||||||||||||
{{Uses Wikidata-lat|P10|P20|P30}}
|
|
testcases |doc= | #default=
}} }}{{#if:| | ||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}} | |||||||||||||||||||||||||||||||
As many properties as needed can be specified:
{{#if: ||+ {{{title}}}}} {{#if: || Викиозначавање | Резултат у чланку
}}{{#if:{{Uses Wikidata-lat|1=P10|2=P20|3=P30|4=P40|5=P50|6=P101|7=P222}}| | ||||||||||||||||||||||||||||||
{{Uses Wikidata-lat|1=P10|2=P20|3=P30|4=P40|5=P50|6=P101|7=P222}}
|
|
testcases |doc= | #default=
}} }}{{#if:| | ||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}} | |||||||||||||||||||||||||||||||
If the properties are described in a section of the documentation (e.g. ===Using Wikidata===):
| Викиозначавање | Резултат у чланку
}}{{#if:{{Uses Wikidata-lat|section=Using Wikidata}}| | ||||||||||||||||||||||||||||||
{{Uses Wikidata-lat|section=Using Wikidata}}
|
|
testcases |doc= | #default=
}} }}{{#if:| | ||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}}{{#if:| | |||||||||||||||||||||||||||||||
}} | |||||||||||||||||||||||||||||||
See also
{{#ifeq:Uses Wikidata-lat|sandbox | | }}