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

From Green Family Wiki
Jump to: navigation, search
(Created page with "<noinclude>Get the family of which the given family is a Child Family, as long as the depth is less than 0. * First parameter: Family to query * ''in...")
 
Line 4: Line 4:
 
* ''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/Parent Family|{{{1}}}| index={{{index|}}}}}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 08:35, 18 June 2015

Get the family of which the given family is a Child Family, as long as the depth is less than 0.

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