Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 3: Line 3:
|aboveclass = name
|aboveclass = name
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|subheader = {{#if:{{{tag|}}}|{{{tag|}}}}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|caption = {{#if:{{{caption|}}}|{{{caption|}}}}}
|caption = {{#if:{{{caption|}}}|{{{caption|}}}}}
|label1 = Setting
|header1 = {{#if:{{{tag|}}}|{{{tag|}}}}}
|data1 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
|label2 = Setting
|label2 = Start Date
|data2 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
|data2 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
|label3 = Start Date
|label3 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Current Date|End Date}}
|data3 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
|data3 = {{#if:{{#ifeq:{{{status|}}}|Concluded|1|}}|{{#invoke:Date Stuff|date|{{{end|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{Current Dates|{{{setting|}}}}}|{{{setting|}}}}}}}
|label4 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Current Date|End Date}}
|label4 = Status
|data4 = {{#if:{{#ifeq:{{{status|}}}|Concluded|1|}}|{{#invoke:Date Stuff|date|{{{end|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{Current Dates|{{{setting|}}}}}|{{{setting|}}}}}}}
|data4 = {{#if:{{{status|}}}|{{{status|}}}}}
|label5 = Status
|label5 = Characters
|data5 = {{#if:{{{status|}}}|{{{status|}}}}}
|data5 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|label6 = Characters
|label6 = BBEG
|data6 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|data6 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}}
|label7 = BBEG
|label7 = First Session
|data7 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}}
|data7 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|label8 = First Session
|label8 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|data8 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|data8 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}
|label9 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|data9 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Revision as of 19:10, 18 May 2022