Difference between revisions of "Template:Family/Grandparent Family"

From Green Family Wiki
Jump to: navigation, search
m (Dan Smith moved page Template:Family/Parent Family to Template:Family/Grandparent Family without leaving a redirect)
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}}}]]
 +
| sort=Grandparent Link Index
 
| limit=1
 
| limit=1
 +
| offset={{#expr:{{{index|1}}}-1}}
 
| searchlabel=
 
| searchlabel=
| offset={{#expr:{{{index|1}}}-1}}
 
 
| link=none
 
| link=none
 
}}</includeonly>
 
}}</includeonly>

Revision as of 22:19, 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