4,595
edits
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
|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 = | ||
| | |label2 = Start Date | ||
| | |data2 = {{#if:{{{startdate|}}}|{{#invoke:Date Stuff|date|{{{gamedate|}}}|{{{setting|}}}}}}} | ||
| | |rowclass3 = {{#if:{{{setting|}}}||mergedtoprow}} {{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}and{{#if:{{{status|}}}|1|0}}}}|1|mergedrow|}} {{#if:{{{status|}}}||mergedbottomrow}} | ||
| | |label3 = {{#if:{{{currentdate|}}}|Current Date|{{#if:{{{enddate|}}}|End Date}}}} | ||
| | |data3 = {{#if:{{{currentdate|}}}|{{#invoke:Date Stuff|date|{{{currentdate|}}}|{{{setting|}}}}}|{{#if:{{{enddate|}}}|{{#invoke:Date Stuff|date|{{{enddate|}}}|{{{setting|}}}}}}}}} | ||
| | |rowclass4 = {{#ifeq:{{#expr:{{#if:{{{setting|}}}|1|0}}or{{#if:{{{gamedate|}}}|1|0}}}}|1||mergedtoprow}} mergedbottomrow | ||
| | |label4 = Status | ||
| | |data4 = {{#if:{{{status|}}}|{{{status|}}}}} | ||
| | |rowclass5 = mergedtoprow {{#if:{{{bbeg|}}}||mergedbottomrow}} | ||
| | |label5 = Characters | ||
| | |data5 = {{#if:{{{characters|}}}|{{{characters|}}}}} | ||
| | |rowclass6 = {{#if:{{{characters|}}}||mergedtoprow}} mergedbottomrow | ||
| | |label6 = BBEG | ||
| | |data6 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}} | ||
| | |rowclass7 = mergedtoprow {{#ifeq:{{#expr:{{#if:{{{lastsession|}}}|1|0}}or{{#if:{{{previouscampaign|}}}|1|0}}or{{#if:{{{nextcampaign|}}}|1|0}}}}|1||mergedbottomrow}} | ||
| | |label7 = First Session | ||
| | |data7 = {{#if:{{{firstsession|}}}|{{{firstsession|}}}}} | ||
| | |rowclass8 = {{#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}} | ||
| | |label8 = Last Session | ||
| | |data8 = {{#if:{{{lastsession|}}}|{{{lastsession|}}}}} | ||
| | |rowclass9 = {{#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}} | ||
| | |label9 = Prev. Campaign | ||
| | |data9 = {{#if:{{{previouscampaign|}}}|{{{previouscampaign|}}}}} | ||
|rowclass10 = {{#ifeq:{{#expr:{{#if:{{{firstsession|}}}|1|0}}or{{#if:{{{lastsession|}}}|1|0}}or{{#if:{{{previouscampaign|}}}|1|0}}}}|1||mergedtoprow}} mergedbottomrow | |||
|label10 = Next Campaign | |||
|data10 = {{#if:{{{nextcampaign|}}}|{{{nextcampaign|}}}}} | |||
|belowclass = | |belowclass = | ||
|below = | |below = | ||
}}[[Category:All Campaigns]] | }}[[Category:All Campaigns]] | ||
{{#if:{{{setting|}}}|[[Category:{{#replace:{{#replace:{{{setting|}}}|[|}}|]|}} Campaigns]]|}}</includeonly><noinclude>[[Category:Templates]]</noinclude> | {{#if:{{{setting|}}}|[[Category:{{#replace:{{#replace:{{{setting|}}}|[|}}|]|}} Campaigns]]|}}</includeonly><noinclude>[[Category:Templates]]</noinclude> |