Difference between revisions of "Form:Family"

From BITPlan royal-family Wiki
Jump to navigation Jump to search
(created by WikiTask 2017-10-03T19:13:22Z)
 
m (created by WikiTask 2017-10-10T06:13:15Z)
 
(9 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
{{{section|Family|level=1|hidden}}}
+
 
= Family =
 
  
 
<!-- Family -->
 
<!-- Family -->
Line 20: Line 19:
 
! name:  
 
! name:  
 
<!-- Text name -->
 
<!-- Text name -->
| {{{field|name|property=Family name}}}
+
| {{{field|name|property=Family name|mandatory}}}
 
|-
 
|-
 
! weddingDate:  
 
! weddingDate:  
<!-- Text weddingDate -->
+
<!-- Date weddingDate -->
| {{{field|weddingDate|property=Family weddingDate}}}
+
| {{{field|weddingDate|property=Family weddingDate|input type=datepicker}}}
 
|-
 
|-
 
! weddingPlace:  
 
! weddingPlace:  
Line 31: Line 30:
 
|-
 
|-
 
! yearMarried:  
 
! yearMarried:  
<!-- Text yearMarried -->
+
<!-- Number yearMarried -->
 
| {{{field|yearMarried|property=Family yearMarried}}}
 
| {{{field|yearMarried|property=Family yearMarried}}}
 
|-
 
|-
 
! monthMarried:  
 
! monthMarried:  
<!-- Text monthMarried -->
+
<!-- Number monthMarried -->
 
| {{{field|monthMarried|property=Family monthMarried}}}
 
| {{{field|monthMarried|property=Family monthMarried}}}
 
|-
 
|-
 
! divorced:  
 
! divorced:  
<!-- Text divorced -->
+
<!-- Date divorced -->
 
| {{{field|divorced|property=Family divorced}}}
 
| {{{field|divorced|property=Family divorced}}}
 +
|-
 +
! husbandOf:
 +
<!-- Page husbandOf -->
 +
| {{{field|husbandOf|property=Family husbandOf|input type=combobox|values from concept=Person}}}
 +
|-
 +
! wifeOf:
 +
<!-- Page wifeOf -->
 +
| {{{field|wifeOf|property=Family wifeOf|input type=combobox|values from concept=Person}}}
 +
|-
 +
|}
 +
{{{field|storemode|default=property|hidden}}}
 +
{{{end template}}}
 +
<!-- Family -->
 +
 +
 +
<!-- Person -->
 +
{{{for template|Person|multiple}}}
 +
{| class="wikitable"
 +
! colspan='2'| Person
 +
|-
 +
! qid:
 +
<!-- Text qid -->
 +
| {{{field|qid|property=Person qid|mandatory}}}
 +
|-
 +
! royal92id:
 +
<!-- Text royal92id -->
 +
| {{{field|royal92id|property=Person royal92id}}}
 +
|-
 +
! name:
 +
<!-- Text name -->
 +
| {{{field|name|property=Person name|mandatory}}}
 +
|-
 +
! nobleTitle:
 +
<!-- Text nobleTitle -->
 +
| {{{field|nobleTitle|property=Person nobleTitle}}}
 +
|-
 +
! picture:
 +
<!-- URL picture -->
 +
| {{{field|picture|property=Person picture}}}
 +
|-
 +
! sex:
 +
<!-- Text sex -->
 +
| {{{field|sex|property=Person sex|input type=radiobutton|values=female,male}}}
 +
|-
 +
! born:
 +
<!-- Date born -->
 +
| {{{field|born|property=Person born|input type=datetime}}}
 +
|-
 +
! yearBorn:
 +
<!-- Number yearBorn -->
 +
| {{{field|yearBorn|property=Person yearBorn}}}
 +
|-
 +
! monthBorn:
 +
<!-- Number monthBorn -->
 +
| {{{field|monthBorn|property=Person monthBorn}}}
 +
|-
 +
! birthPlace:
 +
<!-- Text birthPlace -->
 +
| {{{field|birthPlace|property=Person birthPlace}}}
 +
|-
 +
! died:
 +
<!-- Date died -->
 +
| {{{field|died|property=Person died}}}
 +
|-
 +
! diedAt:
 +
<!-- Text diedAt -->
 +
| {{{field|diedAt|property=Person diedAt}}}
 +
|-
 +
! yearDied:
 +
<!-- Number yearDied -->
 +
| {{{field|yearDied|property=Person yearDied}}}
 +
|-
 +
! monthDied:
 +
<!-- Number monthDied -->
 +
| {{{field|monthDied|property=Person monthDied}}}
 +
|-
 +
! noInLine:
 +
<!-- Number noInLine -->
 +
| {{{field|noInLine|property=Person noInLine}}}
 +
|-
 +
! wikiPedia:
 +
<!-- URL wikiPedia -->
 +
| {{{field|wikiPedia|property=Person wikiPedia}}}
 
|-
 
|-
 
! childOf:  
 
! childOf:  
<!-- Text childOf -->
+
<!-- Page childOf -->
| {{{field|childOf|property=Family childOf}}}
+
| {{{field|childOf|property=Person childOf|input type=dropdown|values from concept=Family}}}
 
|-
 
|-
 
! parentOf:  
 
! parentOf:  
<!-- Text parentOf -->
+
<!-- Page parentOf -->
| {{{field|parentOf|property=Family parentOf}}}
+
| {{{field|parentOf|property=Person parentOf|input type=dropdown|values from concept=Family}}}
 
|-
 
|-
! husbandOf:  
+
! spouse:
<!-- Text husbandOf -->
+
<!-- Page spouse -->
| {{{field|husbandOf|property=Family husbandOf}}}
+
| {{{field|spouse|property=Person spouse|input type=dropdown|values from concept=Person}}}
 +
|-
 +
|}
 +
{{{field|storemode|default=property|hidden}}}
 +
{{{end template}}}
 +
