Difference between revisions of "Template:Person"

From BITPlan royal-family Wiki
Jump to navigation Jump to search
m (created by WikiTask 2017-10-03T19:42:54Z)
 
(9 intermediate revisions by the same user not shown)
Line 16: Line 16:
 
==== storemode subobject ====
 
==== storemode subobject ====
 
<pre>{{Person
 
<pre>{{Person
 +
|qid=
 +
|royal92id=
 
|name=
 
|name=
 
|nobleTitle=
 
|nobleTitle=
 +
|picture=
 +
|sex=
 
|born=
 
|born=
 
|yearBorn=
 
|yearBorn=
Line 26: Line 30:
 
|yearDied=
 
|yearDied=
 
|monthDied=
 
|monthDied=
|picture=
 
 
|noInLine=
 
|noInLine=
 
|wikiPedia=
 
|wikiPedia=
 +
|childOf=
 +
|parentOf=
 +
|spouse=
 
|storemode=subobject
 
|storemode=subobject
 
}}
 
}}
Line 35: Line 41:
 
==== storemode property ====
 
==== storemode property ====
 
<pre>{{Person
 
<pre>{{Person
 +
|qid=
 +
|royal92id=
 
|name=
 
|name=
 
|nobleTitle=
 
|nobleTitle=
 +
|picture=
 +
|sex=
 
|born=
 
|born=
 
|yearBorn=
 
|yearBorn=
Line 45: Line 55:
 
|yearDied=
 
|yearDied=
 
|monthDied=
 
|monthDied=
|picture=
 
 
|noInLine=
 
|noInLine=
 
|wikiPedia=
 
|wikiPedia=
 +
|childOf=
 +
|parentOf=
 +
|spouse=
 
|storemode=property
 
|storemode=property
 
}}
 
}}
Line 54: Line 66:
 
==== storemode none ====
 
==== storemode none ====
 
<pre>{{Person
 
<pre>{{Person
 +
|qid=
 +
|royal92id=
 
|name=
 
|name=
 
|nobleTitle=
 
|nobleTitle=
 +
|picture=
 +
|sex=
 
|born=
 
|born=
 
|yearBorn=
 
|yearBorn=
Line 64: Line 80:
 
|yearDied=
 
|yearDied=
 
|monthDied=
 
|monthDied=
|picture=
 
 
|noInLine=
 
|noInLine=
 
|wikiPedia=
 
|wikiPedia=
 +
|childOf=
 +
|parentOf=
 +
|spouse=
 
|storemode=none
 
|storemode=none
 
}}
 
}}
Line 74: Line 92:
 
==== viewmode tableheader ====
 
==== viewmode tableheader ====
 
<pre>{{Person
 
<pre>{{Person
 +
|qid=
 +
|royal92id=
 
|name=
 
|name=
 
|nobleTitle=
 
|nobleTitle=
 +
|picture=
 +
|sex=
 
|born=
 
|born=
 
|yearBorn=
 
|yearBorn=
Line 84: Line 106:
 
|yearDied=
 
|yearDied=
 
|monthDied=
 
|monthDied=
|picture=
 
 
|noInLine=
 
|noInLine=
 
|wikiPedia=
 
|wikiPedia=
 +
|childOf=
 +
|parentOf=
 +
|spouse=
 
|viewmode=tableheader
 
|viewmode=tableheader
 
}}
 
}}
Line 93: Line 117:
 
==== viewmode tablerow ====
 
==== viewmode tablerow ====
 
<pre>{{Person
 
<pre>{{Person
 +
|qid=
 +
|royal92id=
 
|name=
 
|name=
 
|nobleTitle=
 
|nobleTitle=
 +
|picture=
 +
|sex=
 
|born=
 
|born=
 
|yearBorn=
 
|yearBorn=
Line 103: Line 131:
 
|yearDied=
 
|yearDied=
 
|monthDied=
 
|monthDied=
|picture=
 
 
|noInLine=
 
|noInLine=
 
|wikiPedia=
 
|wikiPedia=
 +
|childOf=
 +
|parentOf=
 +
|spouse=
 
|viewmode=tablerow
 
|viewmode=tablerow
 
}}
 
}}
Line 112: Line 142:
 
==== viewmode tablefooter ====
 
==== viewmode tablefooter ====
 
<pre>{{Person
 
<pre>{{Person
 +
|qid=
 +
|royal92id=
 
|name=
 
|name=
 
|nobleTitle=
 
|nobleTitle=
 +
|picture=
 +
|sex=
 
|born=
 
|born=
 
|yearBorn=
 
|yearBorn=
Line 122: Line 156:
 
|yearDied=
 
|yearDied=
 
|monthDied=
 
|monthDied=
|picture=
 
 
|noInLine=
 
|noInLine=
 
|wikiPedia=
 
|wikiPedia=
 +
|childOf=
 +
|parentOf=
 +
|spouse=
 
|viewmode=tablefooter
 
|viewmode=tablefooter
 
}}
 
}}
Line 131: Line 167:
 
==== viewmode labelfield ====
 
==== viewmode labelfield ====
 
