Вилучено вміст Додано вміст
Немає опису редагування
Немає опису редагування
Рядок 33:
 
* Wikidata
** загляньте в елемент даних [[d:Q228|Андорра]].
** Wikidata using in a Wikivoyage article you have two options:
** Щоб скористатися даними у статті або шаблоні, є два шляхи:
*** parser function. To get the country calling code for the country described by the article for example just use <nowiki>{{#property:country calling code}}</nowiki> or <nowiki>{{#property:P474}}</nowiki>.
*** Функція парсера. Щоб отримати телефонний код для країни в статті про неї, просто використовуйте <nowiki>{{#property:country calling code}}</nowiki> або <nowiki>{{#property:P474}}</nowiki>.
*** Lua. The details about access to data via Lua is explained at [[mw:Extension:WikibaseClient/Lua]].
*** Lua. Подробиці про доступ до даних через Lua пояснюються в [[mw:Extension:WikibaseClient/Lua]].
** A much better solution for classifying things is to use "type" properties recommended for the Semantic Web by the W3C -- that is, use rdf:type and rdfs:subClassOf. These properties exist in Wikidata as '''instance of''' (P31) and '''subclass of''' (P279). [[d:Wikidata:Requests for comment/Migrating away from GND main type]]