Template:Infobox test: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
|above = {{#if:{{{name|}}}|{{{name|}}}|}}
|above = {{#if:{{{name|}}}|{{{name|}}}|}}
|subheader = {{#if:{{{tag|}}}|{{{tag|}}}}}
|subheader = {{#if:{{{tag|}}}|{{{tag|}}}}}
|subheader2 = {{#if:{{{adventure|}}}|{{{adventure|}}}}} - {{#if:{{{campaign|}}}|{{{campaign|}}}}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|caption = {{#if:{{{caption|}}}|{{{caption|}}}}}
|caption = {{#if:{{{caption|}}}|{{{caption|}}}}}
|label1 = Start Date
|label1 = Date Played
|data1 = {{#if:{{{start|}}}|{{#invoke:Date Stuff|date|{{{start|}}}|{{{setting|}}}}}}}
|data1 = {{#if:{{{irldate|}}}|{{#invoke:Date Stuff|date|{{{irldate|}}}|IRL}}}}
|label2 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Current Date|End Date}}
|label2 = Game Date
|data2 = {{#if:{{#ifeq:{{{status|}}}|Concluded|1|}}|{{#invoke:Date Stuff|date|{{{end|}}}|{{{setting|}}}}}|{{#invoke:Date Stuff|date|{{Current Dates|{{{setting|}}}}}|{{{setting|}}}}}}}
|data2 = {{#if:{{#invoke:Date Stuff|date|{{{gamedate|}}}|{{{setting|}}}}}|Unknown}}
|label3 = Characters
|label3 = Characters
|data3 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|data3 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|label4 = BBEG
|label4 = Notable NPCs
|data4 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}}
|data4 = {{#if:{{{npcs|}}}|{{{npcs|}}}}}
|label5 = Notable NPCs
|label5 = Notable Locations
|data5 = {{#if:{{{npcs|}}}|{{{npcs|}}}}}
|data5 = {{#if:{{{locations|}}}|{{{locations|}}}}}
|label6 = First Session
|label6 = Previous Session
|data6 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|data6 = {{#if:{{{previoussession|}}}|[[{{{previoussession|}}}]]}}
|label7 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|label7 = Next Session
|data7 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}
|data7 = {{#if:{{{nextsession|}}}|[[{{{nextsession|}}}]]}}


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

Revision as of 19:33, 19 May 2022