For faster navigation, this Iframe is preloading the Wikiwand page for 模板:P.

模板:P

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

概要

[编辑]

本模板可以取得wikidata中指定实体项目的指定属性。

参数及使用方法

[编辑]
((P|P1(Property id)|Q1(entity id)|language code))
若只需取得本页之数据,可省略参数2。如 ((P|P1419))

范例

[编辑]
  • ((P)) → Template:P
  • ((P|||en)) → Template:Wikidata property link
  • ((P||Q1)) → 宇宙
  • ((P||Q1|en)) → Universe
  • ((P|id)) → Q19694638 -- 当前页面的维基数据ID
  • ((P|link|Q1|en)) → Universe
  • ((P|P1419|Q12516)) → 棱锥
  • 世界人口((P|P1082|Q11188)) → 此项目 d:Q11188 不存在此属性: P1082
  • 荷马死亡日期:约((P|死亡日期|Q6691)) → 前8世纪
  • 艾萨克·牛顿出生于((P|出生日期|Q935)) → 1642年12月25日
  • 大艺术家((P|出版日期|Q171861)) → 2011年5月15日;导演((P|P57|Q171861)) → 米歇尔·阿扎纳维西于斯

比较:

  • ((P||Q575877)) → 神经胚
  • ((label|Q575877)) → 神经胚
  • ((illm|WD=Q575877)) → 神经胚​(其他语言
  • ((#property:P36|from=Q183)) → 柏林 -- parser function
  • ((#invoke:Wikibase|id)) → Q19694638 -- 当前页面的维基数据ID
  • ((#invoke:Wikidata|claim|id)) → -- claim P(id) of current page

注意事项

[编辑]

参见

[编辑]
{{bottomLinkPreText}} {{bottomLinkText}}
模板:P
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?