<pre>{{Person
 
<pre>{{Person
 +
|qid=
 +
|royal92id=
 
|name=
 
|name=
 
|nobleTitle=
 
|nobleTitle=
 +
|picture=
 +
|sex=
 
|born=
 
|born=
 
|yearBorn=
 
|yearBorn=
Line 141: Line 181:
 
|yearDied=
 
|yearDied=
 
|monthDied=
 
|monthDied=
|picture=
 
 
|noInLine=
 
|noInLine=
 
|wikiPedia=
 
|wikiPedia=
 +
|childOf=
 +
|parentOf=
 +
|spouse=
 
|viewmode=labelfield
 
|viewmode=labelfield
 
}}
 
}}
Line 151: Line 193:
 
<source lang='html4strict'>
 
<source lang='html4strict'>
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Person<br>|}}
 
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Person<br>|}}
 +
{{#if:{{{?qid|}}}|"{{{?qid}}}" is qid of it <br>|}}
 +
{{#if:{{{?royal92id|}}}|"{{{?royal92id}}}" is royal92id of it <br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?nobleTitle|}}}|"{{{?nobleTitle}}}" is nobleTitle of it <br>|}}
 
{{#if:{{{?nobleTitle|}}}|"{{{?nobleTitle}}}" is nobleTitle of it <br>|}}
 +
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 +
{{#if:{{{?sex|}}}|"{{{?sex}}}" is sex of it <br>|}}
 
{{#if:{{{?born|}}}|"{{{?born}}}" is born of it <br>|}}
 
{{#if:{{{?born|}}}|"{{{?born}}}" is born of it <br>|}}
 
{{#if:{{{?yearBorn|}}}|"{{{?yearBorn}}}" is yearBorn of it <br>|}}
 
{{#if:{{{?yearBorn|}}}|"{{{?yearBorn}}}" is yearBorn of it <br>|}}
Line 161: Line 207:
 
{{#if:{{{?yearDied|}}}|"{{{?yearDied}}}" is yearDied of it <br>|}}
 
{{#if:{{{?yearDied|}}}|"{{{?yearDied}}}" is yearDied of it <br>|}}
 
{{#if:{{{?monthDied|}}}|"{{{?monthDied}}}" is monthDied of it <br>|}}
 
{{#if:{{{?monthDied|}}}|"{{{?monthDied}}}" is monthDied of it <br>|}}
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 
 
{{#if:{{{?noInLine|}}}|"{{{?noInLine}}}" is noInLine of it <br>|}}
 
{{#if:{{{?noInLine|}}}|"{{{?noInLine}}}" is noInLine of it <br>|}}
 
{{#if:{{{?wikiPedia|}}}|"{{{?wikiPedia}}}" is wikiPedia of it <br>|}}
 
{{#if:{{{?wikiPedia|}}}|"{{{?wikiPedia}}}" is wikiPedia of it <br>|}}
 +
{{#if:{{{?childOf|}}}|"{{{?childOf}}}" is childOf of it <br>|}}
 +
{{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}}
 +
{{#if:{{{?spouse|}}}|"{{{?spouse}}}" is spouse of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
 
|isA=Person
 
|isA=Person
 +
|Person qid={{{qid|}}}
 +
|Person royal92id={{{royal92id|}}}
 
|Person name={{{name|}}}
 
|Person name={{{name|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 +
|Person picture={{{picture|}}}
 +
|Person sex={{{sex|}}}
 
|Person born={{{born|}}}
 
|Person born={{{born|}}}
 
|Person yearBorn={{{yearBorn|}}}
 
|Person yearBorn={{{yearBorn|}}}
Line 178: Line 230:
 
|Person yearDied={{{yearDied|}}}
 
|Person yearDied={{{yearDied|}}}
 
|Person monthDied={{{monthDied|}}}
 
|Person monthDied={{{monthDied|}}}
|Person picture={{{picture|}}}
 
 
|Person noInLine={{{noInLine|}}}
 
|Person noInLine={{{noInLine|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 +
|Person childOf={{{childOf|}}}
 +
|Person parentOf={{{parentOf|}}}
 +
|Person spouse={{{spouse|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Person
 
|isA=Person
 +
|Person qid={{{qid|}}}
 +
|Person royal92id={{{royal92id|}}}
 
|Person name={{{name|}}}
 
|Person name={{{name|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 +
|Person picture={{{picture|}}}
 +
|Person sex={{{sex|}}}
 
|Person born={{{born|}}}
 
|Person born={{{born|}}}
 
|Person yearBorn={{{yearBorn|}}}
 
|Person yearBorn={{{yearBorn|}}}
Line 194: Line 252:
 
|Person yearDied={{{yearDied|}}}
 
|Person yearDied={{{yearDied|}}}
 
|Person monthDied={{{monthDied|}}}
 
|Person monthDied={{{monthDied|}}}
|Person picture={{{picture|}}}
 
 
|Person noInLine={{{noInLine|}}}
 
|Person noInLine={{{noInLine|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 +
|Person childOf={{{childOf|}}}
 +
|Person parentOf={{{parentOf|}}}
 +
|Person spouse={{{spouse|}}}
 
}}
 
}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|masterdetail=
 +
= spouses =
 +
{{#ask:[[Concept:Person]][[Person spouse::{{FULLPAGENAME}}]]
 +
| ?Person qid = qid
 +
| ?Person royal92id = royal92id
 +
| ?Person name = name
 +
| ?Person nobleTitle = nobleTitle
 +
| ?Person picture = picture
 +
| ?Person sex = sex
 +
| ?Person born = born
 +
| ?Person yearBorn = yearBorn
 +
| ?Person monthBorn = monthBorn
 +
| ?Person birthPlace = birthPlace
 +
| ?Person died = died
 +
| ?Person diedAt = diedAt
 +
| ?Person yearDied = yearDied
 +
| ?Person monthDied = monthDied
 +
| ?Person noInLine = noInLine
 +
| ?Person wikiPedia = wikiPedia
 +
| ?Person childOf = childOf
 +
| ?Person parentOf = parentOf
 +
| ?Person spouse = spouse
 +
 +
 +
 +
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!nobleTitle!!born!!yearBorn!!monthBorn!!birthPlace!!died!!diedAt!!yearDied!!monthDied!!picture!!noInLine!!wikiPedia
+
!qid!!royal92id!!name!!nobleTitle!!picture!!sex!!born!!yearBorn!!monthBorn!!birthPlace!!died!!diedAt!!yearDied!!monthDied!!noInLine!!wikiPedia!!childOf!!parentOf!!spouse
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{nobleTitle|}}}{{!}}{{!}}{{{born|}}}{{!}}{{!}}{{{yearBorn|}}}{{!}}{{!}}{{{monthBorn|}}}{{!}}{{!}}{{{birthPlace|}}}{{!}}{{!}}{{{died|}}}{{!}}{{!}}{{{diedAt|}}}{{!}}{{!}}{{{yearDied|}}}{{!}}{{!}}{{{monthDied|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{noInLine|}}}{{!}}{{!}}{{{wikiPedia|}}}
+
{{!}}{{{qid|}}}{{!}}{{!}}{{{royal92id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{nobleTitle|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{sex|}}}{{!}}{{!}}{{{born|}}}{{!}}{{!}}{{{yearBorn|}}}{{!}}{{!}}{{{monthBorn|}}}{{!}}{{!}}{{{birthPlace|}}}{{!}}{{!}}{{{died|}}}{{!}}{{!}}{{{diedAt|}}}{{!}}{{!}}{{{yearDied|}}}{{!}}{{!}}{{{monthDied|}}}{{!}}{{!}}{{{noInLine|}}}{{!}}{{!}}{{{wikiPedia|}}}{{!}}{{!}}{{{childOf|}}}{{!}}{{!}}{{{parentOf|}}}{{!}}{{!}}{{{spouse|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>nobleTitle={{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}<br>born={{#if:{{{born|}}}|{{{born|}}}|}}<br>yearBorn={{#if:{{{yearBorn|}}}|{{{yearBorn|}}}|}}<br>monthBorn={{#if:{{{monthBorn|}}}|{{{monthBorn|}}}|}}<br>birthPlace={{#if:{{{birthPlace|}}}|{{{birthPlace|}}}|}}<br>died={{#if:{{{died|}}}|{{{died|}}}|}}<br>diedAt={{#if:{{{diedAt|}}}|{{{diedAt|}}}|}}<br>yearDied={{#if:{{{yearDied|}}}|{{{yearDied|}}}|}}<br>monthDied={{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}<br>picture={{#if:{{{picture|}}}|{{{picture|}}}|}}<br>noInLine={{#if:{{{noInLine|}}}|{{{noInLine|}}}|}}<br>wikiPedia={{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}<br>|#default={{{!}} class='wikitable'
+
qid={{#if:{{{qid|}}}|{{{qid|}}}|}}<br>royal92id={{#if:{{{royal92id|}}}|{{{royal92id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>nobleTitle={{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}<br>picture={{#if:{{{picture|}}}|{{{picture|}}}|}}<br>sex={{#if:{{{sex|}}}|{{{sex|}}}|}}<br>born={{#if:{{{born|}}}|{{{born|}}}|}}<br>yearBorn={{#if:{{{yearBorn|}}}|{{{yearBorn|}}}|}}<br>monthBorn={{#if:{{{monthBorn|}}}|{{{monthBorn|}}}|}}<br>birthPlace={{#if:{{{birthPlace|}}}|{{{birthPlace|}}}|}}<br>died={{#if:{{{died|}}}|{{{died|}}}|}}<br>diedAt={{#if:{{{diedAt|}}}|{{{diedAt|}}}|}}<br>yearDied={{#if:{{{yearDied|}}}|{{{yearDied|}}}|}}<br>monthDied={{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}<br>noInLine={{#if:{{{noInLine|}}}|{{{noInLine|}}}|}}<br>wikiPedia={{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}<br>childOf={{#if:{{{childOf|}}}|[[{{{childOf|}}}]]|}}<br>parentOf={{#if:{{{parentOf|}}}|[[{{{parentOf|}}}]]|}}<br>spouse={{#if:{{{spouse|}}}|[[{{{spouse|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Person
 
! colspan='2' {{!}}Person
 
{{!}}-
 
{{!}}-
Line 216: Line 301:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 +
!qid
 +
{{!}}&nbsp;{{#if:{{{qid|}}}|{{{qid|}}}|}}
 +
{{!}}-
 +
!royal92id
 +
{{!}}&nbsp;{{#if:{{{royal92id|}}}|{{{royal92id|}}}|}}
 +
{{!}}-
 
!name
 
!name
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
Line 221: Line 312:
 
!nobleTitle
 
!nobleTitle
 
{{!}}&nbsp;{{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}
 
{{!}}&nbsp;{{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}
 +
{{!}}-
 +
!picture
 +
{{!}}&nbsp;{{#if:{{{picture|}}}|{{{picture|}}}|}}
 +
{{!}}-
 +
!sex
 +
{{!}}&nbsp;{{#if:{{{sex|}}}|{{{sex|}}}|}}
 
{{!}}-
 
{{!}}-
 
!born
 
!born
Line 245: Line 342:
 
!monthDied
 
!monthDied
 
{{!}}&nbsp;{{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}
 
{{!}}&nbsp;{{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}
{{!}}-
 
!picture
 
{{!}}&nbsp;{{#if:{{{picture|}}}|{{{picture|}}}|}}
 
 
{{!}}-
 
{{!}}-
 
!noInLine
 
!noInLine
Line 254: Line 348:
 
!wikiPedia
 
!wikiPedia
 
{{!}}&nbsp;{{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}
 
{{!}}&nbsp;{{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}
 +
{{!}}-
 +
!childOf
 +
{{!}}&nbsp;{{#if:{{{childOf|}}}|[[{{{childOf|}}}]]|}}
 +
{{!}}-
 +
!parentOf
 +
{{!}}&nbsp;{{#if:{{{parentOf|}}}|[[{{{parentOf|}}}]]|}}
 +
{{!}}-
 +
!spouse
 +
{{!}}&nbsp;{{#if:{{{spouse|}}}|[[{{{spouse|}}}]]|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 
}}
 
}}
 
+
[[Category:Person]]{{#default_form:Person}}
 
</source>
 
</source>
 
=== Source ===
 
=== Source ===
Line 265: Line 368:
  
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Person<br>|}}
 
</noinclude><includeonly>{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Person<br>|}}
 +
{{#if:{{{?qid|}}}|"{{{?qid}}}" is qid of it <br>|}}
 +
{{#if:{{{?royal92id|}}}|"{{{?royal92id}}}" is royal92id of it <br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
 
{{#if:{{{?nobleTitle|}}}|"{{{?nobleTitle}}}" is nobleTitle of it <br>|}}
 
{{#if:{{{?nobleTitle|}}}|"{{{?nobleTitle}}}" is nobleTitle of it <br>|}}
 +
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 +
{{#if:{{{?sex|}}}|"{{{?sex}}}" is sex of it <br>|}}
 
{{#if:{{{?born|}}}|"{{{?born}}}" is born of it <br>|}}
 
{{#if:{{{?born|}}}|"{{{?born}}}" is born of it <br>|}}
 
{{#if:{{{?yearBorn|}}}|"{{{?yearBorn}}}" is yearBorn of it <br>|}}
 
{{#if:{{{?yearBorn|}}}|"{{{?yearBorn}}}" is yearBorn of it <br>|}}
Line 275: Line 382:
 
{{#if:{{{?yearDied|}}}|"{{{?yearDied}}}" is yearDied of it <br>|}}
 
{{#if:{{{?yearDied|}}}|"{{{?yearDied}}}" is yearDied of it <br>|}}
 
{{#if:{{{?monthDied|}}}|"{{{?monthDied}}}" is monthDied of it <br>|}}
 
{{#if:{{{?monthDied|}}}|"{{{?monthDied}}}" is monthDied of it <br>|}}
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
 
 
{{#if:{{{?noInLine|}}}|"{{{?noInLine}}}" is noInLine of it <br>|}}
 
{{#if:{{{?noInLine|}}}|"{{{?noInLine}}}" is noInLine of it <br>|}}
 
{{#if:{{{?wikiPedia|}}}|"{{{?wikiPedia}}}" is wikiPedia of it <br>|}}
 
{{#if:{{{?wikiPedia|}}}|"{{{?wikiPedia}}}" is wikiPedia of it <br>|}}
 +
{{#if:{{{?childOf|}}}|"{{{?childOf}}}" is childOf of it <br>|}}
 +
{{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}}
 +
{{#if:{{{?spouse|}}}|"{{{?spouse}}}" is spouse of it <br>|}}
 
|#default={{#switch:{{{storemode|}}}
 
|#default={{#switch:{{{storemode|}}}
 
|none=
 
|none=
 
|subobject={{#subobject:-
 
|subobject={{#subobject:-
 
|isA=Person
 
|isA=Person
 +
|Person qid={{{qid|}}}
 +
|Person royal92id={{{royal92id|}}}
 
|Person name={{{name|}}}
 
|Person name={{{name|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 +
|Person picture={{{picture|}}}
 +
|Person sex={{{sex|}}}
 
|Person born={{{born|}}}
 
|Person born={{{born|}}}
 
|Person yearBorn={{{yearBorn|}}}
 
|Person yearBorn={{{yearBorn|}}}
Line 292: Line 405:
 
|Person yearDied={{{yearDied|}}}
 
|Person yearDied={{{yearDied|}}}
 
|Person monthDied={{{monthDied|}}}
 
|Person monthDied={{{monthDied|}}}
|Person picture={{{picture|}}}
 
 
|Person noInLine={{{noInLine|}}}
 
|Person noInLine={{{noInLine|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 +
|Person childOf={{{childOf|}}}
 +
|Person parentOf={{{parentOf|}}}
 +
|Person spouse={{{spouse|}}}
 
}}
 
}}
 
|#default={{#set:
 
|#default={{#set:
 
|isA=Person
 
|isA=Person
 +
|Person qid={{{qid|}}}
 +
|Person royal92id={{{royal92id|}}}
 
|Person name={{{name|}}}
 
|Person name={{{name|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 
|Person nobleTitle={{{nobleTitle|}}}
 +
|Person picture={{{picture|}}}
 +
|Person sex={{{sex|}}}
 
|Person born={{{born|}}}
 
|Person born={{{born|}}}
 
|Person yearBorn={{{yearBorn|}}}
 
|Person yearBorn={{{yearBorn|}}}
Line 308: Line 427:
 
|Person yearDied={{{yearDied|}}}
 
|Person yearDied={{{yearDied|}}}
 
|Person monthDied={{{monthDied|}}}
 
|Person monthDied={{{monthDied|}}}
|Person picture={{{picture|}}}
 
 
|Person noInLine={{{noInLine|}}}
 
|Person noInLine={{{noInLine|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 
|Person wikiPedia={{{wikiPedia|}}}
 +
|Person childOf={{{childOf|}}}
 +
|Person parentOf={{{parentOf|}}}
 +
|Person spouse={{{spouse|}}}
 
}}
 
}}
 
}}
 
}}
 
{{#switch: {{{viewmode|}}}
 
{{#switch: {{{viewmode|}}}
 
|masterdetail=
 
|masterdetail=
 +
= spouses =
 +
{{#ask:[[Concept:Person]][[Person spouse::{{FULLPAGENAME}}]]
 +
| ?Person qid = qid
 +
| ?Person royal92id = royal92id
 +
| ?Person name = name
 +
| ?Person nobleTitle = nobleTitle
 +
| ?Person picture = picture
 +
| ?Person sex = sex
 +
| ?Person born = born
 +
| ?Person yearBorn = yearBorn
 +
| ?Person monthBorn = monthBorn
 +
| ?Person birthPlace = birthPlace
 +
| ?Person died = died
 +
| ?Person diedAt = diedAt
 +
| ?Person yearDied = yearDied
 +
| ?Person monthDied = monthDied
 +
| ?Person noInLine = noInLine
 +
| ?Person wikiPedia = wikiPedia
 +
| ?Person childOf = childOf
 +
| ?Person parentOf = parentOf
 +
| ?Person spouse = spouse
 +
 +
 +
 +
}}
 
|tableheader={{{!}} class='wikitable'
 
|tableheader={{{!}} class='wikitable'
!name!!nobleTitle!!born!!yearBorn!!monthBorn!!birthPlace!!died!!diedAt!!yearDied!!monthDied!!picture!!noInLine!!wikiPedia
+
!qid!!royal92id!!name!!nobleTitle!!picture!!sex!!born!!yearBorn!!monthBorn!!birthPlace!!died!!diedAt!!yearDied!!monthDied!!noInLine!!wikiPedia!!childOf!!parentOf!!spouse
 
{{!}}-
 
{{!}}-
 
|tablerow=
 
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{nobleTitle|}}}{{!}}{{!}}{{{born|}}}{{!}}{{!}}{{{yearBorn|}}}{{!}}{{!}}{{{monthBorn|}}}{{!}}{{!}}{{{birthPlace|}}}{{!}}{{!}}{{{died|}}}{{!}}{{!}}{{{diedAt|}}}{{!}}{{!}}{{{yearDied|}}}{{!}}{{!}}{{{monthDied|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{noInLine|}}}{{!}}{{!}}{{{wikiPedia|}}}
+
{{!}}{{{qid|}}}{{!}}{{!}}{{{royal92id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{nobleTitle|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{sex|}}}{{!}}{{!}}{{{born|}}}{{!}}{{!}}{{{yearBorn|}}}{{!}}{{!}}{{{monthBorn|}}}{{!}}{{!}}{{{birthPlace|}}}{{!}}{{!}}{{{died|}}}{{!}}{{!}}{{{diedAt|}}}{{!}}{{!}}{{{yearDied|}}}{{!}}{{!}}{{{monthDied|}}}{{!}}{{!}}{{{noInLine|}}}{{!}}{{!}}{{{wikiPedia|}}}{{!}}{{!}}{{{childOf|}}}{{!}}{{!}}{{{parentOf|}}}{{!}}{{!}}{{{spouse|}}}
 
{{!}}-
 
{{!}}-
 
|tablefooter={{!}}}
 
|tablefooter={{!}}}
 
|labelfield=
 
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>nobleTitle={{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}<br>born={{#if:{{{born|}}}|{{{born|}}}|}}<br>yearBorn={{#if:{{{yearBorn|}}}|{{{yearBorn|}}}|}}<br>monthBorn={{#if:{{{monthBorn|}}}|{{{monthBorn|}}}|}}<br>birthPlace={{#if:{{{birthPlace|}}}|{{{birthPlace|}}}|}}<br>died={{#if:{{{died|}}}|{{{died|}}}|}}<br>diedAt={{#if:{{{diedAt|}}}|{{{diedAt|}}}|}}<br>yearDied={{#if:{{{yearDied|}}}|{{{yearDied|}}}|}}<br>monthDied={{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}<br>picture={{#if:{{{picture|}}}|{{{picture|}}}|}}<br>noInLine={{#if:{{{noInLine|}}}|{{{noInLine|}}}|}}<br>wikiPedia={{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}<br>|#default={{{!}} class='wikitable'
+
qid={{#if:{{{qid|}}}|{{{qid|}}}|}}<br>royal92id={{#if:{{{royal92id|}}}|{{{royal92id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>nobleTitle={{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}<br>picture={{#if:{{{picture|}}}|{{{picture|}}}|}}<br>sex={{#if:{{{sex|}}}|{{{sex|}}}|}}<br>born={{#if:{{{born|}}}|{{{born|}}}|}}<br>yearBorn={{#if:{{{yearBorn|}}}|{{{yearBorn|}}}|}}<br>monthBorn={{#if:{{{monthBorn|}}}|{{{monthBorn|}}}|}}<br>birthPlace={{#if:{{{birthPlace|}}}|{{{birthPlace|}}}|}}<br>died={{#if:{{{died|}}}|{{{died|}}}|}}<br>diedAt={{#if:{{{diedAt|}}}|{{{diedAt|}}}|}}<br>yearDied={{#if:{{{yearDied|}}}|{{{yearDied|}}}|}}<br>monthDied={{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}<br>noInLine={{#if:{{{noInLine|}}}|{{{noInLine|}}}|}}<br>wikiPedia={{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}<br>childOf={{#if:{{{childOf|}}}|[[{{{childOf|}}}]]|}}<br>parentOf={{#if:{{{parentOf|}}}|[[{{{parentOf|}}}]]|}}<br>spouse={{#if:{{{spouse|}}}|[[{{{spouse|}}}]]|}}<br>|#default={{{!}} class='wikitable'
 
! colspan='2' {{!}}Person
 
! colspan='2' {{!}}Person
 
{{!}}-
 
{{!}}-
Line 330: Line 476:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
 +
!qid
 +
{{!}}&nbsp;{{#if:{{{qid|}}}|[https://www.wikidata.org/wiki/{{{qid|}}} {{{qid|}}}]|}}
 +
{{!}}-
 +
!royal92id
 +
{{!}}&nbsp;{{#if:{{{royal92id|}}}|{{{royal92id|}}}|}}
 +
{{!}}-
 
!name
 
!name
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
 
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
Line 335: Line 487:
 
!nobleTitle
 
!nobleTitle
 
{{!}}&nbsp;{{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}
 
{{!}}&nbsp;{{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}
 +
{{!}}-
 +
!picture
 +
{{!}}&nbsp;{{#if:{{{picture|}}}|[[{{{picture|}}}|250px]]|}}
 +
{{!}}-
 +
!sex
 +
{{!}}&nbsp;{{#if:{{{sex|}}}|{{{sex|}}}|}}
 
{{!}}-
 
{{!}}-
 
!born
 
!born
Line 359: Line 517:
 
!monthDied
 
!monthDied
 
{{!}}&nbsp;{{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}
 
{{!}}&nbsp;{{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}
{{!}}-
 
!picture
 
{{!}}&nbsp;{{#if:{{{picture|}}}|{{{picture|}}}|}}
 
 
{{!}}-
 
{{!}}-
 
!noInLine
 
!noInLine
Line 368: Line 523:
 
!wikiPedia
 
!wikiPedia
 
{{!}}&nbsp;{{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}
 
{{!}}&nbsp;{{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}
 +
{{!}}-
 +
!childOf
 +
{{!}}&nbsp;{{#if:{{{childOf|}}}|[[{{{childOf|}}}]]|}}
 +
{{!}}-
 +
!parentOf
 +
{{!}}&nbsp;{{#if:{{{parentOf|}}}|[[{{{parentOf|}}}]]|}}
 +
{{!}}-
 +
!spouse
 +
{{!}}&nbsp;{{#if:{{{spouse|}}}|[[{{{spouse|}}}]]|}}
 
{{!}}-
 
{{!}}-
 
{{!}}}
 
{{!}}}
 
}}
 
}}
 
}}
 
}}
</includeonly>
+
[[Category:Person]]{{#default_form:Person}}[[Category:frontend]]</includeonly>

Latest revision as of 07:20, 10 October 2017

This is the template Person. It belongs to the concept/topic Concept:Person
You may find examples for the use of this template via the List of Persons.

Usage

storemode subobject

{{Person
|qid=
|royal92id=
|name=
|nobleTitle=
|picture=
|sex=
|born=
|yearBorn=
|monthBorn=
|birthPlace=
|died=
|diedAt=
|yearDied=
|monthDied=
|noInLine=
|wikiPedia=
|childOf=
|parentOf=
|spouse=
|storemode=subobject
}}

storemode property

{{Person
|qid=
|royal92id=
|name=
|nobleTitle=
|picture=
|sex=
|born=
|yearBorn=
|monthBorn=
|birthPlace=
|died=
|diedAt=
|yearDied=
|monthDied=
|noInLine=
|wikiPedia=
|childOf=
|parentOf=
|spouse=
|storemode=property
}}

storemode none

{{Person
|qid=
|royal92id=
|name=
|nobleTitle=
|picture=
|sex=
|born=
|yearBorn=
|monthBorn=
|birthPlace=
|died=
|diedAt=
|yearDied=
|monthDied=
|noInLine=
|wikiPedia=
|childOf=
|parentOf=
|spouse=
|storemode=none
}}


viewmode tableheader

{{Person
|qid=
|royal92id=
|name=
|nobleTitle=
|picture=
|sex=
|born=
|yearBorn=
|monthBorn=
|birthPlace=
|died=
|diedAt=
|yearDied=
|monthDied=
|noInLine=
|wikiPedia=
|childOf=
|parentOf=
|spouse=
|viewmode=tableheader
}}

viewmode tablerow

{{Person
|qid=
|royal92id=
|name=
|nobleTitle=
|picture=
|sex=
|born=
|yearBorn=
|monthBorn=
|birthPlace=
|died=
|diedAt=
|yearDied=
|monthDied=
|noInLine=
|wikiPedia=
|childOf=
|parentOf=
|spouse=
|viewmode=tablerow
}}

viewmode tablefooter

{{Person
|qid=
|royal92id=
|name=
|nobleTitle=
|picture=
|sex=
|born=
|yearBorn=
|monthBorn=
|birthPlace=
|died=
|diedAt=
|yearDied=
|monthDied=
|noInLine=
|wikiPedia=
|childOf=
|parentOf=
|spouse=
|viewmode=tablefooter
}}

viewmode labelfield

{{Person
|qid=
|royal92id=
|name=
|nobleTitle=
|picture=
|sex=
|born=
|yearBorn=
|monthBorn=
|birthPlace=
|died=
|diedAt=
|yearDied=
|monthDied=
|noInLine=
|wikiPedia=
|childOf=
|parentOf=
|spouse=
|viewmode=labelfield
}}

Source (pretty printed)

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Person<br>|}}
{{#if:{{{?qid|}}}|"{{{?qid}}}" is qid of it <br>|}}
{{#if:{{{?royal92id|}}}|"{{{?royal92id}}}" is royal92id of it <br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?nobleTitle|}}}|"{{{?nobleTitle}}}" is nobleTitle of it <br>|}}
{{#if:{{{?picture|}}}|"{{{?picture}}}" is picture of it <br>|}}
{{#if:{{{?sex|}}}|"{{{?sex}}}" is sex of it <br>|}}
{{#if:{{{?born|}}}|"{{{?born}}}" is born of it <br>|}}
{{#if:{{{?yearBorn|}}}|"{{{?yearBorn}}}" is yearBorn of it <br>|}}
{{#if:{{{?monthBorn|}}}|"{{{?monthBorn}}}" is monthBorn of it <br>|}}
{{#if:{{{?birthPlace|}}}|"{{{?birthPlace}}}" is birthPlace of it <br>|}}
{{#if:{{{?died|}}}|"{{{?died}}}" is died of it <br>|}}
{{#if:{{{?diedAt|}}}|"{{{?diedAt}}}" is diedAt of it <br>|}}
{{#if:{{{?yearDied|}}}|"{{{?yearDied}}}" is yearDied of it <br>|}}
{{#if:{{{?monthDied|}}}|"{{{?monthDied}}}" is monthDied of it <br>|}}
{{#if:{{{?noInLine|}}}|"{{{?noInLine}}}" is noInLine of it <br>|}}
{{#if:{{{?wikiPedia|}}}|"{{{?wikiPedia}}}" is wikiPedia of it <br>|}}
{{#if:{{{?childOf|}}}|"{{{?childOf}}}" is childOf of it <br>|}}
{{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}}
{{#if:{{{?spouse|}}}|"{{{?spouse}}}" is spouse of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Person
|Person qid={{{qid|}}}
|Person royal92id={{{royal92id|}}}
|Person name={{{name|}}}
|Person nobleTitle={{{nobleTitle|}}}
|Person picture={{{picture|}}}
|Person sex={{{sex|}}}
|Person born={{{born|}}}
|Person yearBorn={{{yearBorn|}}}
|Person monthBorn={{{monthBorn|}}}
|Person birthPlace={{{birthPlace|}}}
|Person died={{{died|}}}
|Person diedAt={{{diedAt|}}}
|Person yearDied={{{yearDied|}}}
|Person monthDied={{{monthDied|}}}
|Person noInLine={{{noInLine|}}}
|Person wikiPedia={{{wikiPedia|}}}
|Person childOf={{{childOf|}}}
|Person parentOf={{{parentOf|}}}
|Person spouse={{{spouse|}}}
}}
|#default={{#set:
|isA=Person
|Person qid={{{qid|}}}
|Person royal92id={{{royal92id|}}}
|Person name={{{name|}}}
|Person nobleTitle={{{nobleTitle|}}}
|Person picture={{{picture|}}}
|Person sex={{{sex|}}}
|Person born={{{born|}}}
|Person yearBorn={{{yearBorn|}}}
|Person monthBorn={{{monthBorn|}}}
|Person birthPlace={{{birthPlace|}}}
|Person died={{{died|}}}
|Person diedAt={{{diedAt|}}}
|Person yearDied={{{yearDied|}}}
|Person monthDied={{{monthDied|}}}
|Person noInLine={{{noInLine|}}}
|Person wikiPedia={{{wikiPedia|}}}
|Person childOf={{{childOf|}}}
|Person parentOf={{{parentOf|}}}
|Person spouse={{{spouse|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
= spouses =
{{#ask:[[Concept:Person]][[Person spouse::{{FULLPAGENAME}}]]
| ?Person qid = qid
| ?Person royal92id = royal92id
| ?Person name = name
| ?Person nobleTitle = nobleTitle
| ?Person picture = picture
| ?Person sex = sex
| ?Person born = born
| ?Person yearBorn = yearBorn
| ?Person monthBorn = monthBorn
| ?Person birthPlace = birthPlace
| ?Person died = died
| ?Person diedAt = diedAt
| ?Person yearDied = yearDied
| ?Person monthDied = monthDied
| ?Person noInLine = noInLine
| ?Person wikiPedia = wikiPedia
| ?Person childOf = childOf
| ?Person parentOf = parentOf
| ?Person spouse = spouse



}}
|tableheader={{{!}} class='wikitable'
!qid!!royal92id!!name!!nobleTitle!!picture!!sex!!born!!yearBorn!!monthBorn!!birthPlace!!died!!diedAt!!yearDied!!monthDied!!noInLine!!wikiPedia!!childOf!!parentOf!!spouse
{{!}}-
|tablerow=
{{!}}{{{qid|}}}{{!}}{{!}}{{{royal92id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{nobleTitle|}}}{{!}}{{!}}{{{picture|}}}{{!}}{{!}}{{{sex|}}}{{!}}{{!}}{{{born|}}}{{!}}{{!}}{{{yearBorn|}}}{{!}}{{!}}{{{monthBorn|}}}{{!}}{{!}}{{{birthPlace|}}}{{!}}{{!}}{{{died|}}}{{!}}{{!}}{{{diedAt|}}}{{!}}{{!}}{{{yearDied|}}}{{!}}{{!}}{{{monthDied|}}}{{!}}{{!}}{{{noInLine|}}}{{!}}{{!}}{{{wikiPedia|}}}{{!}}{{!}}{{{childOf|}}}{{!}}{{!}}{{{parentOf|}}}{{!}}{{!}}{{{spouse|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
qid={{#if:{{{qid|}}}|{{{qid|}}}|}}<br>royal92id={{#if:{{{royal92id|}}}|{{{royal92id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>nobleTitle={{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}<br>picture={{#if:{{{picture|}}}|{{{picture|}}}|}}<br>sex={{#if:{{{sex|}}}|{{{sex|}}}|}}<br>born={{#if:{{{born|}}}|{{{born|}}}|}}<br>yearBorn={{#if:{{{yearBorn|}}}|{{{yearBorn|}}}|}}<br>monthBorn={{#if:{{{monthBorn|}}}|{{{monthBorn|}}}|}}<br>birthPlace={{#if:{{{birthPlace|}}}|{{{birthPlace|}}}|}}<br>died={{#if:{{{died|}}}|{{{died|}}}|}}<br>diedAt={{#if:{{{diedAt|}}}|{{{diedAt|}}}|}}<br>yearDied={{#if:{{{yearDied|}}}|{{{yearDied|}}}|}}<br>monthDied={{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}<br>noInLine={{#if:{{{noInLine|}}}|{{{noInLine|}}}|}}<br>wikiPedia={{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}<br>childOf={{#if:{{{childOf|}}}|[[{{{childOf|}}}]]|}}<br>parentOf={{#if:{{{parentOf|}}}|[[{{{parentOf|}}}]]|}}<br>spouse={{#if:{{{spouse|}}}|[[{{{spouse|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Person
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Person/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!qid
{{!}}&nbsp;{{#if:{{{qid|}}}|{{{qid|}}}|}}
{{!}}-
!royal92id
{{!}}&nbsp;{{#if:{{{royal92id|}}}|{{{royal92id|}}}|}}
{{!}}-
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!nobleTitle
{{!}}&nbsp;{{#if:{{{nobleTitle|}}}|{{{nobleTitle|}}}|}}
{{!}}-
!picture
{{!}}&nbsp;{{#if:{{{picture|}}}|{{{picture|}}}|}}
{{!}}-
!sex
{{!}}&nbsp;{{#if:{{{sex|}}}|{{{sex|}}}|}}
{{!}}-
!born
{{!}}&nbsp;{{#if:{{{born|}}}|{{{born|}}}|}}
{{!}}-
!yearBorn
{{!}}&nbsp;{{#if:{{{yearBorn|}}}|{{{yearBorn|}}}|}}
{{!}}-
!monthBorn
{{!}}&nbsp;{{#if:{{{monthBorn|}}}|{{{monthBorn|}}}|}}
{{!}}-
!birthPlace
{{!}}&nbsp;{{#if:{{{birthPlace|}}}|{{{birthPlace|}}}|}}
{{!}}-
!died
{{!}}&nbsp;{{#if:{{{died|}}}|{{{died|}}}|}}
{{!}}-
!diedAt
{{!}}&nbsp;{{#if:{{{diedAt|}}}|{{{diedAt|}}}|}}
{{!}}-
!yearDied
{{!}}&nbsp;{{#if:{{{yearDied|}}}|{{{yearDied|}}}|}}
{{!}}-
!monthDied
{{!}}&nbsp;{{#if:{{{monthDied|}}}|{{{monthDied|}}}|}}
{{!}}-
!noInLine
{{!}}&nbsp;{{#if:{{{noInLine|}}}|{{{noInLine|}}}|}}
{{!}}-
!wikiPedia
{{!}}&nbsp;{{#if:{{{wikiPedia|}}}|{{{wikiPedia|}}}|}}
{{!}}-
!childOf
{{!}}&nbsp;{{#if:{{{childOf|}}}|[[{{{childOf|}}}]]|}}
{{!}}-
!parentOf
{{!}}&nbsp;{{#if:{{{parentOf|}}}|[[{{{parentOf|}}}]]|}}
{{!}}-
!spouse
{{!}}&nbsp;{{#if:{{{spouse|}}}|[[{{{spouse|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Person]]{{#default_form:Person}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.