Template:Infobox PC: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 38: | Line 38: | ||
|label7 = Weight | |label7 = Weight | ||
|data7 = {{#if:{{{weight|}}}|{{{weight|}}}}} | |data7 = {{#if:{{{weight|}}}|{{{weight|}}}}} | ||
|rowclass8 = mergedtoprow {{#ifeq:{{#expr: | |rowclass8 = mergedtoprow {{#ifeq:{{#expr:{{#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}}or{{#expr:{{#if:{{{died|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{died|}}}|1|0}}}}|0|mergedbottomrow}} | |||
|rowclass10 = {{#ifeq:{{#expr:{{#if:{{{status|}}}|1|0 | |||
|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|}}}}}}}}} |