Jump to content
Panguna nga menu
Panguna nga menu
move to sidebar
tagoa
Tabok-tabok
Unang Panid
Tubaan
Mga bag-ong giusab
Bisan unsang panid
Tabang
Pangita
Pangitaa
Appearance
Mga donasyon
Paghimo og akawnt
Sulod
Personal nga galamiton
Mga donasyon
Contribute
Paghimo og akawnt
Sulod
Pages for logged out editors
learn more
Panghisgot-hisgot alang niining IP
Nagausab sa
Module:Wikidata/doc
Idugang ang mga pinulongan
Module
Panaghisgot-hisgot
Cebuano
Basaha
Usba ang wikitext
Tan-awa ang kaagi
Mga galamiton
Mga galamiton
move to sidebar
tagoa
Actions
Basaha
Usba ang wikitext
Tan-awa ang kaagi
Heneral
Unsay mga misumpay dinhi
Mga may kalabotang kausaban
Pagsumiter og payl
Impormasyon kabahin sa panid
Pagkuha og pinamubo nga URL
Download QR code
Appearance
move to sidebar
tagoa
Pahimangno:
Wala ka mailhi sa balayan. Ang imong
IP adress
makita sa publiko kon mohimo ka og mga pag-usab. Kon
mo-
log in
ka o
mohimo og akawnt
, ang imong mga pag-usab ingalan sa imong
username
, lakip na ang uban pang kaayohan.
Pagkontra sa
spam
.
Ayaw</stong> ni sudli!
Module permitting basid data retrieval from items. It is mosly useful for other modules or for {{tl|Data}} <small><i>A copy is available on [https://test.wikidata.org/wiki/Module:Wikidata test Wikidata]</i></small> == Functions callable from Lua == '''p._getClaims returns claims in a particular item that match a particular query * item (required): its Qid * property (required) property that the claims should have * withqualfier = qualifiers that the statement should have * withrank = rank of the statement ; 'preferred', 'normal', 'deprecated' or 'valid' (ie normal and preferred). By default = preferred. * sourceproperty = this property should be used in the source * source = the source that should be provided in the statement (if sourceproperty is not provided, the property used is p248) * excludespecial = set to true if you do not want to get "novalue" and "somevalue". * numval = if you want to set a maximum number of values to be returned * sorttype = set to "chronological" to get the statements in chronological order using the {{p|580}}, {{p|582}} and {{p|585}} qualifiers. Set to "inverrted for chronological order. From a Lua module, you can also define your own sorting criteria. * showsource = set to "true" if you want the source of the statement to be displayed. '''p.formatStatements(args)''': returns a string containing the statements given in the table args. Same keys as getClaims, plus formatting arguments: * lang (required) for the desired language * format = the format in which the args should be returned. For example, for a string-type property displayformat = "weblink" returns a formatted weblink. * conjtype = the conjunction separating the statements. For example, conj = <nowiki>'<br /></nowiki>, will make a new linke between each statement. * showqualifier = the qualifiers that should be shown along with the mainsnak value '''p.getLabel''' get the label of an entity * entity = entity ID with its Q or P * lang == Functions callable from wikitext == * '''p.formatStatementsE''' same as p._formatStatements, except that "lang" is not required. It is most conveniently used from {{tl|Data}} that takes exactly the same arguments.
Mubong sugid
Pinaagi sa pagtipig sa mga pagbag-o, miuyon ka sa
Terms of Use
, ug dili mabakwi nga miuyon ka nga ipagawas ang imong kontribusyon ubos sa
org/licenses/by-sa/4.0/ CC BY-SA 4.0 License
ug ang
GFDL
. Miuyon ka nga usa ka hyperlink o Ang URL igo nga pagpaila ubos sa lisensya sa Creative Commons.
I-way bili
Tabang sa pag-usab
(maabli sa laing window)
Preview page with this template
Ang mga plantilya nga gigagamit niining panid:
Plantilya:P
(
usba
)
Plantilya:Tl
(
usba
)
Pangita
Pangitaa
Nagausab sa
Module:Wikidata/doc
Idugang ang mga pinulongan
Pagdugang og topiko