<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hedditch.com.au/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_noble%2FWikidata%2Fdoc</id>
	<title>Template:Infobox noble/Wikidata/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hedditch.com.au/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AInfobox_noble%2FWikidata%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.hedditch.com.au/mediawiki/index.php?title=Template:Infobox_noble/Wikidata/doc&amp;action=history"/>
	<updated>2026-04-21T22:33:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.2</generator>
	<entry>
		<id>https://wiki.hedditch.com.au/mediawiki/index.php?title=Template:Infobox_noble/Wikidata/doc&amp;diff=1326&amp;oldid=prev</id>
		<title>imported&gt;Aidan9382: Category:Pages with syntax highlighting errors</title>
		<link rel="alternate" type="text/html" href="https://wiki.hedditch.com.au/mediawiki/index.php?title=Template:Infobox_noble/Wikidata/doc&amp;diff=1326&amp;oldid=prev"/>
		<updated>2022-05-17T04:38:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;/mediawiki/index.php?title=Category:Pages_with_syntax_highlighting_errors&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Category:Pages with syntax highlighting errors (page does not exist)&quot;&gt;Category:Pages with syntax highlighting errors&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This template is a [[help:Wikidata|Wikidata]]-friendly version of {{t|Infobox noble}} which automatically populates its field with subject&amp;#039;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.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
