Template:Query badge
Jump to navigation
Jump to search
Usage[edit]
{{Query badge}}
?itemarticle schema:about ?item . ?itemarticle schema:inLanguage "en" . ?itemarticle wikibase:badge ?badgeitem .
{{Query badge|myitem|en}}
?myitemarticle schema:about ?myitem . ?myitemarticle schema:inLanguage "en" . ?myitemarticle wikibase:badge ?badgemyitem .
{{Query badge|myitem|en|Q17437798}}
?myitemarticle schema:about ?myitem . ?myitemarticle schema:inLanguage "en" . ?myitemarticle wikibase:badge wd:Q17437798 .
generates a partial query to extract item with a bagde in a language
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 nomvar | no description | String | suggested |
2 | 2 lang | no description
| Unknown | suggested |
3 | 3 badge label | no description
| Content | suggested |
See also[edit]
The above documentation is transcluded from Template:Query badge/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |
?itemarticle schema:about ?item .
?itemarticle schema:inLanguage "en" . ?itemarticle wikibase:badge ?badgeitem .