New wiki-page
No edit summary |
No edit summary |
||
Line 200: | Line 200: | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#arraydefine:sons|{{#show:{{#show:{{PAGENAME}}|?Holder#}}#Children|?Sons#}}}} | |||
{{#arraydefine:daughters|{{#show:{{#show:{{PAGENAME}}|?Holder#}}#Children|?Daughters#}}}} | |||
{{#Ifeq:{{{Agecategory|}}}|Child|| | {{#Ifeq:{{{Agecategory|}}}|Child|| | ||
{{#Ifeq:{{{Sons|}}}||| | {{#Ifeq:{{{Sons|}}}||| | ||
{{!}}Sons:{{#subobject:Children|Sons={{{Sons|}}}|+sep=,}} | {{!}}Sons:{{#subobject:Children|Sons={{{Sons|}}}|+sep=,}} | ||
{{!}}{{#arraymap:{{#show:{{PAGENAME}}#Children|?Sons#}}|,|@|{{#Ifexist:@|{{#ask:[[@]]|?|?Death year#|format=list|template=Isdead}}|[[@]] | {{!}}{{#arraymap:{{#show:{{PAGENAME}}#Children|?Sons#}}|,|@|{{#Ifexist:@|{{#ask:[[@]]|?|?Death year#|format=list|template=Isdead}}|[[@]]}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 210: | Line 213: | ||
{{#Ifeq:{{{Daughters|}}}||| | {{#Ifeq:{{{Daughters|}}}||| | ||
{{!}}Daughters:{{#subobject:Children|Daughters={{{Daughters|}}}|+sep=,}} | {{!}}Daughters:{{#subobject:Children|Daughters={{{Daughters|}}}|+sep=,}} | ||
{{!}}{{#arraymap:{{#show:{{PAGENAME}}#Children|?Daughters#}}|,|@|{{#Ifexist:@|{{#ask:[[@]]|?|?Death year#|format=list|template=Isdead}}|[[@]] | {{!}}{{#arraymap:{{#show:{{PAGENAME}}#Children|?Daughters#}}|,|@|{{#Ifexist:@|{{#ask:[[@]]|?|?Death year#|format=list|template=Isdead}}|[[@]]}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 362: | Line 365: | ||
{{PAGENAME}} {{#Ifeq:{{{Deathyear|}}}||is|was}} a [[{{#ifeq:{{{Glorylevel|}}}||{{Glory level|{{{Glory|0}}}|link=no}}|{{{Glorylevel|}}}}}]] [[{{{Culture}}}]] {{#ifeq:{{{Agecategory|Child}}}|Child|young {{#Ifeq:{{{Gender|Male}}}|Male|boy|girl}}|}} [[{{{Class|}}}]] {{#Ifeq:{{{Homecounty|}}}||| from [[{{{Homecounty}}}]]}}. {{#ifeq:{{{Agecategory|Child}}}|Child||{{#Ifeq:{{{Lord|}}}||{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||currently has no lord.|had no lord at the time of {{#Ifeq:{{{Gender|Male}}}|Male|his|her}} death.}}|{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||currently serves [[{{{Lord}}}]].|served [[{{{Lord}}}]] at the time of {{#Ifeq:{{{Gender|Male}}}|Male|his|her}} death.}}}}}} | {{PAGENAME}} {{#Ifeq:{{{Deathyear|}}}||is|was}} a [[{{#ifeq:{{{Glorylevel|}}}||{{Glory level|{{{Glory|0}}}|link=no}}|{{{Glorylevel|}}}}}]] [[{{{Culture}}}]] {{#ifeq:{{{Agecategory|Child}}}|Child|young {{#Ifeq:{{{Gender|Male}}}|Male|boy|girl}}|}} [[{{{Class|}}}]] {{#Ifeq:{{{Homecounty|}}}||| from [[{{{Homecounty}}}]]}}. {{#ifeq:{{{Agecategory|Child}}}|Child||{{#Ifeq:{{{Lord|}}}||{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||currently has no lord.|had no lord at the time of {{#Ifeq:{{{Gender|Male}}}|Male|his|her}} death.}}|{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||currently serves [[{{{Lord}}}]].|served [[{{{Lord}}}]] at the time of {{#Ifeq:{{{Gender|Male}}}|Male|his|her}} death.}}}}}} | ||
{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||is|was}} the {{#Ifeq:{{{Gender|Male}}}|Male|son|daughter}} of [[{{{Father|an unknown man}}}]] and [[{{{Mother|an unknown woman}}}]]. {{#Ifeq:{{{Agecategory|Adult}}}|Adult|{{#Ifeq:{{{Gender|Male}}}|Male|{{#Ifeq:{{{Wife|}}}||He {{#Ifeq:{{{Deathyear|}}}||is|was}} unmarried. |He {{#Ifeq:{{{Deathyear|}}}||is|was}} married to [[{{{Wife}}}]].}}|{{#Ifeq:{{{Husband|}}}||She {{#Ifeq:{{{Deathyear|}}}||is|was}} unmarried. |She {{#Ifeq:{{{Deathyear|}}}||is|was}} married to [[{{{Husband|}}}]].}}}} {{#Ifeq:{{{Gender|Male}}}|Male|He|She}} has {{#ifeq:{{#arraysize:sons}}|0|no|{{Num|{{#arraysize:sons}}}}}} {{#ifeq:{{#arraysize:sons}}|1|son|sons}} {{#ifeq:{{#arraysize:daughters}}|0|{{#ifeq:{{#arraysize:sons}}|0|or|and no}}|and {{Num|{{#arraysize:daughters}}}}}} {{#ifeq:{{#arraysize:daughters}}|1|daughter|daughters}}.| | {{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||is|was}} the {{#Ifeq:{{{Gender|Male}}}|Male|son|daughter}} of [[{{{Father|an unknown man}}}]] and [[{{{Mother|an unknown woman}}}]]. {{#Ifeq:{{{Agecategory|Adult}}}|Adult|{{#Ifeq:{{{Gender|Male}}}|Male|{{#Ifeq:{{{Wife|}}}||He {{#Ifeq:{{{Deathyear|}}}||is|was}} unmarried. |He {{#Ifeq:{{{Deathyear|}}}||is|was}} married to [[{{{Wife}}}]].}}|{{#Ifeq:{{{Husband|}}}||She {{#Ifeq:{{{Deathyear|}}}||is|was}} unmarried. |She {{#Ifeq:{{{Deathyear|}}}||is|was}} married to [[{{{Husband|}}}]].}}}} {{#Ifeq:{{{Gender|Male}}}|Male|He|She}} has {{#ifeq:{{#arraysize:sons}}|0|no|{{Num|{{#arraysize:sons}}}}}} {{#ifeq:{{#arraysize:sons}}|1|son|sons}} {{#ifeq:{{#arraysize:daughters}}|0|{{#ifeq:{{#arraysize:sons}}|0|or|and no}}|and {{Num|{{#arraysize:daughters}}}}}} {{#ifeq:{{#arraysize:daughters}}|1|daughter|daughters}}.|}} | ||
{{#Ifeq:{{{Deathyear|}}}||{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} is {{Num|{{#expr: {{Current}} - {{{Birthyear|}}} }}}} years old and lives in [[{{{Homecounty|}}}]].|{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} died in [[{{{Deathyear}}}]] A.D. {{#Ifeq:{{{Gender|Male}}}|Male|He|She}} was {{#expr: {{{Deathyear}}} - {{{Birthyear}}} }} years old.}} {{#default_form:Character}} {{#ifeq:{{{Knighted|}}}|Round Table Knight|{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||is|was}} a Round Table Knight. |}}</includeonly> | {{#Ifeq:{{{Deathyear|}}}||{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} is {{Num|{{#expr: {{Current}} - {{{Birthyear|}}} }}}} years old and lives in [[{{{Homecounty|}}}]].|{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} died in [[{{{Deathyear}}}]] A.D. {{#Ifeq:{{{Gender|Male}}}|Male|He|She}} was {{#expr: {{{Deathyear}}} - {{{Birthyear}}} }} years old.}} {{#default_form:Character}} {{#ifeq:{{{Knighted|}}}|Round Table Knight|{{#Ifeq:{{{Gender|Male}}}|Male|He|She}} {{#Ifeq:{{{Deathyear|}}}||is|was}} a Round Table Knight. |}}</includeonly> |