Template:Infobox PC: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 51: Line 51:
|label11 = Died
|label11 = Died
|data11 = {{#if:{{{died|}}}|{{{died|}}}}}
|data11 = {{#if:{{{died|}}}|{{{died|}}}}}
|rowclass12 = mergedtoprow {{#ifeq:{{#expr:{{#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 = Campaigns
|label12 = Setting
|data12 = {{#if:{{{campaigns|}}}|{{{campaigns|}}}}}
|data12 = {{#if:{{{setting|}}}|{{{setting|}}}}}
|rowclass13 = {{#ifeq:{{#expr:{{#if:{{{campaigns|}}}|1|0}}}}|0|mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{campaigns|}}}|1|0}}}}and{{#expr:{{#if:{{{lastsession|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{lastsession|}}}|1|0}}}}|0|mergedbottomrow}}
|rowclass13 = {{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}}}|0|mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{setting|}}}|1|0}}}}and{{#expr:{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}}}|0|mergedbottomrow}}
|label13 = First Session
|label13 = Campaigns
|data13 = {{#if:{{{firstsession|}}}|{{{firstsession|}}}}}
|data13 = {{#if:{{{campaigns|}}}|{{{campaigns|}}}}}
|rowclass14 = {{#ifeq:{{#expr:{{#if:{{{campaigns|}}}|1|0}}or{{#if:{{{firstsession|}}}|1|0}}}}|0|mergedtoprow}} mergedbottomrow
|rowclass14 = {{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}or{{#if:{{{campaigns|}}}|1|0}}}}|0|mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{setting|}}}|1|0}}or{{#if:{{{campaigns|}}}|1|0}}}}and{{#expr:{{#if:{{{lastsession|}}}|1|0}}}}}}|1|mergedrow}} {{#ifeq:{{#expr:{{#if:{{{lastsession|}}}|1|0}}}}|0|mergedbottomrow}}
|label14 = Last Session
|label14 = First Session
|data14 = {{#if:{{{lastsession|}}}|{{{lastsession|}}}}}
|data14 = {{#if:{{{firstsession|}}}|{{{firstsession|}}}}}
|rowclass15 = {{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}or{{#if:{{{campaigns|}}}|1|0}}or{{#if:{{{firstsession|}}}|1|0}}}}|0|mergedtoprow}} mergedbottomrow
|label15 = Last Session
|data15 = {{#if:{{{lastsession|}}}|{{{lastsession|}}}}}
|belowclass = mergedrowtop mergedrowbottom
|belowclass = mergedrowtop mergedrowbottom
|below = {{#if:{{{charactersheet|}}}|[{{{charactersheet|}}} Character Sheet]}}
|below = {{#if:{{{charactersheet|}}}|[{{{charactersheet|}}} Character Sheet]}}