Template:Claim
Creates a formated claims. Its parameters are item number and a property number
Usage
{{Claim|42|3|5}}
{{C|Q1001|3|Q5|P19|Q2786019}}
product (P19) < Q2786019 >
{{C|10|3|100|P580|Q323}}
{{C|10|3|10|P580|Q323}}
Note: there is a bug when the template is used on a page paragraph not wrapped into an indentation ":" in wikitext. A carriage return is inserted after each template.
Without parameters
{{C}}
Special values
{{C|Q9696|P157|some value}}
- It displayed "unknown value" in your language.
{{C|Q1140947|P3373|no value}}
- It displayed "no value" in your language.
Non item values
{{C||number|1}}
{{C||date of birth|1863}}
{{C||date of birth|some value}}
Ranks
{{C||date of birth|some value|rank=Preferred}}
See also
The above documentation is transcluded from Template:Claim/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
<templatedata> { "params": { "1": { "aliases": [ "subject" ], "description": "subject of the claim", "type": "wiki-page-name", "suggested": true }, "2": { "aliases": [ "property" ], "label": "main property", "description": "main property of the claim, either a Pid, a number id without P, or an english property label", "example": "P17 or country" }, "3": { "label": "main value" }, "4": { "label": "qualifier 1" }, "5": { "label": "qualifier 1 value" }, "6": { "label": "qualifier 2" }, "7": { "label": "qualifier 2 value" }, "8": { "label": "qualifier 3" }, "9": { "label": "qualifier 3 value" }, "10": { "label": "qualifier 4" }, "11": { "label": "qualifier 4 value" }, "12": { "label": "qualifier 5" }, "13": { "label": "qualifier 5 value" }, "14": { "label": "qualifier 6" }, "15": { "label": "qualifier 6 value" }, "16": { "label": "qualifier 7" }, "17": { "label": "qualifier 7 value" }, "rank": { "label": "Rank", "description": "rank of the statement (normal, preferred or deprecated)", "type": "string", "default": "normal", "suggested": true } } } </templatedata>