Template:Infobox Campaign: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{infobox
<includeonly>{{infobox
|autoheaders = y
|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
|data1 = {{#if:{{{setting|}}}|[[{{{setting|}}}]]}}
|label2 = Start Date
|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
|data4 = {{#if:{{{status|}}}|{{{status|}}}}}
|label5 = Characters
|data5 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|label6 = BBEG
|data6 = {{#if:{{{bbeg|}}}|{{{bbeg|}}}}}
|label7 = First Session
|data7 = {{#if:{{{firstsession|}}}|[[{{{firstsession|}}}]]}}
|label8 = {{#if:{{#ifeq:{{{status|}}}|Concluded||1}}|Latest Session|Last Session}}
|data8 = {{#if:{{{lastsession|}}}|[[{{{lastsession|}}}]]}}


|aboveclass = name
|header1 = Status
|label2 = Setting
|data2 = {{{setting|}}}
|label3 = Start Date
|data3 = {{{start|}}}
|label4 = {{#if:{{{current_end|}}}|{{{current_end|}}} Date|{{{current_end|}}} Date}}
|data4 = {{{end|}}}
|label5 = Status
|data5 = {{{status|}}}
 
|header6 = Cast
|label7 = Characters
|data7 = {{{characters|}}}
|label8 = BBEG
|data8 = {{{bbeg|}}}
 
|header9 = Timeline
|label10 = First Session
|data10 = {{{firstsession|}}}
|label11 = {{#if:{{{latest_last|}}}|{{{latest_last|}}} Session|{{{latest_last|}}} Session}}
|data11 = {{{lastsession|}}}
 
|aboveclass = mergedtoprow name
|subheaderrowclass1 = mergedbottomrow tag
|subheaderrowclass1 = mergedbottomrow tag
|imagerowclass1 = mergedtoprow mergedbottomrow
|imagerowclass1 = mergedtoprow mergedbottomrow
|rowclass1 = mergedtoprow
|rowclass1 = mergedtoprow campaign
|rowclass2 = mergedrow
|rowclass2 = mergedrow
|rowclass3 = mergedrow
|rowclass3 = mergedrow
|rowclass4 = mergedbottomrow
|rowclass4 = mergedrow
|rowclass5 = mergedtoprow
|rowclass5 = mergedbottomrow
|rowclass6 = mergedbottomrow
|rowclass6 = mergedtoprow campaign
|rowclass7 = mergedtoprow
|rowclass7 = mergedrow
|rowclass8 = mergedbottomrow
|rowclass8 = mergedbottomrow
}}<noinclude>
|rowclass9 = mergedtoprow campaign
|rowclass10 = mergedrow
|rowclass11 = mergedbottomrow
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
[[Category:Templates]]
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
<!--Please add this template's categories to the /doc subpage, not here - thanks!-->
</noinclude>
</noinclude>

Latest revision as of 12:13, 30 May 2022