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

From Green Family Wiki
Jump to: navigation, search
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.
 
* First parameter: Family to query
 
* First parameter: Family to query
* Second parameter: 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: [[-Child Family::{{{1}}}]]
 
| limit=1
 
| limit=1
 
| searchlabel=
 
| searchlabel=
| offset={{#expr:{{{2|1}}}-1}}
+
| offset={{#expr:{{{index|1}}}-1}}
 
| link=none
 
| link=none
 
}}</includeonly>
 
}}</includeonly>

Revision as of 06:53, 18 June 2015

Get the Child Family of a family.

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