Difference between revisions of "Template:Family"
Jump to navigation
Jump to search
m (created by WikiTask 2017-10-03T19:33:24Z) |
m (created by WikiTask 2017-10-05T12:26:06Z) |
||
Line 22: | Line 22: | ||
|monthMarried= | |monthMarried= | ||
|divorced= | |divorced= | ||
− | |||
|parentOf= | |parentOf= | ||
|husbandOf= | |husbandOf= | ||
Line 37: | Line 36: | ||
|monthMarried= | |monthMarried= | ||
|divorced= | |divorced= | ||
− | |||
|parentOf= | |parentOf= | ||
|husbandOf= | |husbandOf= | ||
Line 52: | Line 50: | ||
|monthMarried= | |monthMarried= | ||
|divorced= | |divorced= | ||
− | |||
|parentOf= | |parentOf= | ||
|husbandOf= | |husbandOf= | ||
Line 68: | Line 65: | ||
|monthMarried= | |monthMarried= | ||
|divorced= | |divorced= | ||
− | |||
|parentOf= | |parentOf= | ||
|husbandOf= | |husbandOf= | ||
Line 83: | Line 79: | ||
|monthMarried= | |monthMarried= | ||
|divorced= | |divorced= | ||
− | |||
|parentOf= | |parentOf= | ||
|husbandOf= | |husbandOf= | ||
Line 98: | Line 93: | ||
|monthMarried= | |monthMarried= | ||
|divorced= | |divorced= | ||
− | |||
|parentOf= | |parentOf= | ||
|husbandOf= | |husbandOf= | ||
Line 113: | Line 107: | ||
|monthMarried= | |monthMarried= | ||
|divorced= | |divorced= | ||
− | |||
|parentOf= | |parentOf= | ||
|husbandOf= | |husbandOf= | ||
Line 129: | Line 122: | ||
{{#if:{{{?monthMarried|}}}|"{{{?monthMarried}}}" is monthMarried of it <br>|}} | {{#if:{{{?monthMarried|}}}|"{{{?monthMarried}}}" is monthMarried of it <br>|}} | ||
{{#if:{{{?divorced|}}}|"{{{?divorced}}}" is divorced of it <br>|}} | {{#if:{{{?divorced|}}}|"{{{?divorced}}}" is divorced of it <br>|}} | ||
− | |||
{{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}} | {{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}} | ||
{{#if:{{{?husbandOf|}}}|"{{{?husbandOf}}}" is husbandOf of it <br>|}} | {{#if:{{{?husbandOf|}}}|"{{{?husbandOf}}}" is husbandOf of it <br>|}} | ||
Line 142: | Line 134: | ||
|Family monthMarried={{{monthMarried|}}} | |Family monthMarried={{{monthMarried|}}} | ||
|Family divorced={{{divorced|}}} | |Family divorced={{{divorced|}}} | ||
− | |||
|Family parentOf={{{parentOf|}}} | |Family parentOf={{{parentOf|}}} | ||
|Family husbandOf={{{husbandOf|}}} | |Family husbandOf={{{husbandOf|}}} | ||
Line 154: | Line 145: | ||
|Family monthMarried={{{monthMarried|}}} | |Family monthMarried={{{monthMarried|}}} | ||
|Family divorced={{{divorced|}}} | |Family divorced={{{divorced|}}} | ||
− | |||
|Family parentOf={{{parentOf|}}} | |Family parentOf={{{parentOf|}}} | ||
|Family husbandOf={{{husbandOf|}}} | |Family husbandOf={{{husbandOf|}}} | ||
Line 162: | Line 152: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !name!!weddingDate!!weddingPlace!!yearMarried!!monthMarried!!divorced | + | !name!!weddingDate!!weddingPlace!!yearMarried!!monthMarried!!divorced!!parentOf!!husbandOf |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{name|}}}{{!}}{{!}}{{{weddingDate|}}}{{!}}{{!}}{{{weddingPlace|}}}{{!}}{{!}}{{{yearMarried|}}}{{!}}{{!}}{{{monthMarried|}}}{{!}}{{!}}{{{divorced | + | {{!}}{{{name|}}}{{!}}{{!}}{{{weddingDate|}}}{{!}}{{!}}{{{weddingPlace|}}}{{!}}{{!}}{{{yearMarried|}}}{{!}}{{!}}{{{monthMarried|}}}{{!}}{{!}}{{{divorced|}}}{{!}}{{!}}{{{parentOf|}}}{{!}}{{!}}{{{husbandOf|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | name={{#if:{{{name|}}}|{{{name|}}}|}}<br>weddingDate={{#if:{{{weddingDate|}}}|{{{weddingDate|}}}|}}<br>weddingPlace={{#if:{{{weddingPlace|}}}|{{{weddingPlace|}}}|}}<br>yearMarried={{#if:{{{yearMarried|}}}|{{{yearMarried|}}}|}}<br>monthMarried={{#if:{{{monthMarried|}}}|{{{monthMarried|}}}|}}<br>divorced={{#if:{{{divorced|}}}|{{{divorced | + | name={{#if:{{{name|}}}|{{{name|}}}|}}<br>weddingDate={{#if:{{{weddingDate|}}}|{{{weddingDate|}}}|}}<br>weddingPlace={{#if:{{{weddingPlace|}}}|{{{weddingPlace|}}}|}}<br>yearMarried={{#if:{{{yearMarried|}}}|{{{yearMarried|}}}|}}<br>monthMarried={{#if:{{{monthMarried|}}}|{{{monthMarried|}}}|}}<br>divorced={{#if:{{{divorced|}}}|{{{divorced|}}}|}}<br>parentOf={{#if:{{{parentOf|}}}|{{{parentOf|}}}|}}<br>husbandOf={{#if:{{{husbandOf|}}}|{{{husbandOf|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Family | ! colspan='2' {{!}}Family | ||
{{!}}- | {{!}}- | ||
Line 193: | Line 183: | ||
!divorced | !divorced | ||
{{!}} {{#if:{{{divorced|}}}|{{{divorced|}}}|}} | {{!}} {{#if:{{{divorced|}}}|{{{divorced|}}}|}} | ||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
!parentOf | !parentOf | ||
Line 219: | Line 206: | ||
{{#if:{{{?monthMarried|}}}|"{{{?monthMarried}}}" is monthMarried of it <br>|}} | {{#if:{{{?monthMarried|}}}|"{{{?monthMarried}}}" is monthMarried of it <br>|}} | ||
{{#if:{{{?divorced|}}}|"{{{?divorced}}}" is divorced of it <br>|}} | {{#if:{{{?divorced|}}}|"{{{?divorced}}}" is divorced of it <br>|}} | ||
− | |||
{{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}} | {{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}} | ||
{{#if:{{{?husbandOf|}}}|"{{{?husbandOf}}}" is husbandOf of it <br>|}} | {{#if:{{{?husbandOf|}}}|"{{{?husbandOf}}}" is husbandOf of it <br>|}} | ||
Line 232: | Line 218: | ||
|Family monthMarried={{{monthMarried|}}} | |Family monthMarried={{{monthMarried|}}} | ||
|Family divorced={{{divorced|}}} | |Family divorced={{{divorced|}}} | ||
− | |||
|Family parentOf={{{parentOf|}}} | |Family parentOf={{{parentOf|}}} | ||
|Family husbandOf={{{husbandOf|}}} | |Family husbandOf={{{husbandOf|}}} | ||
Line 244: | Line 229: | ||
|Family monthMarried={{{monthMarried|}}} | |Family monthMarried={{{monthMarried|}}} | ||
|Family divorced={{{divorced|}}} | |Family divorced={{{divorced|}}} | ||
− | |||
|Family parentOf={{{parentOf|}}} | |Family parentOf={{{parentOf|}}} | ||
|Family husbandOf={{{husbandOf|}}} | |Family husbandOf={{{husbandOf|}}} | ||
Line 252: | Line 236: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !name!!weddingDate!!weddingPlace!!yearMarried!!monthMarried!!divorced | + | !name!!weddingDate!!weddingPlace!!yearMarried!!monthMarried!!divorced!!parentOf!!husbandOf |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{name|}}}{{!}}{{!}}{{{weddingDate|}}}{{!}}{{!}}{{{weddingPlace|}}}{{!}}{{!}}{{{yearMarried|}}}{{!}}{{!}}{{{monthMarried|}}}{{!}}{{!}}{{{divorced | + | {{!}}{{{name|}}}{{!}}{{!}}{{{weddingDate|}}}{{!}}{{!}}{{{weddingPlace|}}}{{!}}{{!}}{{{yearMarried|}}}{{!}}{{!}}{{{monthMarried|}}}{{!}}{{!}}{{{divorced|}}}{{!}}{{!}}{{{parentOf|}}}{{!}}{{!}}{{{husbandOf|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | name={{#if:{{{name|}}}|{{{name|}}}|}}<br>weddingDate={{#if:{{{weddingDate|}}}|{{{weddingDate|}}}|}}<br>weddingPlace={{#if:{{{weddingPlace|}}}|{{{weddingPlace|}}}|}}<br>yearMarried={{#if:{{{yearMarried|}}}|{{{yearMarried|}}}|}}<br>monthMarried={{#if:{{{monthMarried|}}}|{{{monthMarried|}}}|}}<br>divorced={{#if:{{{divorced|}}}|{{{divorced | + | name={{#if:{{{name|}}}|{{{name|}}}|}}<br>weddingDate={{#if:{{{weddingDate|}}}|{{{weddingDate|}}}|}}<br>weddingPlace={{#if:{{{weddingPlace|}}}|{{{weddingPlace|}}}|}}<br>yearMarried={{#if:{{{yearMarried|}}}|{{{yearMarried|}}}|}}<br>monthMarried={{#if:{{{monthMarried|}}}|{{{monthMarried|}}}|}}<br>divorced={{#if:{{{divorced|}}}|{{{divorced|}}}|}}<br>parentOf={{#if:{{{parentOf|}}}|{{{parentOf|}}}|}}<br>husbandOf={{#if:{{{husbandOf|}}}|{{{husbandOf|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}Family | ! colspan='2' {{!}}Family | ||
{{!}}- | {{!}}- | ||
Line 283: | Line 267: | ||
!divorced | !divorced | ||
{{!}} {{#if:{{{divorced|}}}|{{{divorced|}}}|}} | {{!}} {{#if:{{{divorced|}}}|{{{divorced|}}}|}} | ||
− | |||
− | |||
− | |||
{{!}}- | {{!}}- | ||
!parentOf | !parentOf |
Revision as of 13:26, 5 October 2017
This is the template Family.
It belongs to the concept/topic Concept:Family
You may find examples for the use of this template via the List of Families.
Usage
storemode subobject
{{Family |name= |weddingDate= |weddingPlace= |yearMarried= |monthMarried= |divorced= |parentOf= |husbandOf= |storemode=subobject }}
storemode property
{{Family |name= |weddingDate= |weddingPlace= |yearMarried= |monthMarried= |divorced= |parentOf= |husbandOf= |storemode=property }}
storemode none
{{Family |name= |weddingDate= |weddingPlace= |yearMarried= |monthMarried= |divorced= |parentOf= |husbandOf= |storemode=none }}
viewmode tableheader
{{Family |name= |weddingDate= |weddingPlace= |yearMarried= |monthMarried= |divorced= |parentOf= |husbandOf= |viewmode=tableheader }}
viewmode tablerow
{{Family |name= |weddingDate= |weddingPlace= |yearMarried= |monthMarried= |divorced= |parentOf= |husbandOf= |viewmode=tablerow }}
{{Family |name= |weddingDate= |weddingPlace= |yearMarried= |monthMarried= |divorced= |parentOf= |husbandOf= |viewmode=tablefooter }}
viewmode labelfield
{{Family |name= |weddingDate= |weddingPlace= |yearMarried= |monthMarried= |divorced= |parentOf= |husbandOf= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Family<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?weddingDate|}}}|"{{{?weddingDate}}}" is weddingDate of it <br>|}}
{{#if:{{{?weddingPlace|}}}|"{{{?weddingPlace}}}" is weddingPlace of it <br>|}}
{{#if:{{{?yearMarried|}}}|"{{{?yearMarried}}}" is yearMarried of it <br>|}}
{{#if:{{{?monthMarried|}}}|"{{{?monthMarried}}}" is monthMarried of it <br>|}}
{{#if:{{{?divorced|}}}|"{{{?divorced}}}" is divorced of it <br>|}}
{{#if:{{{?parentOf|}}}|"{{{?parentOf}}}" is parentOf of it <br>|}}
{{#if:{{{?husbandOf|}}}|"{{{?husbandOf}}}" is husbandOf of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Family
|Family name={{{name|}}}
|Family weddingDate={{{weddingDate|}}}
|Family weddingPlace={{{weddingPlace|}}}
|Family yearMarried={{{yearMarried|}}}
|Family monthMarried={{{monthMarried|}}}
|Family divorced={{{divorced|}}}
|Family parentOf={{{parentOf|}}}
|Family husbandOf={{{husbandOf|}}}
}}
|#default={{#set:
|isA=Family
|Family name={{{name|}}}
|Family weddingDate={{{weddingDate|}}}
|Family weddingPlace={{{weddingPlace|}}}
|Family yearMarried={{{yearMarried|}}}
|Family monthMarried={{{monthMarried|}}}
|Family divorced={{{divorced|}}}
|Family parentOf={{{parentOf|}}}
|Family husbandOf={{{husbandOf|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!weddingDate!!weddingPlace!!yearMarried!!monthMarried!!divorced!!parentOf!!husbandOf
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{weddingDate|}}}{{!}}{{!}}{{{weddingPlace|}}}{{!}}{{!}}{{{yearMarried|}}}{{!}}{{!}}{{{monthMarried|}}}{{!}}{{!}}{{{divorced|}}}{{!}}{{!}}{{{parentOf|}}}{{!}}{{!}}{{{husbandOf|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>weddingDate={{#if:{{{weddingDate|}}}|{{{weddingDate|}}}|}}<br>weddingPlace={{#if:{{{weddingPlace|}}}|{{{weddingPlace|}}}|}}<br>yearMarried={{#if:{{{yearMarried|}}}|{{{yearMarried|}}}|}}<br>monthMarried={{#if:{{{monthMarried|}}}|{{{monthMarried|}}}|}}<br>divorced={{#if:{{{divorced|}}}|{{{divorced|}}}|}}<br>parentOf={{#if:{{{parentOf|}}}|{{{parentOf|}}}|}}<br>husbandOf={{#if:{{{husbandOf|}}}|{{{husbandOf|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Family
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Family/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!weddingDate
{{!}} {{#if:{{{weddingDate|}}}|{{{weddingDate|}}}|}}
{{!}}-
!weddingPlace
{{!}} {{#if:{{{weddingPlace|}}}|{{{weddingPlace|}}}|}}
{{!}}-
!yearMarried
{{!}} {{#if:{{{yearMarried|}}}|{{{yearMarried|}}}|}}
{{!}}-
!monthMarried
{{!}} {{#if:{{{monthMarried|}}}|{{{monthMarried|}}}|}}
{{!}}-
!divorced
{{!}} {{#if:{{{divorced|}}}|{{{divorced|}}}|}}
{{!}}-
!parentOf
{{!}} {{#if:{{{parentOf|}}}|{{{parentOf|}}}|}}
{{!}}-
!husbandOf
{{!}} {{#if:{{{husbandOf|}}}|{{{husbandOf|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Family]]{{#default_form:Family}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.