Most of fields are the same as for {{t|Infobox noble}}. See better explanation in the {{t|Infobox royalty}}.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre style=&amp;quot;overflow: auto&amp;quot;&amp;gt;&lt;br /&gt;
{{Infobox noble&lt;br /&gt;
| qid                     = Wikidata item id for specific entry; debug only&lt;br /&gt;
| name                    = &lt;br /&gt;
| title                   = &lt;br /&gt;
| image                   = &lt;br /&gt;
| caption                 = &lt;br /&gt;
| alt                     = &lt;br /&gt;
| CoA                     = &lt;br /&gt;
| CoAImageSize            = &lt;br /&gt;
| more                    = Supplimental to |succession=&lt;br /&gt;
| succession              = &lt;br /&gt;
| reign                   = &lt;br /&gt;
| reign-type              = &lt;br /&gt;
| predecessor             = &lt;br /&gt;
| successor               = &lt;br /&gt;
| suc-type                = &lt;br /&gt;
| spouse                  = &lt;br /&gt;
| spouse-type             = &lt;br /&gt;
| issue                   = &lt;br /&gt;
| issue-link              = &lt;br /&gt;
| issue-pipe              = &lt;br /&gt;
| full name               = &lt;br /&gt;
| native_name             = &lt;br /&gt;
| styles                  = &lt;br /&gt;
| other_titles            = &lt;br /&gt;
| noble family            = &lt;br /&gt;
| house-type              = &lt;br /&gt;
| father                  = &lt;br /&gt;
| mother                  = &lt;br /&gt;
| birth name              =&lt;br /&gt;
| birth date              = &amp;lt;!-- {{Birth date and age|YYYY|MM|DD|df=y}} --&amp;gt;&lt;br /&gt;
| birth place             = &lt;br /&gt;
| christening date        = &lt;br /&gt;
| christening place       = &lt;br /&gt;
| death date              = &amp;lt;!-- {{Death date and age|YYYY|MM|DD|YYYY|MM|DD|df=y}} --&amp;gt;&lt;br /&gt;
| death place             = &lt;br /&gt;
| burial date             = &lt;br /&gt;
| burial place            = &lt;br /&gt;
| religion                = &lt;br /&gt;
| occupation              = &lt;br /&gt;
| memorials               = &lt;br /&gt;
| website                 = &amp;lt;!-- {{{URL|example.com}} --&amp;gt;&lt;br /&gt;
| module                  = &lt;br /&gt;
| signature               = &lt;br /&gt;
| signatureImageSize      =&lt;br /&gt;
| signature_image_upright =  Upright image scale&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
{{Infobox noble/Wikidata|succession=Head of Zemskoy Sobor 1611&lt;br /&gt;
|qid=Q4272739&lt;br /&gt;
|suppressfields=predecessor,successor&lt;br /&gt;
|tenure references=&amp;lt;ref name=&amp;quot;biography&amp;quot;&amp;gt;{{cite web|URL=http://example.com|title=Prokopy Lyapunov Biography (Example)|access-date=November 14, 2021|date=n.d.|publisher=Example Inc.|first=Ivan|last=Dryablikh}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
|birth date references={{r|biography|pp=947}}&lt;br /&gt;
|death date references={{citation needed|date=13 November 2021}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The same as {{t|Infobox noble}}. Just put the template into an appropriate article. {{para|qid}} may be used to force wikidata entity to be used. This is useful for debugging/inspection.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=text&amp;gt;&lt;br /&gt;
{{Infobox noble/Wikidata|succession=Shah of Iran&lt;br /&gt;
  |tenure references={{citation needed|date=13 November 2021}}&lt;br /&gt;
}} &lt;br /&gt;
&lt;br /&gt;
{{Infobox noble/Wikidata|succession=Head of Interim Government|qid=Q4272739}}&lt;br /&gt;
{{Infobox noble/Wikidata|succession=King of Poland&amp;lt;br&amp;gt;Grand Duke of Lithuania|qid=Q52940}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{reflist}}&lt;br /&gt;
&lt;br /&gt;
===Suppressing certain fields===&lt;br /&gt;
Specify {{para|suppressfields}} with a comma-separated names of fields of the template e.g.&lt;br /&gt;
: {{para|suppressfields|predecessor,successor}}&lt;br /&gt;
===Adding references===&lt;br /&gt;
Almost every parameter can be provided with a reference. The parameter should be suffixed by &amp;#039;&amp;#039;&amp;#039;references&amp;#039;&amp;#039;&amp;#039; postifx: {{para|&amp;lt;param&amp;gt; &amp;#039;&amp;#039;&amp;#039;references&amp;#039;&amp;#039;&amp;#039;}} (see example above). E.g.:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;infobox noble/Wikidata&lt;br /&gt;
 | …&lt;br /&gt;
 |death date references={{tlg|citation needed|date{{=}}13 November 2021}}&lt;br /&gt;
 | …&lt;br /&gt;
 }}&lt;br /&gt;
&lt;br /&gt;
==Configure==&lt;br /&gt;
====Wikilinking values====&lt;br /&gt;
If you want to Wikilink certain values fetched from wikidata, go into {{Edit|Template:Infobox_noble/Wikidata|source code}}, find appropriate {{para|dataN}} field value with a {{t|wdib}} invocation. Then replace {{para|ps|2}} by {{para|ps|1}} and save it (see docs about this parameter [[Module:WikidataIB#Parameter sets]]).&lt;br /&gt;
&lt;br /&gt;
E.g. for [[Genghis Khan]] ([[d:Q720]]), we get his occupation linked as following:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=text&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
| label59 = Occupation&lt;br /&gt;
| data59  = {{wdib&lt;br /&gt;
    |P106&lt;br /&gt;
    |{{if empty|{{{occupation|}}} }}&amp;lt;!--if empty END--&amp;gt;&lt;br /&gt;
    |qid={{{qid|}}}|ps=1&lt;br /&gt;
    |name=occupation&lt;br /&gt;
    ...&lt;br /&gt;
}}&amp;lt;!--wdib END--&amp;gt;&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
; Result&lt;br /&gt;
: {{wdib&lt;br /&gt;
    |P106&lt;br /&gt;
    |{{if empty|{{{occupation|}}} }}&amp;lt;!--if empty END--&amp;gt;&lt;br /&gt;
    |qid={{{qid|Q720}}}|ps=1&lt;br /&gt;
    |name=occupation&lt;br /&gt;
    |spf={{{suppressfields|}}}&lt;br /&gt;
    |fwd={{{fetchwikidata|}}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Property to Wikidata mapping==&lt;br /&gt;
The properties listed below are mapped accordingly to specified wikidata properties.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Caption text&lt;br /&gt;
|-&lt;br /&gt;
! {{para|name}} !! Associated Wikidata Property !! Note&lt;br /&gt;
|-&lt;br /&gt;
| {{para|caption        }} || [[d:Property:P2096|P2096]]  || media legend&lt;br /&gt;
|-&lt;br /&gt;
| {{para|image          }} || [[d:Property:P18|P18]]  || Image; configurable {{para|ImageSize}}&lt;br /&gt;
|-&lt;br /&gt;
| {{para|CoA            }} || [[d:Property:P94|P94]]  || Coat of Arms Image; configurable by {{para|CoAImageSize}}&lt;br /&gt;
|-&lt;br /&gt;
| {{para|predecessor    }} || [[d:Property:P1365|P1365]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|successor      }} || [[d:Property:P1366|P1366]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|full name      }} || N/A || Label of the entity associated with current page &lt;br /&gt;
|-&lt;br /&gt;
| {{para|native name    }} || [[d:Property:P1559|P1559]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|known for      }} || [[d:Property:P793|P793]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|date of birth  }} || [[d:Property:P569|P569]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|date of death  }} || [[d:Property:P570|P570]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|baptised       }} || [[d:Property:P1636|P1636]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|place of birth }} || [[d:Property:P19|P19]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|place of death }} || [[d:Property:P20|P20]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|cause of death }} || [[d:Property:P509|P509]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|date of burial }} || [[d:Property:P4602|P4602]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|place of burial}} || [[d:Property:P119|P119]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|residence      }} || [[d:Property:P263|P263]]  || official residence &lt;br /&gt;
|-&lt;br /&gt;
| {{para|noble family   }} || [[d:Property:P53|P53]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|spouse         }} || [[d:Property:P26|P26]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|issue          }} || [[d:Property:P40|P40]]  || child&lt;br /&gt;
|-&lt;br /&gt;
| {{para|father         }} || [[d:Property:P22|P22]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|mother         }} || [[d:Property:P25|P25]]  ||&lt;br /&gt;
|-&lt;br /&gt;
| {{para|occupation     }} || [[d:Property:P106|P106]]  || occupation&lt;br /&gt;
|-&lt;br /&gt;
| {{para|signature      }} || [[d:Property:P109|P109]] || signature&lt;br /&gt;
|-&lt;br /&gt;
| {{para|title          }} || [[d:Property:P109|P97]] || noble title: e.g. duke&lt;br /&gt;
|-&lt;br /&gt;
| {{para|tenure         }} || [[d:Property:P39|P39]] || position held&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Contribution ==&lt;br /&gt;
{{#ifeq:&lt;br /&gt;
  {{PAGENAME}}|Infobox noble/Wikidata/doc&lt;br /&gt;
  |{{TODO|small=yes}}&lt;br /&gt;
  |{{TODO|small=yes|list=./doc/to do}}&lt;br /&gt;
 }}&lt;br /&gt;
No guarantee of any maintenance whatsoever; contributions are welcome; see [[Module:WikidataIB]] and {{t|Wdib}} as a good starting point to learn how template works inside; also:&lt;br /&gt;
* [[Module:WikidataIB]] - Used under hood&lt;br /&gt;
* [[Module:String]]&lt;br /&gt;
* {{t|String split}}&lt;br /&gt;
* {{t|If then show}}&lt;br /&gt;
* {{t|If empty}} - Used heavily by this template&lt;br /&gt;
* [[Help:Magic words]]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{t|Infobox person/Wikidata}} - Inspiration&lt;br /&gt;
&lt;br /&gt;
{{Wikidata infoboxes}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:People and person infobox templates]]&lt;br /&gt;
[[Category:Infobox templates using Wikidata]]&lt;br /&gt;
[[Category:Templates using data from Wikidata]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Aidan9382</name></author>
	</entry>
</feed>