Template:Infobox Campaign: Difference between revisions
Jump to navigation
Jump to search
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|}}}}} | ||
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}} | |||
| | |caption = {{#if:{{{caption|}}}|{{{caption|}}}}} | ||
| | |||
|label1 = Setting | |label1 = Setting | ||
|data1 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}} | |data1 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}} | ||
|label2 = Start Date | |label2 = Start Date | ||
|data2 = {{#if:{{{ | |data2 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}} | ||
| | |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|}}}}}}} | ||
| | |||
| | |||
|label4 = Status | |label4 = Status | ||
|data4 = {{#if:{{{status|}}}|{{{status|}}}}} | |data4 = {{#if:{{{status|}}}|{{{status|}}}}} | ||
|label5 = Characters | |label5 = Characters | ||
|data5 = {{#if:{{{characters|}}}|{{{characters|}}}}} | |data5 = {{#if:{{{characters|}}}|{{{characters|}}}}} | ||
|label6 = BBEG | |label6 = BBEG | ||
|data6 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}} | |data6 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}} | ||
|label7 = First Session | |label7 = First Session | ||
|data7 = {{#if:{{{firstsession|}}}|{{{firstsession|}}}}} | |data7 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}} | ||
| | |label8 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}} | ||
|data8 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}} | |||
|data8 = {{#if:{{{lastsession|}}}|{{{lastsession|}}}}} | |||
| | |aboveclass = name | ||
| | |subheaderrowclass1 = mergedbottomrow tag | ||
| | |imagerowclass1 = mergedtoprow mergedbottomrow | ||
| | |rowclass1 = mergedtoprow | ||
| | |rowclass2 = mergedrow | ||
| | |rowclass3 = mergedrow | ||
| | |rowclass4 = mergedbottomrow | ||
| | |rowclass5 = mergedtoprow | ||
|rowclass6 = mergedbottomrow | |||
|rowclass7 = mergedtoprow | |||
|rowclass8 = mergedbottomrow | |||
}}</includeonly><noinclude>[[Category:Templates]]</noinclude> |