Шаблон:Tracks Wikidata/док
{{#ifeq:dok |dok
|
{{#ifeq:show |show
|
| Ovo je dokumentaciona podstranica za Шаблон:Tracks Wikidata. Sadrži informacije o korišćenju, kategorijama i drugom sadržaju koji nije deo originalne stranice. |
}}{{#if: |
| {{#ifexist:Шаблон:Tracks Wikidata
| [[Kategorija:Документација {{#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 tracks the data in or missing from one or more Wikidata properties.
Usage
Standard usage
{{Tracks Wikidata-lat|P1|P2|P3...|cat=}}
- Replace P1, P2, P3, etc. with the actual property numbers – including the "P". As many or as few as necessary may be specified.
|{{SAFESUBST:#if:cat|cat=}}the name a category for the word "tracks" to link to – excluding the "Category:" prefix. Optional parameter; may be a single tracking category (if the template only has one), or a container category (such as Category:MusicBrainz Wikidata tracking categories) which lists all of the template's Wikidata tracking categories. If not specified, the default is Category:Wikidata tracking categories.
Section link
If the documentation has a section describing and listing the Wikidata properties used, then a section link may be specified instead:
{{Tracks Wikidata-lat|section=name of section}}
Examples
For a single property (e.g. d:Property:P496):
{{#if: ||+ {{{title}}}}} {{#if: || Викиозначавање | Резултат у чланку
}}{{#if:{{Tracks Wikidata-lat|P496}}| | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Tracks Wikidata-lat|P496}}
|
|
testcases |doc= | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Шаблон | template | other
}} }} |
template | шаблон | šablon = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Модул | module | other
}} }} |
module = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Категорија | category | other
}} }} |
category = | other | #default =
}} }} }} }} }}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
For multiple properties (as many properties as needed can be specified):
{{#if: ||+ {{{title}}}}} {{#if: || Викиозначавање | Резултат у чланку
}}{{#if:{{Tracks Wikidata-lat|P10|P20|P30}}| | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Tracks Wikidata-lat|P10|P20|P30}}
|
|
testcases |doc= | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Шаблон | template | other
}} }} |
template | шаблон | šablon = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Модул | module | other
}} }} |
module = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Категорија | category | other
}} }} |
category = | other | #default =
}} }} }} }} }}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
With a custom category link:
{{#if: ||+ {{{title}}}}} {{#if: || Викиозначавање | Резултат у чланку
}}{{#if:{{Tracks Wikidata-lat|P40|P50|P101|cat=MusicBrainz Wikidata tracking categories}}| | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Tracks Wikidata-lat|P40|P50|P101|cat=MusicBrainz Wikidata tracking categories}}
|
|
testcases |doc= | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Шаблон | template | other
}} }} |
template | шаблон | šablon = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Модул | module | other
}} }} |
module = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Категорија | category | other
}} }} |
category = | other | #default =
}} }} }} }} }}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
If the properties/tracking are described in a section of the documentation (e.g. ===Wikidata===):
| Викиозначавање | Резултат у чланку
}}{{#if:{{Tracks Wikidata-lat|section=Wikidata}}| | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Tracks Wikidata-lat|section=Wikidata}}
|
|
testcases |doc= | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Шаблон | template | other
}} }} |
template | шаблон | šablon = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Модул | module | other
}} }} |
module = | other | #default = {{#switch:
{{#if:
|
{{{demospace}}} | Категорија | category | other
}} }} |
category = | other | #default =
}} }} }} }} }}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}}{{#if:| | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also