Template:Family/Grandparent Family: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<noinclude>Get the family of which the given family is a Child Family. * First parameter: Family to query * ''index'': Which parent family to return...") |
m (6 revisions imported: Initial import from smithfam) |
||
| (5 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= | ||
| | | mainlabel=- | ||
| headers=hide | |||
| link=none | | link=none | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 20:14, 8 December 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