Help:Contributing/claims
How to quote an item's statements in page text on this wiki. The item is the store; the page is a view: edit the item once, and every page that quotes it updates.
The model
Facts live in Wikibase items, not in article prose. A classic page is sitelinked to an item (the Sitelink tab); the page renders the item's data at view time. This is the same "Wikidata → article" direction used by the Wikimedia projects: the item is the source of truth, the page is presentation.
Quoting a statement
Two parser functions from the Wikibase client are available:
| Need | Wikitext |
|---|---|
| Rich value (keeps markup) | {{#statements:participant}}
|
| Plain text (prose, table cell) | {{#property:participant}}
|
| An infobox row only when data exists | {{#statement-row:Participants|participant}}
|
| An explicit item | {{#statements:participant|from=Q123}}
|
- The property may be a label (for example
number of deaths) or a P-id (for exampleP1120). Labels are resolved by the WikibaseClient property-label resolver; prefer the label for readability and the P-id when the label is ambiguous or is renamed. - Without
from=, the item sitelinked to the current page is used. - On an Item page (or a classic page sitelinked to an item), Copy claim copies the exact snippet for a statement — the label form, with
|from=added when the item is not the page's item.
The full tutorial for the underlying functions is Help:Contributing/semanticDynamicContent.
Event vocabulary
History pages use the event vocabulary. Every value is a statement on the event's item:
| Field | Property (label) | Datatype |
|---|---|---|
| Type | instance of |
item |
| Date | point in time |
time |
| Start / end | start time / end time |
time |
| Location | location (OSM) + location (label) |
external-id + string |
| Participants | participant |
item |
| Role (qualifier) | object has role |
item |
| Deaths | number of deaths |
quantity |
| Casualties | number of casualties |
quantity |
| Part of | part of |
item |
On a history page, transclude {{Event}}: it renders the rows above from the page's sitelinked item and hides the empty ones.
Where the values come from
- The Add* forms (Special:AddPerson, Special:AddCollective, Special:AddSource, …) create the connected items: authors, organisations, sources, participants.
- The item page edits a statement directly; every page that quotes the item updates.
- The Veramiko Semantics model in Open WebUI drafts statements from a passage, resolves the entities, writes them after confirmation, and returns the quoting snippet.
House rules
- Cite every factual statement — Help:Contributing/house-rules rule 3.
- One concept per item; reuse properties; English labels are mandatory.
- Never invent a Q-id or a P-id: search first.
See also
- Help:Contributing/semanticDynamicContent — the parser-function tutorial
- Help:Contributing/entities — creating and editing items
- Help:Contributing/house-rules — the instance rules