Пређи на садржај

Шаблон:Tracks Wikidata

Iz Vojne Enciklopedije
Документација шаблона[прикажи] [уреди] [историја] [освежи]

{{#ifeq:tracks wikidata |dok

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:Шаблон:Tracks Wikidata
                  | [[Kategorija:Документација {{#switch:Шаблон |Шаблон=шаблона |Модул=модула |Корисник=корисничких страница |#default=Википедије}}]]
                  | 
                 }}
        }}
    | 
   }}

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.

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}}
{{#switch:Tracks 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:|


}}

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}}
{{#switch:Tracks 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:|


}}

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}}
{{#switch:Tracks 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:|


}}

If the properties/tracking are described in a section of the documentation (e.g. ===Wikidata===):

{{#if: ||+ {{{title}}}}} {{#if: |
Викиозначавање Резултат у чланку

}}{{#if:{{Tracks Wikidata-lat|section=Wikidata}}|

{{Tracks Wikidata-lat|section=Wikidata}}
{{#switch:Tracks 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

{{#ifeq:Tracks Wikidata|sandbox | | }}