Template:Showfacts children-ex/import step2

{{#if:{{{3|}}}|{{#if:{{#pos:{{{mate|Matilda of Scotland (c1080-1118)}}}|{{#explode:{{{2|Matilda of Scotland (c1080-1118) + Adelisa of Louvain (About 1104-1151)}}}|+|0}}}}|{{#if:{{{3|}}}|

}} {{#declare:children-g1_notes=4|children-g1_sources=5}|children-g1_sources_primary=6|children-g1_sources_secondary=7 }} }} }}{{#if:{{{8|}}}|{{#if:{{#pos:{{{mate|}}}|{{#explode:{{{2|}}}|+|1}}}}|{{showfacts children/group|group=2|children={{{8|}}}|footnote={{#ifeq:{{{9| }}}{{{10| }}}{{{11| }}}{{{12| }}}| ||yes}}}}{{#declare:children-g2_notes=9|children-g2_sources=10}|children-g2_sources_primary=11|children-g2_sources_secondary=12 }} }} }} {{#if:{{{13|}}}|{{#if:{{#pos:{{{mate|}}}|{{#explode:{{{2|}}}|+|2}}}}|{{showfacts children/group|group=3|children={{{13|}}}|footnote={{#ifeq:{{{14| }}}{{{15| }}}{{{16| }}}{{{17| }}}| ||yes}}}}{{#declare:children-g3_notes=14|children-g3_sources=15}|children-g3_sources_primary=16|children-g3_sources_secondary=17 }} }} }} {{#if:{{{18|}}}|{{#if:{{#pos:{{{mate|}}}|{{#explode:{{{2|}}}|+|3}}}}|{{showfacts children/group|group=4|children={{{18|}}}|footnote={{#ifeq:{{{19| }}}{{{20| }}}{{{21| }}}{{{22| }}}| ||yes}}}}{{#declare:children-g4_notes=19|children-g4_sources=20}|children-g4_sources_primary=21|children-g4_sources_secondary=22 }} }} }} {{#if:{{{23|}}}|{{#if:{{#pos:{{{mate|}}}|{{#explode:{{{2|}}}|+|4}}}}|{{showfacts children/group|group=5|children={{{23|}}}|footnote={{#ifeq:{{{24| }}}{{{25| }}}{{{26| }}}{{{27| }}}| ||yes}}}}{{#declare:children-g5_notes=24|children-g5_sources=25}|children-g5_sources_primary=26|children-g5_sources_secondary=27 }} }} }}{{#if:{{{28|}}}|{{#if:{{#pos:{{{mate|}}}|{{#explode:{{{2|}}}|+|5}}}}|{{showfacts children/group|group=6|children={{{28|}}}|footnote={{#ifeq:{{{29| }}}{{{30| }}}{{{31| }}}{{{32| }}}| ||yes}}}}{{#declare:children-g6_notes=29|children-g6_sources=30}|children-g6_sources_primary=31|children-g6_sources_secondary=32 }} }} }}{{#if:{{{33|}}}|{{#if:{{#pos:{{{mate|}}}|{{#explode:{{{2|}}}|+|6}}}}|{{showfacts children/group|group=7|children={{{33|}}}|footnote={{#ifeq:{{{34| }}}{{{35| }}}{{{36| }}}{{{37| }}}| ||yes}}}}{{#declare:children-g7_notes=34|children-g7_sources=35}|children-g7_sources_primary=36|children-g7_sources_secondary=37 }} }} }}{{#if:{{{38|}}}|{{#if:{{#pos:{{{mate|}}}|{{#explode:{{{2|}}}|+|7}}}}|{{showfacts children/group|group=8|children={{{38|}}}|footnote={{#ifeq:{{{39| }}}{{{40| }}}{{{41| }}}{{{42| }}}| ||yes}}}}{{#declare:children-g8_notes=39|children-g8_sources=40}|children-g8_sources_primary=41|children-g8_sources_secondary=42 }} }} }}