Шаблон:Wikidata

Материал из Вики ВМК МГУ
Версия от 22:52, 27 марта 2013; ru>HenkvD
Перейти к: навигация, поиск

{{#if:|{{{2}}}|{{#property:{{{1}}}}}}}

Usage:

{{Wikidata| 1=Property | 2=Override }}

1: Property from wikidata, mandatory
2: Override, could be a parameter of the template, then in the form of {{{parameter|}}}
Only if the override is blank the data is retrieved from Wikidata.
If the data on Wikidata is the same as the override it is advisable to remove the parameter value. Any update is on Wikidata will then be shown immediately.
More parameters needed?
  • A parameter (or parameters) to check if data on Wikidata is the same as the override, or if data on Wikidata is missing, could be used for alerting maintenance (for instance by the use of hidden categories)
  • Check data on Wikidata is the same as the override -> Category: unneeded Wikidata override parameter
  • Check data on Wikidata is missing -> Category: missing Wikidata value
  • Check Check data on Wikidata is different from the override -> Category: check Wikidata inconsistency
  • Qualifier / sources etc.

bs:Šablon:Wikidata he:תבנית:Wikidata hr:Predložak:Wikidata hu:Sablon:Wikidata it:Template:Wikidata sh:Šablon:Wikidata sr:Шаблон:Wikidata tr:Şablon:Wikidata uk:Шаблон:Wikidata uz:Andoza:Wikidata