Шаблон:Wikidata — различия между версиями
ru>HenkvD (← Новая страница: «{{#if:{{{2|}}}|{{{2}}}|{{#property:{{{1}}}}}}}<noinclude> '''Usage:''' <nowiki>{{Wikidata| 1=Property | 2=Override }}</nowiki> :1: Property fr…») |
ru>HenkvD |
||
Строка 17: | Строка 17: | ||
:* Qualifier / sources etc. | :* 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]] | ||
</noinclude> | </noinclude> |
Версия 22:52, 27 марта 2013
{{#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