Template:Infobox Campaign: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{infobox
<includeonly>{{infobox
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|subheader = {{#if:{{{tag|}}}|{{{tag|}}}}}
|subheader = {{{tag|}}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|image = {{{image|}}}
|caption = {{#if:{{{caption|}}}|{{{caption|}}}}}
|caption = {{{caption|}}}
|label1 = Setting
|label1 = Setting
|data1 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
|data1 = {{{setting|}}}
|label2 = Start Date
|label2 = Start Date
|data2 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
|data2 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
Line 11: Line 11:
|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|}}}}}}}
|label4 = Status
|label4 = Status
|data4 = {{#if:{{{status|}}}|{{{status|}}}}}
|data4 = {{{status|}}}
|label5 = Characters
|label5 = Characters
|data5 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|data5 = {{{characters|}}}
|label6 = BBEG
|label6 = BBEG
|data6 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}}
|data6 = {{{bbeg|}}}
|label7 = First Session
|label7 = First Session
|data7 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|data7 = {{{firstsession|}}}
|label8 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|label8 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|data8 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}
|data8 = {{{lastsession|}}}


|aboveclass = mergedtoprow name
|aboveclass = mergedtoprow name