Difference between revisions of "Template:Infobox royalty/Wikidata"

From blackwiki
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|}}}
+
   | 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|}}}
+
   | 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
SpouseScript error: No such module "If empty".
WebsiteScript error: No such module "If empty".
Template documentation[view] [edit] [history] [purge]

Template:Person infobox header

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

Wikidata-specific 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

Template:Wikidata infoboxes