Template:Infobox Campaign: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 4: Line 4:
|subheaderrowclass1 = mergedbottomrow
|subheaderrowclass1 = mergedbottomrow
|subheader1 = {{#if:{{{tag-line|}}}|{{{tag-line|}}}}}
|subheader1 = {{#if:{{{tag-line|}}}|{{{tag-line|}}}}}
|imagerowclass1 = mergedtoprow {{#if:{{{image2|}}}||mergedbottomrow}}
|imagerowclass1 = mergedtoprow {{#if:{{{image2|}}}||mergedbottomrow}}
|image1 = {{#if:{{{image1|}}}|[[File:{{{image1|}}}|250px]]}}
|image1 = {{#if:{{{image1|}}}|[[File:{{{image1|}}}|250px]]}}
Line 13: Line 12:
|imagerowclass3 = mergedtoprow mergedbottomrow
|imagerowclass3 = mergedtoprow mergedbottomrow
|image3 = {{#if:{{{image-tab|}}}|{{{image-tab|}}}]]}}
|image3 = {{#if:{{{image-tab|}}}|{{{image-tab|}}}]]}}
|rowclass1 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{gamedate|}}}|1|0}}or{{#if:{{{status|}}}|1|0}}}}|1||mergedbottomrow}}
|rowclass1 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{gamedate|}}}|1|0}}or{{#if:{{{status|}}}|1|0}}}}|1||mergedbottomrow}}
|label1 = Setting
|label1 = Setting
Line 23: Line 21:
|label3 = Status
|label3 = Status
|data3 = {{#if:{{{status|}}}|{{{status|}}}}}
|data3 = {{#if:{{{status|}}}|{{{status|}}}}}
|rowclass4 = mergedtoprow {{#if:{{{bbeg|}}}||mergedbottomrow}}
|rowclass4 = mergedtoprow {{#if:{{{bbeg|}}}||mergedbottomrow}}
|label4 = Characters
|label4 = Characters
Line 34: Line 31:
|label6 = First Session
|label6 = First Session
|data6 = {{#if:{{{firstsession|}}}|{{{firstsession|}}}}}
|data6 = {{#if:{{{firstsession|}}}|{{{firstsession|}}}}}
|rowclass7 = {{#ifeq:{{#expr:{{#if:{{{firstsession|}}}|1|0}}}}|1||mergedtoprow}} {{#ifeq:{{#expr:{{#if:{{{previouscampaign|}}}|1|0}}or{{#if:{{{nextcampaign|}}}|1|0}}}}|1||mergedbottomrow}}
|rowclass7 = {{#ifeq:{{#expr:{{#if:{{{firstsession|}}}|1|0}}}}|1||mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{firstsession|}}}|1|0}}}}and{{#expr:{{#if:{{{previouscampaign|}}}|1|0}}or{{#if:{{{nextcampaign|}}}|1|0}}}}}}|1|mergedrow|}} {{#ifeq:{{#expr:{{#if:{{{previouscampaign|}}}|1|0}}or{{#if:{{{nextcampaign|}}}|1|0}}}}|1||mergedbottomrow}}
|label7 = Last Session
|label7 = Last Session
|data7 = {{#if:{{{lastsession|}}}|{{{lastsession|}}}}}
|data7 = {{#if:{{{lastsession|}}}|{{{lastsession|}}}}}
|rowclass8 = {{#ifeq:{{#expr:{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}}}|1||mergedtoprow}} {{#ifeq:{{#expr:{{#if:{{{nextcampaign|}}}|1|0}}}}|1||mergedbottomrow}}
|rowclass8 = {{#ifeq:{{#expr:{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}}}|1||mergedtoprow}} {{#ifeq:{{#expr:{{#expr:{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}}}and{{#expr:{{#if:{{{nextcampaign|}}}|1|0}}}}}}|1|mergedrow|}} {{#ifeq:{{#expr:{{#if:{{{nextcampaign|}}}|1|0}}}}|1||mergedbottomrow}}
|label8 = Previous Campaign
|label8 = Previous Campaign
|data8 = {{#if:{{{previouscampaign|}}}|{{{previouscampaign|}}}}}
|data8 = {{#if:{{{previouscampaign|}}}|{{{previouscampaign|}}}}}
Line 46: Line 43:
|belowclass =  
|belowclass =  
|below =  
|below =  
{{#if:{{{firstsession|}}}|1|0}}
{{#expr:{{#if:{{{firstsession|}}}|1|0}}}}
{{#ifeq:{{#expr:{{#if:{{{firstsession|}}}|1|0}}}}|1||mergedtoprow}}
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Navigation menu