Template:Family/Grandparent Family: Difference between revisions

From Smith Family Wiki
Jump to navigation Jump to search
m (Dan Smith moved page Template:Family/Parent Family to Template:Family/Grandparent Family without leaving a redirect)
No edit summary
 
(3 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]].
<noinclude>Get the family of which the given family is a [[Property:Child Family|Child Family]], 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 parent family to return (1-based); default is 1
</noinclude><includeonly>{{#ask: [[Child Family::{{{1}}}]]
</noinclude><includeonly>{{#ask: [[-Has subobject::{{{1}}}]] [[Grandparent Link Family.Child Family::{{{1}}}]]
| ?Grandparent Link Family
| sort=Grandparent Link Index
| limit=1
| limit=1
| offset={{#expr:{{{index|1}}}-1}}
| searchlabel=
| searchlabel=
| offset={{#expr:{{{index|1}}}-1}}
| mainlabel=-
| headers=hide
| link=none
| link=none
}}</includeonly>
}}</includeonly>

Latest revision as of 23:42, 18 June 2015

Get the family of which the given family is a Child Family, sorted by Property:Grandparent Link Index.

  • First parameter: Family to query
  • index: Which parent family to return (1-based); default is 1