百合什么时候收获| 梦见在河里抓鱼是什么征兆| 胆碱能性荨麻疹吃什么药| 白蛋白是什么意思| 长江后浪推前浪是什么意思| 什么动物没有眼睛| rp是什么意思| 胡思乱想是什么意思| 来事头疼什么原因| 胃胀气吃什么药| 若什么若什么的成语| 腿浮肿是什么原因引起的| 什么食物可以减肥| 七四年属什么生肖| 前列腺增生用什么药好| 指甲盖上有竖纹是什么原因| 右脸麻木是什么原因| 银花有焰万家春是什么生肖| 上升星座是什么意思| 牙刷什么样的刷毛最好| 一路繁花的意思是什么| 头晕挂什么科| 盆腔炎吃什么药效果最好| 梦到怀孕生孩子是什么意思| fox是什么意思| 什么叫化疗为什么要化疗| 什么是护理| 变应性鼻炎是什么意思| 真露兑什么好喝| 过敏去医院挂什么科| 女生什么时候容易怀孕| 透明隔间腔是什么意思| 枸橼酸西地那非片有什么副作用| 公因数是什么意思| 小龙虾什么季节吃最好| 小水滴会变成什么| 脚癣用什么药| 氨基丁酸是什么| 拉夏贝尔属于什么档次| 鸡奸是什么意思| 低回声是什么意思| 小孩头发黄是什么原因| s牌运动鞋是什么牌子| 人为什么会突然晕倒| 疤痕痒是什么原因| 糖尿病人可以吃什么水果| 什么器晚成| 首选是什么意思| 最快的速度是什么| 能力很强的动物是什么| 胃充盈欠佳是什么意思| 出水痘能吃什么食物| 不下面一个一念什么| 后援团是什么意思| 派石项链有什么功效| 什么情况下需要割包皮| 梦到自行车丢了是什么意思| 38岁适合什么护肤品| 空腹喝牛奶为什么会拉肚子| 回族信奉什么教| 射进去什么感觉| 龚自珍是什么朝代的| 欧诗漫适合什么年龄| 尿很臭是什么原因| 痤疮用什么药| 加味逍遥丸和逍遥丸有什么区别| 尿酸高多吃什么食物好| 买什么| 炁读什么| 槐树什么时候开花| 无缘是什么意思| 孕早期不能吃什么食物| 美国为什么那么强大| 双肾囊性灶是什么意思| 肌肉萎缩是什么症状| 梦见手机摔碎了是什么意思| 卵巢钙化灶是什么意思| 12年一个轮回叫什么| 又是什么意思| 夜里咳嗽是什么原因| 2月15日是什么星座| 胃疼可以吃什么水果| 女生是党员有什么好处| 手足口病是什么原因引起的| 蔓越莓是什么水果| 开封古代叫什么| 年兽叫什么| 办狗证需要什么资料| 甲状腺有什么反应| rococo是什么牌子| 痛经 吃什么| 痘痘挤出来的白色东西是什么| 四川酸菜是什么菜| 郡主是什么意思| 嗜酸性粒细胞偏低是什么原因| 铜镯子对人有什么好处| 什么是比特币| 远在天边近在眼前是什么意思| 什么加什么等于红色| 肚脐左侧按压疼是什么原因| 龟苓膏的原料是什么| 手电筒的金属外壳相当于电路中的什么| 类似蜈蚣的虫子叫什么| meme什么意思| 手串14颗代表什么意思| 什么是感光食物| 胰腺炎是什么| 什么人适合吃人参| 口腔溃疡用什么药好| 地球是什么意思| 回归是什么意思| 三点水加个及念什么| 马卡龙为什么这么贵| 娘子啊哈是什么歌| 升白针叫什么名字| 小孩腿疼膝盖疼可能是什么原因| 更年期是什么意思| 人的舌头有什么作用| 十指不沾阳春水什么意思| 男人血精是什么原因造成的| 老年痴呆症是什么原因引起的| 胃复安又叫什么| 浅褐色是什么颜色| 睡眠不好去医院看什么科| 餐后血糖高吃什么药| 67年的羊是什么命| 五谷有什么| 上颚痒是什么原因| 香菜什么时候种最合适| q10什么时候吃最好| 空调制冷效果差是什么原因| 加味逍遥丸和逍遥丸有什么区别| 死精是什么原因造成的| 腐女什么意思| 皂角米是什么东西| 牛仔裤配什么上衣| 肌红蛋白低说明什么| la是什么牌子| 大姨妈期间适合吃什么| 肾脏炎有什么症状| 软包是什么意思| 万亿后面是什么单位| 体重突然下降是什么原因| 梦见金项链是什么意思| 什么是忧郁症| 机能鞋是什么意思| 车厘子什么时候成熟| 异什么意思| 小便带血是什么原因女性| 飞蛾吃什么东西| 鱿鱼和什么炒好吃| 老是拉肚子是什么原因| 什么家常菜好吃| 老是口干舌燥是什么原因| 孕晚期缺铁对胎儿有什么影响| 恺字五行属什么| 久站腿肿是什么原因引起的| hpv阳性有什么症状| nbcs是什么意思| 鼻子经常出血是什么病征兆| 世界上最多笔画的字是什么字| 农历12月26日是什么星座| 嗑药是什么意思| 芦荟有什么功效与作用| 什么的手| nb是什么意思| 夏至节气吃什么| 老年人缺钾吃什么好| 蓝莓有什么营养价值| comeon什么意思| 双鱼座的幸运色是什么颜色| 三星是什么军衔| 霉菌性阴炎用什么药止痒效果好| 放风是什么意思| 心急是什么病的症状| 什么茶最好| pink是什么颜色| 防冻液红色和绿色有什么区别| 喝酒后吃头孢有什么反应| 97年出生属什么| 心脏病有什么症状| 带状疱疹是什么| 有鸟飞进屋是什么预兆| 智齿前面一颗牙叫什么| 温吞是什么意思| 蛔虫是什么动物| 九月初四是什么星座| 伏什么意思| 丁丁历险记的狗是什么品种| 看睾丸去医院挂什么科| 凹是什么意思| 83年属什么生肖| 经常尿路感染是什么原因| 什么是粉尘螨过敏| 霉菌是什么东西| 09年属什么| 水丸是什么意思| 舌苔是什么| 截根疗法是什么| 湿气重要吃什么| 死精是什么样的颜色| ckmb是什么意思| 什么是脑白质病| 梅雨季节是什么时候| 蒙蔽是什么意思| 打完狂犬疫苗不能吃什么| 牙齿浮起来是什么原因| 蠓虫叮咬后涂什么药膏| 为什么不能天天喝豆浆| e抗原阳性是什么意思| 鸡胗是什么部位| hv是什么意思| 济公是什么罗汉| 血管很明显是什么原因| 乳头经常痒是什么原因| 罢免是什么意思| 新白娘子传奇许仙为什么用女的演| 日语亚麻跌是什么意思| 长水泡是什么原因| 每天放很多屁是什么原因| 叻叻猪是什么意思| 第一次世界大战是什么时候| 健康证都查什么| 小孩黑眼圈很重是什么原因| 前列腺增大是什么意思| 化石是什么| 什么是bg| 野生葛根粉有什么功效| pe医学上是什么意思| 高密度脂蛋白高是什么原因| 为什么会下冰雹| 西瓜为什么叫西瓜| 球蛋白高是什么原因| 脚底长鸡眼是什么原因| 为什么脚会臭| fancl是什么品牌| 公安局跟派出所有什么区别| 为什么晚上不能晾衣服| 头皮上长疣是什么原因造成的| 乳腺炎吃什么消炎药| 睡觉起来头晕什么原因| 苏州立夏吃什么| 糖化高是什么意思| 鼻梁有痣代表什么| 福是什么生肖| 图谱是什么意思| 卵泡排出来是什么样的| 心肌缺血做什么检查能查出来| 抽烟为什么会头晕| 孕妇缺维生素D对胎儿有什么影响| 肾功能不全有什么症状| 92年属猴的是什么命| vc是什么| 三月二十是什么星座| 雷峰塔为什么叫雷峰塔| 什么机油好| 杜甫世称什么| 今天是什么甲子| 大宝是什么意思| 喉咙痛鼻塞吃什么药| bg什么意思| bni是什么意思| 什么原因导致荨麻疹| 两岁宝宝坐飞机需要什么证件| 百度
百度 国家林业和草原局,由自然资源部管理。

