Template:Infobox Campaign: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7: Line 7:
|data1 = {{{setting|}}}
|data1 = {{{setting|}}}
|label2 = Start Date
|label2 = Start Date
|data2 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
|data2 = {{{start|}}}
|label3 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Current Date|End Date}}
|label3 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Current Date|End Date}}
|data3 = {{#if:{{#ifeq:{{{status|}}}|Concluded|1|}}|{{#invoke:Date Stuff|date|{{{end|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{Current Dates|{{{setting|}}}}}|{{{setting|}}}}}}}
|data3 = {{#if:{{#ifeq:{{{status|}}}|Concluded|1|}}|{{#invoke:Date Stuff|date|{{{end|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{Current Dates|{{{setting|}}}}}|{{{setting|}}}}}}}