Difference between revisions of "Template:Family/Child Family"
| Line 1: | Line 1: | ||
| − | <noinclude>Get the [[Property:Child Family|Child Family]] of a family. | + | <noinclude>Get the [[Property:Child Family|Child Family]] of a family, sorted by [[Property:Child Link Index]]. |
* First parameter: Family to query | * First parameter: Family to query | ||
* ''index'': Which child family to return (1-based); default is 1 | * ''index'': Which child family to return (1-based); default is 1 | ||
| − | </noinclude><includeonly>{{#ask: [[-Child Family::{{{1}}}]] | + | </noinclude><includeonly>{{#ask: [[-Has subobject::{{{1}}}]] [[Child Link Family.-Child Family::{{{1}}}]] |
| + | | sort=Child Link Index | ||
| limit=1 | | limit=1 | ||
| + | | offset={{#expr:{{{index|1}}}-1}} | ||
| searchlabel= | | searchlabel= | ||
| − | |||
| link=none | | link=none | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 22:13, 18 June 2015
Get the Child Family of a family, sorted by Property:Child Link Index.
- First parameter: Family to query
- index: Which child family to return (1-based); default is 1