Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{{infobox
{{infobox
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|above = {{#if:{{{name|}}}|{{{name|}}}|}}
|subheader = {{#if:{{{tag|}}}|{{{tag|}}}}}
|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
|label1 = Start Date
|data1 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
|data1 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
|label2 = Start Date
|label2 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Current Date|End Date}}
|data2 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
|data2 = {{#if:{{#ifeq:{{{status|}}}|Concluded|1|}}|{{#invoke:Date Stuff|date|{{{end|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{Current Dates|{{{setting|}}}}}|{{{setting|}}}}}}}
|label3 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Current Date|End Date}}
|label3 = Characters
|data3 = {{#if:{{#ifeq:{{{status|}}}|Concluded|1|}}|{{#invoke:Date Stuff|date|{{{end|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{Current Dates|{{{setting|}}}}}|{{{setting|}}}}}}}
|data3 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|label4 = Status
|label4 = BBEG
|data4 = {{#if:{{{status|}}}|{{{status|}}}}}
|data4 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}}
|label5 = Characters
|label5 = First Session
|data5 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|data5 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|label6 = BBEG
|label6 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|data6 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}}
|data6 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}
|label7 = First Session
|data7 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|label8 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|data8 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}


|aboveclass = name
|aboveclass =  
|subheaderrowclass1 = mergedbottomrow tag
|subheaderrowclass1 =  
|imagerowclass1 = mergedtoprow mergedbottomrow
|imagerowclass1 =  
|rowclass1 = mergedtoprow
|rowclass1 =  
|rowclass2 = mergedrow
|rowclass2 =  
|rowclass3 = mergedrow
|rowclass3 =  
|rowclass4 = mergedbottomrow
|rowclass4 =  
|rowclass5 = mergedtoprow
|rowclass5 =  
|rowclass6 = mergedbottomrow
|rowclass6 =  
|rowclass7 = mergedtoprow
|rowclass8 = mergedbottomrow
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>
}}</includeonly><noinclude>[[Category:Templates]]</noinclude>

Revision as of 19:39, 18 May 2022