This page provides help, with the most common questions about using Wikidata in Wikipedia and templates, as described below.

You can also search all Wikipedia's help pages using the search box below, or browse the Help menu or the Help directory.

The Wikidata logo

Wikidata is a collaboratively edited knowledge base hosted by the Wikimedia Foundation. It is a common source of open data that Wikimedia projects such as Wikipedia can use, and anyone else, under a public domain license.

In this page there is a basic explanation about how to use Wikipedia Tools and Language links with Wikidata, in an easy language for newbies, in the first part; and, in the second, about how to use Wikidata elements for Wikipedia templates.

edit
 
The link to edit the Wikidata page, in grey, in the lateral pane.

From a Wikipedia page, you can go to the link "Wikidata item", using "Tools" in the lateral pane (in the left), to see and edit it. Also in Tools, there is another link to "page information", where is "Wikidata item ID", that contains the QID (for example: Q171 or "None").

QID (or Q number) is the unique identifier of a data item on Wikidata, comprising the letter "Q" followed by one or more digits. It is used to help people and machines understand the difference between items with the same or similar names, e.g., there are several places in the world called London and many people called James Smith. This number appears next to the name at the top of each Wikidata item.

You can go to the page of the same item in the Wikimediasphere (that is, Wikimedia sister projects) using the links under "In other projects", also in the lateral pane.

