Template:Infobox PC: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 46: Line 46:
|rowclass10 = {{#ifeq:{{#expr:{{#if:{{{status|}}}|1|0}}or{{#if:{{{age|}}}|1|0}}}}|0|mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{status|}}}|1|0}}or{{#if:{{{age|}}}|1|0}}}}and{{#expr:{{#if:{{{died|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{died|}}}|1|0}}}}|0|mergedbottomrow}}
|rowclass10 = {{#ifeq:{{#expr:{{#if:{{{status|}}}|1|0}}or{{#if:{{{age|}}}|1|0}}}}|0|mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{status|}}}|1|0}}or{{#if:{{{age|}}}|1|0}}}}and{{#expr:{{#if:{{{died|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{died|}}}|1|0}}}}|0|mergedbottomrow}}
|label10 = Born
|label10 = Born
|data10 = {{#if:{{{born|}}}|{{{born|}}}}}
|data10 = {{#if:{{{born|}}}|{{#if:{{{died|}}}|{{#invoke:Date Stuff|date|{{{born|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{Current Dates|{{{setting|}}}}}|alive|{{{setting|}}}}}}}}}
|rowclass11 = {{#ifeq:{{#expr:{{#if:{{{status|}}}|1|0}}or{{#if:{{{age|}}}|1|0}}or{{#if:{{{born|}}}|1|0}}}}|0|mergedtoprow}} mergedbottomrow
|rowclass11 = {{#ifeq:{{#expr:{{#if:{{{status|}}}|1|0}}or{{#if:{{{age|}}}|1|0}}or{{#if:{{{born|}}}|1|0}}}}|0|mergedtoprow}} mergedbottomrow
|label11 = Died
|label11 = Died
|data11 = {{#if:{{{died|}}}|{{{died|}}}}}
|data11 = {{#if:{{{died|}}}|{{#if:{{{born|}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{{died|}}}|dead|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{{died|}}}|{{{setting|}}}}}}}}}
|rowclass12 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{campaigns|}}}|1|0}}or{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}}}|0|mergedbottomrow}}
|rowclass12 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{campaigns|}}}|1|0}}or{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}}}|0|mergedbottomrow}}
|label12 = Setting
|label12 = Setting

Revision as of 19:57, 5 July 2021