Template:Pedigree/Parent Family: Difference between revisions

From Fish Family Wiki
Jump to navigation Jump to 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...")
 
m (3 revisions imported: Initial import from smithfam)
 
(2 intermediate revisions 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 20:14, 8 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