Template:Infobox noble/Wikidata/doc

This template is a Wikidata-friendly version of Infobox noble which automatically populates its field with subject's information (article where this template is used). It saves users from manual labor of entering all the information manually if the given information already listed on respective Wikidata entry.

Usage
Most of fields are the same as for Infobox noble. See better explanation in the Infobox royalty.

Examples
The same as Infobox noble. Just put the template into an appropriate article. qid may be used to force wikidata entity to be used. This is useful for debugging/inspection.

Suppressing certain fields
Specify suppressfields with a comma-separated names of fields of the template e.g.
 * predecessor,successor

Adding references
Almost every parameter can be provided with a reference. The parameter should be suffixed by references postifx: references (see example above). E.g.:

Wikilinking values
If you want to Wikilink certain values fetched from wikidata, go into, find appropriate dataN field value with a wdib invocation. Then replace 2 by 1 and save it (see docs about this parameter Module:WikidataIB).

E.g. for Genghis Khan (Q720), we get his occupation linked as following:
 * Result

Property to Wikidata mapping
The properties listed below are mapped accordingly to specified wikidata properties.

Contribution
No guarantee of any maintenance whatsoever; contributions are welcome; see Module:WikidataIB and Wdib as a good starting point to learn how template works inside; also:
 * Module:WikidataIB - Used under hood
 * Module:String
 * String split
 * If then show
 * If empty - Used heavily by this template
 * Help:Magic words