<!-- Person -->
 +
 
 +
 
 +
<!-- Person -->
 +
{{{for template|Person|multiple}}}
 +
{| class="wikitable"
 +
! colspan='2'| Person
 +
|-
 +
! qid:
 +
<!-- Text qid -->
 +
| {{{field|qid|property=Person qid|mandatory}}}
 +
|-
 +
! royal92id:
 +
<!-- Text royal92id -->
 +
| {{{field|royal92id|property=Person royal92id}}}
 +
|-
 +
! name:
 +
<!-- Text name -->
 +
| {{{field|name|property=Person name|mandatory}}}
 +
|-
 +
! nobleTitle:
 +
<!-- Text nobleTitle -->
 +
| {{{field|nobleTitle|property=Person nobleTitle}}}
 +
|-
 +
! picture:
 +
<!-- URL picture -->
 +
| {{{field|picture|property=Person picture}}}
 +
|-
 +
! sex:
 +
<!-- Text sex -->
 +
| {{{field|sex|property=Person sex|input type=radiobutton|values=female,male}}}
 +
|-
 +
! born:
 +
<!-- Date born -->
 +
| {{{field|born|property=Person born|input type=datetime}}}
 +
|-
 +
! yearBorn:
 +
<!-- Number yearBorn -->
 +
| {{{field|yearBorn|property=Person yearBorn}}}
 +
|-
 +
! monthBorn:
 +
<!-- Number monthBorn -->
 +
| {{{field|monthBorn|property=Person monthBorn}}}
 +
|-
 +
! birthPlace:  
 +
<!-- Text birthPlace -->
 +
| {{{field|birthPlace|property=Person birthPlace}}}
 +
|-
 +
! died:
 +
<!-- Date died -->
 +
| {{{field|died|property=Person died}}}
 +
|-
 +
! diedAt:
 +
<!-- Text diedAt -->
 +
| {{{field|diedAt|property=Person diedAt}}}
 +
|-
 +
! yearDied:
 +
<!-- Number yearDied -->
 +
| {{{field|yearDied|property=Person yearDied}}}
 +
|-
 +
! monthDied:
 +
<!-- Number monthDied -->
 +
| {{{field|monthDied|property=Person monthDied}}}
 +
|-
 +
! noInLine:
 +
<!-- Number noInLine -->
 +
| {{{field|noInLine|property=Person noInLine}}}
 +
|-
 +
! wikiPedia:
 +
<!-- URL wikiPedia -->
 +
| {{{field|wikiPedia|property=Person wikiPedia}}}
 +
|-
 +
! childOf:
 +
<!-- Page childOf -->
 +
| {{{field|childOf|property=Person childOf|input type=dropdown|values from concept=Family}}}
 +
|-
 +
! parentOf:
 +
<!-- Page parentOf -->
 +
| {{{field|parentOf|property=Person parentOf|input type=dropdown|values from concept=Family}}}
 +
|-
 +
! spouse:
 +
<!-- Page spouse -->
 +
| {{{field|spouse|property=Person spouse|input type=dropdown|values from concept=Person}}}
 
|-
 
|-
 
|}
 
|}
{{{field|storemode|default=|hidden}}}
+
{{{field|storemode|default=property|hidden}}}
 
{{{end template}}}
 
{{{end template}}}
<!-- Family -->
+
<!-- Person -->
<headertabs/>
+
 
 
{{{section|Freitext|level=1|hidden}}}
 
{{{section|Freitext|level=1|hidden}}}
 
=Freitext=
 
=Freitext=

Latest revision as of 07:13, 10 October 2017

This is the smartMediaWiki-Form for "Family".

Create a new Family by entering a new pagename for a Family into the field below.

If you enter an existing Family pagename - you will edit the Family with that pagename.