Finally, you can go to other Wikipedia language links of the item, clicking in "Languages" in the lateral pane. In a similar way to clicking "Wikimedia item", you can use "Edit links" there.

Templates

edit

Here, we are going to see how to use data from Wikidata in enwiki templates.

Data model

edit

How to link to Wikidata items and QID from Wikipedia:

  • d:item = en:article title
d:Q-number = identity for enwiki:article title
Example:
(todo).

Template building: using data from Wikidata

edit

Inclusion of data values may be achieved by using mediawiki-like WP:MAGICWORDs.

Simple

edit

Fetching instance of (P31) for this page; and cause of death (P509) for Douglas Adams (Q42):

Using #property
{{#property:P31}} → Wikimedia help page
{{#property:P509|from=Q42}} → myocardial infarction

Automatic links can be created where they exist:

Using #statements
{{#statements:P31}}Wikimedia help page
{{#statements:P509|from=Q42}}myocardial infarction

By module or template

edit
 
Wikidata screenshot - label field highlighted
 
Changing item label in Wikidata, from "elephant" to another arbitrary one (you can see asdfasdfasdf before the Q).

To fetch data from Wikidata with or without a link to the connected Wikipedia article and with many other features:

For example: {{wikidata|label|raw}} returns the Q-identifier (also known as QID or identifier) of the Wikidata item connected to the current page (e.g. "Q55").

Label (also name) is the main name given to identify an entity (i.e. an item or a property). E.g.: the item with the item identifier d:Q7378 has the English label "elephant". Every entity has exactly one label in a given human language. Labels do not need to be unique. Descriptions and aliases are used to distinguish between entities with the same label. Wikidata pages do not have labels, but titles. It's a type of term.

Raw means that will return the Q-identifier or P-identifier instead of the regular label.

In infoboxes

edit

Module:WikidataIB was developed to provide the tools necessary for drawing information from Wikidata into infoboxes on Wikipedia. It allows infobox fields to draw information from Wikidata while ensuring that local values take priority and that unsourced information is filtered out by default. It also gives the infobox designer the opportunity to make the enabling of Wikidata controllable on a per-article basis ("opt-in").

Example of conversion
An infobox like {{Infobox writer}} has a field for "Occupation" with its value defined like this: | data7 = {{{occupation|}}}
That could be updated to bring information from Wikidata using the getValue function from the module, which has a template shortcut {{wdib}}. Occupation is P106:
| data7 = {{wdib |fwd={{{fetchwikidata|}}} |P106 |qid={{{qid|}}} | {{{occupation|}}} }}
That would import the sourced occupations of the connected page (or any other page if qid is set) unless the local parameter |occupation= is given a value in an article, when that value takes preference over anything in Wikidata. But this does not happen until |fetchwikidata=ALL is set in the infobox of the article.
For example, for Douglas Adams (Q42), we would get:
screenwriter, novelist, science fiction writer, writer, musician  
The pen icon is automatically added at the end of each field that fetches its value from Wikidata and gives a direct link to the place on Wikidata where the value(s) came from. It can be suppressed by setting |noicon=true.
Although the values are linked, there is a string-handling function that will capitalise the first letter, regardless of whether the value is linked or is part of a list:
{{#invoke:String2 |ucfirst | {{wdib|fwd=ALL|P106|qid=Q42}} }}Screenwriter, novelist, science fiction writer, writer, musician  
Examples of some of the functionality can be found at Module talk:WikidataIB/testing.

Tracking

edit
Tracking categories
Category:Wikidata tracking categories
Tracking & using

To track the data in or missing from one or more Wikidata properties; or to indicate that template or module uses a Wikidata property or properties, where available.

{{Tracks Wikidata}}
{{Uses Wikidata}}

A property (also attribute) describes the data value of a statement and can be thought of as a category of data, for example "color" for the data value "blue". Properties, when paired with values, form a statement in Wikidata. Properties are also used in qualifiers. Properties have their own pages on Wikidata and are connected to items, resulting in a linked data structure.

See also

edit
大人发烧吃什么退烧药 mpn是什么意思 胚胎停育是什么原因造成的 天煞是什么意思 化妆水是什么
娇羞是什么意思 很轴是什么意思 饱和度是什么意思 经验是什么意思 菊花茶有什么功效
什么是调和油 怀孕一周有什么症状 床褥是什么 走路出汗多是什么原因 梦见死去的姥姥是什么意思
骨质疏松是什么原因引起的 曹操是什么生肖 颈动脉硬化有什么症状 什么是种草 11.7号是什么星座
龟头炎用什么软膏最好hcv9jop5ns0r.cn 阴茎硬度不够吃什么好beikeqingting.com 婚检挂什么科hcv9jop5ns0r.cn 前列腺肥大是什么原因引起hcv9jop5ns6r.cn 国家副主席是什么级别luyiluode.com
当归长什么样hcv8jop7ns0r.cn 字什么意思hcv8jop6ns5r.cn 1ph是什么意思hcv9jop1ns2r.cn 胸口中间疼挂什么科dajiketang.com 双鱼座的上升星座是什么hcv8jop3ns8r.cn
什么时候买机票便宜hcv8jop6ns9r.cn 枪是什么生肖hcv8jop4ns1r.cn 遗精频繁是什么原因hcv7jop7ns4r.cn 护理学主要学什么1949doufunao.com 三月八号是什么星座luyiluode.com
保妇康栓是治疗什么的hcv9jop5ns8r.cn sany是什么牌子hcv9jop5ns9r.cn 伏羲姓什么hcv9jop5ns6r.cn 窦性心动过缓伴不齐是什么意思hcv8jop6ns6r.cn 酒后头疼什么原因hcv7jop6ns1r.cn
百度