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

From Green Family Wiki
Jump to: navigation, search
m (9 revisions imported: Initial import from smithfam)
 
(6 intermediate revisions by the same user not shown)
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
* 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: [[-Has subobject::{{{1}}}]] [[Child Link Family.-Child Family::{{{1}}}]]
 +
| ?Child Link Family
 +
| sort=Child Link Index
 
| limit=1
 
| limit=1
| offset={{#expr:{{{2|1}}}-1}}
+
| offset={{#expr:{{{index|1}}}-1}}
 +
| searchlabel=
 +
| headers=hide
 +
| mainlabel=-
 
| link=none
 
| link=none
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 12:11, 7 December 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