This wiki is still in active development, many areas of the site are unstable or broken.

In the meantime, consider adding content to pages you like!

Template:SessionInfobox: Difference between revisions

From NBITTRPG Wiki
mNo edit summary
mNo edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{LuaInfobox
{{LuaInfobox
| title = {{{name}}}
| title = {{{name}}}
| class = {{{class|}}}
| label-style = font-size:smaller; font-weight:bold;
| label-style = font-size:smaller; font-weight:bold;
| data-style = font-size:small;
| data-style = font-size:small;
Line 8: Line 9:
|-header :: Information
|-header :: Information
| {{#if:{{{act|}}}|Act :: {{{act|}}}}}
| {{#if:{{{act|}}}|Act :: {{{act|}}}}}
| Session Date :: {{{sessiondate}}}
| {{#if:{{{snum|}}}|Session # :: {{{snum|}}}}}
| Session Date :: {{date|{{{sessiondate}}}|MDY}}


| :: {{#switch:{{{oneshot|}}}|yes = |<table style{{=}}"text-align:center;border-collapse: collapse;margin:auto;table-layout: fixed;width:100%">
| :: {{#switch:{{{oneshot|}}}|yes = |<table style{{=}}"text-align:center;border-collapse: collapse;margin:auto;table-layout: fixed;width:100%">
Line 17: Line 19:
</table>}}
</table>}}
}}{{#invoke:Bucket|put|session
}}{{#invoke:Bucket|put|session
|name = {{{name}}}
|name = {{{name|}}}
|date = {{{sessiondate|}}}
|campaign = {{{campaign|}}}
|date-type = timestamp
|gm = {{{gm|}}}
|session_num = {{{snum|}}}
|date = {{date|{{{sessiondate|}}}|ISO}}
}}<noinclude>
}}<noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>
<noinclude>{{LuaInfobox
|name = testthing
|sessiondate =October 11, 2026}}</noinclude>

Latest revision as of 05:16, 14 October 2026

{{{name}}}
Information
Session Date{{{sessiondate}}}