Template:Infobox PC: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
(Undo revision 2275 by Maxwells (talk))
Tag: Undo
Line 38: Line 38:
|label7 = Weight
|label7 = Weight
|data7 = {{#if:{{{weight|}}}|{{{weight|}}}}}
|data7 = {{#if:{{{weight|}}}|{{{weight|}}}}}
|rowclass8 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{#if:{{{born|}}}|1|0}}or{{#if:{{{died|}}}|1|0}}}}|0|mergedbottomrow}}
|rowclass8 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{age|}}}|1|0}}or{{#if:{{{born|}}}|1|0}}or{{#if:{{{died|}}}|1|0}}}}|0|mergedbottomrow}}
|label8 = Status
|label8 = Status
|data8 = {{#if:{{{status|}}}|{{{status|}}}}}
|data8 = {{#if:{{{status|}}}|{{{status|}}}}}
|rowclass10 = {{#ifeq:{{#expr:{{#if:{{{status|}}}|1|0}}}}|0|mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{status|}}}|1|0}}}}and{{#expr:{{#if:{{{died|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{died|}}}|1|0}}}}|0|mergedbottomrow}}
|rowclass9 = {{#ifeq:{{#expr:{{#if:{{{status|}}}|1|0}}}}|0|mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{status|}}}|1|0}}}}and{{#expr:{{#if:{{{born|}}}|1|0}}or{{#if:{{{died|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{born|}}}|1|0}}or{{#if:{{{died|}}}|1|0}}}}|0|mergedbottomrow}}
|label9 = Age
|data9 = {{#if:{{{age|}}}|{{{age|}}}}}
|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|}}}|{{#if:{{{died|}}}|{{#invoke:Date Stuff|date|{{{born|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{Current Dates|{{{setting|}}}}}|alive|{{{setting|}}}}}}}}}
|data10 = {{#if:{{{born|}}}|{{#if:{{{died|}}}|{{#invoke:Date Stuff|date|{{{born|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|age|{{{born|}}}|{{Current Dates|{{{setting|}}}}}|alive|{{{setting|}}}}}}}}}

Revision as of 20:02, 5 July 2021