Template:Infobox Campaign: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 17: Line 17:
|label1 = Setting
|label1 = Setting
|data1 = {{#if:{{{setting|}}}|{{{setting|}}}}}
|data1 = {{#if:{{{setting|}}}|{{{setting|}}}}}
|rowclass2 = {{#if:{{{setting|}}}||mergedtoprow}} {{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}and{{#if:{{{status|}}}|1|0}}|1|mergedrow|}}}} {{#if:{{{status|}}}||mergedbottomrow}}
|rowclass2 = {{#if:{{{setting|}}}||mergedtoprow}} {{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}and{{#if:{{{status|}}}|1|0}}}}|1|mergedrow|}} {{#if:{{{status|}}}||mergedbottomrow}}
|label2 = Game Date
|label2 = Game Date
|data2 = {{#if:{{{gamedate|}}}|{{{gamedate|}}}}}
|data2 = {{#if:{{{gamedate|}}}|{{{gamedate|}}}}}
Line 46: Line 46:
|belowclass =  
|belowclass =  
|below =  
|below =  
{{#if:{{{setting|}}}|1|0}}
{{#if:{{{status|}}}|1|0}}
{{#expr:{{#if:{{{setting|}}}|1|0}}and{{#if:{{{status|}}}|1|0}}}}
{{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}and{{#if:{{{status|}}}|1|0}}}}|1|mergedrow|}}
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>