Difference between revisions of "Template:Pedigree/Parent Family"

From Green Family Wiki
Jump to: navigation, search
m (3 revisions imported: Initial import from smithfam)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>Get the family of which the given family is a [[Property:Child Family|Child Family]], as long as the depth is less than 0.
+
<noinclude>Get the family of which the given family is a [[Property:Child Family|Child Family]], as long as the depth is less than 0.  Sorted by [[Property:Grandparent Link Index]].
 
* First parameter: Family to query
 
* First parameter: Family to query
* ''index'': Which parent family to return (1-based); default is 1
+
* ''index'': Which grandparent family to return (1-based); default is 1
 
* ''depth'': Depth of tree for result family
 
* ''depth'': Depth of tree for result family
 
</noinclude><includeonly>{{#ifexpr: {{{depth}}} < 0
 
</noinclude><includeonly>{{#ifexpr: {{{depth}}} < 0
| {{Family/Parent Family|{{{1}}}| index={{{index|}}}}}
+
| {{Family/Grandparent Family|{{{1}}}| index={{{index|}}}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 12:11, 7 December 2015

Get the family of which the given family is a Child Family, as long as the depth is less than 0. Sorted by Property:Grandparent Link Index.

  • First parameter: Family to query
  • index: Which grandparent family to return (1-based); default is 1
  • depth: Depth of tree for result family