Incubator:Wikidata/Databox/blk

From Wikimedia Incubator
This page is a translated version of the page Incubator:Wikidata/Databox and the translation is 23% complete.
Video from the Databox workshop at the Celtic Knot Conference 2022.

Databox is a module that adds an infobox with data from Wikidata to articles on your test wiki. It can be used both in the Wikimedia Incubator and on live wikis.

Because pages on the Wikimedia Incubator technically aren't connected to Wikidata in the same way that pages on Wikipedias are, you need to specify the Wikidata ID – read Incubator:Wikidata for tips on how to find the right Wikidata ID.

How to use a databox

The beauty of databox is how simple it is to use. All you have to do is to add it to an article, specify the Wikidata ID, and then it will automatically display information from Wikidata. All the fields and contents of the databox can be translated by going to the respective Wikidata items and properties.

ထာꩻထီႏမွဥ်းဖျင်ကို
When editing in visual editor, you add the template by clicking "Insert" > "Template" and then enter "(your wiki's prefix)/Databox". Then you add the parameter "item" and paste the Wikidata item ID that corresponds to the article you are editing.
အရွိးခိုႏတဖူꩻစားကို
When editing in source mode, all you need to add is this to an article:
{{Databox|item=Q42}}
If you have disabled the AddPrefix gadget (which is enabled by default), you need to write the following:
{{Wp/qdp/Databox|item=Q42}}

How to create a databox

All you need to create a databox template is to copy two pages. One is a module, and one is a template. You don't need to change anything in them, except the template data in the second page.

If you choose a test wiki in your preferences, you will see links for how to add a databox for your test wiki here.

အဝ်ႏလိုႏအစွဲးကမ်း?

If you need any help with the databox, feel free to ask at the Community Portal.
https://incubator.wikimedia.org/wiki/Incubator:Wikidata/Databox/blk
incubator.wikimedia.org
CC-MAIN-2024-22
53188
application/http; msgtype=response
sha1:WZJAPRV3IJMUIB2SFLE4XVK6EZK7PEMS
<urn:uuid:537783bc-c83b-4ed4-bc5c-a8c16b403b02>
2024-05-21T09:59:28Z
208.80.154.224
text/html
sha1:W6ZDADQC7SXPSGWEGGHB6PCW7FSVZDVI
<urn:uuid:2508cfe9-cbd6-4392-8eda-9d680ba268c0>
https://incubator.wikimedia.org/wiki/Incubator:Wikidata/Databox/blk
response
<urn:uuid:a4cbf7c8-363f-416f-9915-c01a276829b6>
isPartOf: CC-MAIN-2024-22
publisher: Common Crawl
description: Wide crawl of the web for May 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-27
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/