Difference between revisions of "Template:Family/Set Child"
(Created page with "<noinclude> Set Property:Child Family and Property:Descendant Family. * First parameter: family page of a child </noinclude><includeonly>{{#set: | Child Family={{{1}}}...") |
m (5 revisions imported: Initial import from smithfam) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
| − | Set [[Property:Child Family]] and [[Property: | + | Set [[Property:Child Family]]; set [[Property:Descendant Family]] for all the child family's descendants; and create a child link subobject, setting [[Property:Child Link Family]] and [[Property:Child Link Index]]. |
* First parameter: family page of a child | * First parameter: family page of a child | ||
| + | * ''index'': the [[Property:Child Link Index]] for this child family | ||
</noinclude><includeonly>{{#set: | </noinclude><includeonly>{{#set: | ||
| Child Family={{{1}}} | | Child Family={{{1}}} | ||
| − | }}{{#ask: [[-Descendant Family:{{{1}}}]] | + | }}{{#subobject: |
| + | | Child Link Family={{{1}}} | ||
| + | | Child Link Index={{{index}}} | ||
| + | }}{{#ask: [[-Descendant Family::{{{1}}}]] | ||
| format=template | | format=template | ||
| link=none | | link=none | ||
| template=Family/Set Descendant | | template=Family/Set Descendant | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 12:11, 7 December 2015
Set Property:Child Family; set Property:Descendant Family for all the child family's descendants; and create a child link subobject, setting Property:Child Link Family and Property:Child Link Index.
- First parameter: family page of a child
- index: the Property:Child Link Index for this child family