New wiki-page
No edit summary |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{#arraydefine:sons|{{#show:{{#show:{{PAGENAME}}|?Holder#}}#Children|?Sons#}}}} | {{#arraydefine:sons|{{#show:{{#show:{{PAGENAME}}|?Holder#}}#Children|?Sons#}}}} | ||
{{#arraydefine:daughters|{{#show:{{#show:{{PAGENAME}}|?Holder#}}#Children|?Daughters#}}}} | {{#arraydefine:daughters|{{#show:{{#show:{{PAGENAME}}|?Holder#}}#Children|?Daughters#}}}} | ||
{{#ifeq:{{#arraysize:sons}}|0|| | |||
{{Icon|boy|{{#arraysize:sons}}}}{{#arraysize:daughters}} {{#ifeq:{{#arraysize:sons}}|1|Boy|Boys}} (£0.5) | {{Icon|boy|{{#arraysize:sons}}}}{{#arraysize:daughters}} {{#ifeq:{{#arraysize:sons}}|1|Boy|Boys}} (£0.5) | ||
<br> | <br>}}{{#ifeq:{{#arraysize:daughters}}|0|| | ||
{{Icon|girl|{{#arraysize:daughters}}}}{{#arraysize:daughters}} {{#ifeq:{{#arraysize:daughters}}|1|Girl|Girls}} (£0.5) | {{Icon|girl|{{#arraysize:daughters}}}}{{#arraysize:daughters}} {{#ifeq:{{#arraysize:daughters}}|1|Girl|Girls}} (£0.5) | ||
<br> | <br>}} | ||
• Added to standard of living (£{{#expr: {{{1}}} - 1}}) | • Added to standard of living (£{{#expr: {{{1}}} - 1 + {{#ifeq:{{#arraysize:sons}}|0|0.5|0}} + {{#ifeq:{{#arraysize:daughters}}|0|0.5|0}}}}) |
Latest revision as of 17:11, 6 March 2018
Family (£{{{1}}})
• Added to standard of living (£Expression error: Unrecognized punctuation character "{".)