Template:Infobox Session: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{infobox | {{infobox | ||
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | |above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | ||
|subheader = | |subheader = {{{tag|}}} | ||
|subheader2 = {{#if:{{{adventure|}}}|[[{{{adventure|}}}]]}}{{#ifexpr:{{#if:{{{adventure|}}}|1|0}} = {{#if:{{{ | |subheader2 = {{#if:{{{adventure|}}}|[[{{{adventure|}}}]]}}{{#ifexpr:{{#if:{{{adventure|}}}|1|0}} = {{#if:{{{campaign|}}}|1|0}}| - |}}{{#if:{{{campaign|}}}|[[{{{campaign|}}}]]}} | ||
|image = | |image = {{{image|}}} | ||
|caption = | |caption = {{{caption|}}} | ||
|label1 = Date Played | |label1 = Date Played | ||
|data1 = | |data1 = {{{irldate|}}} | ||
|label2 = Game Date | |label2 = Game Date | ||
|data2 = | |data2 = {{{gamedate|}}} | ||
|label3 = Characters | |label3 = Characters | ||
|data3 = | |data3 = {{{characters|}}} | ||
|label4 = Notable NPCs | |label4 = Notable NPCs | ||
|data4 = | |data4 = {{{npcs|}}} | ||
|label5 = Notable Locations | |label5 = Notable Locations | ||
|data5 = | |data5 = {{{locations|}}} | ||
|label6 = Previous Session | |label6 = Previous Session | ||
|data6 = | |data6 = {{{previoussession|}}} | ||
|label7 = Next Session | |label7 = Next Session | ||
|data7 = | |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> |
Revision as of 17:07, 25 May 2022
This template uses Lua: |
This template can be used to add at-a-glance information on individual TTRPG sessions.
Usage
{{{name}}} | |
---|---|
{{{tag}}} | |
[[{{{adventure}}}]] - [[{{{campaign}}}]] | |
{{{image}}} | |
Date Played | {{{irldate}}} |
Game Date | {{{gamedate}}} |
Characters | {{{characters}}} |
Notable NPCs | {{{npcs}}} |
Notable Locations | {{{locations}}} |
Previous Session | {{{previoussession}}} |
Next Session | {{{nextsession}}} |
Setting | {{{setting}}} |
{{Infobox Session | name = | tag = <!-- Campaign --> | adventure = | campaign = <!-- Images --> | image = | caption = <!-- Dates --> | irldate = | gamedate = <!-- Cast --> | characters = | npcs = | cities = | locations = <!-- Timeline --> | previoussession = | nextsession = <!-- Setting --> | setting = }}
Parameters
name
- name of the session
tag
- tagline of the session
adventure
- adventure the session belongs to
campaign
- campaign the session belongs to
image
- image representing the session
caption
- caption of the image
irldate
- the IRL date the session was played
gamedate
- the in-game date the session started on
characters
- list of characters that played the session
npcs
- list of notable NPCs from the session
cities
- list of notable cities from the session
locations
- list of notable locations from the session
previoussession
- link to the previous session from an in-game perspective
nextsession
- link to the next session from an in-game perspective
setting
- link to the setting page
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TemplateData for Infobox Session No description.
|