Template:Infobox Session: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 2: Line 2:
{{infobox
{{infobox
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
|subheader = {{#if:{{{tag|}}}|{{{tag|}}}}}
|subheader = {{{tag|}}}
|subheader2 = {{#if:{{{adventure|}}}|[[{{{adventure|}}}]]}}{{#ifexpr:{{#if:{{{adventure|}}}|1|0}} = {{#if:{{{setting|}}}|1|0}}| - |}}{{#if:{{{campaign|}}}|[[{{{campaign|}}}]]}}
|subheader2 = {{#if:{{{adventure|}}}|[[{{{adventure|}}}]]}}{{#ifexpr:{{#if:{{{adventure|}}}|1|0}} = {{#if:{{{campaign|}}}|1|0}}| - |}}{{#if:{{{campaign|}}}|[[{{{campaign|}}}]]}}
|image = {{#if:{{{image|}}}|[[File:{{{image|}}}|250px]]}}
|image = {{{image|}}}
|caption = {{#if:{{{caption|}}}|{{{caption|}}}}}
|caption = {{{caption|}}}
|label1 = Date Played
|label1 = Date Played
|data1 = {{#if:{{{irldate|}}}|{{#invoke:Date Stuff|date|{{{irldate|}}}|IRL}}}}
|data1 = {{{irldate|}}}
|label2 = Game Date
|label2 = Game Date
|data2 = {{#if:{{{gamedate|}}}|{{#invoke:Date Stuff|date|{{{gamedate|}}}|{{{setting|}}}}}|Unknown}}
|data2 = {{{gamedate|}}}
|label3 = Characters
|label3 = Characters
|data3 = {{#if:{{{characters|}}}|{{{characters|}}}}}
|data3 = {{{characters|}}}
|label4 = Notable NPCs
|label4 = Notable NPCs
|data4 = {{#if:{{{npcs|}}}|{{{npcs|}}}}}
|data4 = {{{npcs|}}}
|label5 = Notable Locations
|label5 = Notable Locations
|data5 = {{#if:{{{locations|}}}|{{{locations|}}}}}
|data5 = {{{locations|}}}
|label6 = Previous Session
|label6 = Previous Session
|data6 = {{#if:{{{previoussession|}}}|[[{{{previoussession|}}}]]}}
|data6 = {{{previoussession|}}}
|label7 = Next Session
|label7 = Next Session
|data7 = {{#if:{{{nextsession|}}}|[[{{{nextsession|}}}]]}}
|data7 = {{{nextsession|}}}
|label8 = Setting
|data8 = {{{setting|}}}


|aboveclass = mergedtoprow name
|aboveclass = mergedtoprow name
Line 32: Line 34:
|rowclass6 = mergedtoprow
|rowclass6 = mergedtoprow
|rowclass7 = mergedbottomrow
|rowclass7 = mergedbottomrow
|rowclass8 = mergedtoprow mergedbottomrow
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{Documentation}}
{{Documentation}}
<!--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>