Difference between revisions of "Template:Infobox royalty/Wikidata"
Jump to navigation
Jump to search
imported>Idsmoend m (Fix minor validation errors) |
imported>Idsmoend (Only pull in royalty fields from Wikidata) |
||
| Line 6: | Line 6: | ||
| onlysourced = {{{onlysourced|}}} | | onlysourced = {{{onlysourced|}}} | ||
| noicon = {{{noicon|false}}} | | noicon = {{{noicon|false}}} | ||
| − | | fetchwikidata = | + | | fetchwikidata = name native_name native_name_lang image image_size alt caption birth_name birth_date birth_place death_date death_place resting_place spouse signature signature_alt |
| − | | suppressfields = | + | | suppressfields=child children family |
| name = {{{name|}}} | | name = {{{name|}}} | ||
| native_name = {{{native_name|}}} | | native_name = {{{native_name|}}} | ||
Latest revision as of 08:52, 1 April 2019
| Template:PAGENAMEBASE | |
|---|---|
| Spouse | Script error: No such module "If empty". |
| Website | Script error: No such module "If empty". |
Template:Person infobox header
| When adding an infobox using data from Wikidata, please check for consistency with the article and its references, and to address the inconsistencies observed, which can be done by amending the article or the Wikidata entry, or by supplying a better value to the infobox as a local parameter if this is what emerges from the sources. |
| This template uses Lua: |
This template may be used to summarize information about a person who is connected to royalty.
Usage
{{ Infobox royalty/Wikidata
| fetchwikidata=ALL
| onlysourced=no
}}
Parameters
| Parameter | Effect |
|---|---|
| fetchwikidata | allows a golist of fields that may be imported from Wikidata; set to "ALL" for all fields; defaults to none |
| suppressfields | allows a stoplist of fields that may be displayed in this infobox; overrides golist; defaults to none |
| onlysourced | rejects Wikidata that is unsourced or only imported from a Wikipedia; values: yes/true/1 or no/false/0; defaults to yes |
| noicon | should the pencils be shown; false means they should, default is they should not ("on") |
| qid | Wikidata ID |
In addition to the parameters above, any of the parameters from {{Infobox royalty}} can also be specified.
Tracking categories
- Category:Pages using wikidata infoboxes with additional parameters (2)
- Category:Wikidata testcases for infobox royalty (2)
| The above documentation is transcluded from Template:Infobox royalty/Wikidata/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |