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
remade |
mNo edit summary |
||
| (15 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; | ||
| :: {{#if:{{{campaign|}}}|<div class | | :: {{#if:{{{campaign|}}}|<div class{{=}}"infobox-nav">{{{campaign|}}} Session</div>}} | ||
| :: <div style{{=}}"font-size:small; text-align:center; padding: 0.2em;">Run by {{{gm}}}</div> | | :: {{#if:{{{gm|}}}|<div style{{=}}"font-size:small; text-align:center; padding: 0.2em;">Run by {{{gm}}}</div>}} | ||
|-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"> | | :: {{#switch:{{{oneshot|}}}|yes = |<table style{{=}}"text-align:center;border-collapse: collapse;margin:auto;table-layout: fixed;width:100%"> | ||
<tr>{{#if:{{{previous|}}}|<td>'''Previous'''</td>}} | <tr>{{#if:{{{previous|}}}|<td>'''Previous'''</td>}} | ||
{{#if:{{{next|}}}|<td>'''Next'''</td>}}</tr> | {{#if:{{{next|}}}|<td>'''Next'''</td>}}</tr> | ||
| Line 16: | Line 18: | ||
{{#if:{{{next|}}}|<td>"{{{next|}}}"</td>}}</tr> | {{#if:{{{next|}}}|<td>"{{{next|}}}"</td>}}</tr> | ||
</table>}} | </table>}} | ||
}} | }}{{#invoke:Bucket|put|session | ||
|name = {{{name|}}} | |||
|campaign = {{{campaign|}}} | |||
{{ | |gm = {{{gm|}}} | ||
|campaign= | |session_num = {{{snum|}}} | ||
|gm= | |date = {{date|{{{sessiondate|}}}|ISO}} | ||
| | }}<noinclude> | ||
|sessiondate | {{Documentation}}</noinclude> | ||
| | |||
}}</noinclude> | |||
