Template:Infobox Session: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{infobox | {{infobox | ||
|autoheaders = y | |||
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | |above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | ||
|subheader = {{{tag|}}} | |subheader = {{{tag|}}} | ||
Line 6: | Line 7: | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
|caption = {{{caption|}}} | |caption = {{{caption|}}} | ||
| | |header1 = Dates | ||
| | |label2 = Date Played | ||
| | |data2 = {{{irldate|}}} | ||
| | |label3 = Game Date | ||
| | |data3 = {{{gamedate|}}} | ||
| | |header4 = Cast | ||
| | |label5 = Characters | ||
| | |data5 = {{{characters|}}} | ||
| | |label6 = Notable NPCs | ||
| | |data6 = {{{npcs|}}} | ||
| | |label7 = Notable Cities | ||
| | |data7 = {{{cities|}}} | ||
| | |label8 = Notable Locations | ||
| | |data8 = {{{locations|}}} | ||
| | |header9 = Timeline | ||
| | |label10 = Previous Session | ||
| | |data10 = {{{previoussession|}}} | ||
| | |label11 = Next Session | ||
|data11 = {{{nextsession|}}} | |||
|label12 = Setting | |||
|data12 = {{{setting|}}} | |||
|aboveclass = mergedtoprow name | |aboveclass = mergedtoprow name | ||
Line 29: | Line 33: | ||
|subheaderrowclass2 = mergedtoprow mergedbottomrow session | |subheaderrowclass2 = mergedtoprow mergedbottomrow session | ||
|imagerowclass1 = mergedtoprow mergedbottomrow | |imagerowclass1 = mergedtoprow mergedbottomrow | ||
|rowclass1 = mergedtoprow | |rowclass1 = mergedtoprow session | ||
|rowclass2 = | |rowclass2 = mergedrow | ||
|rowclass3 = | |rowclass3 = mergedbottomrow | ||
|rowclass4 = | |rowclass4 = mergedtoprow session | ||
| | |rowclass5 = mergedrow | ||
|rowclass6 = | |rowclass6 = mergedrow | ||
| | |towclass7 = mergedrow | ||
|rowclass8 = mergedbottomrow | |rowclass8 = mergedbottomrow | ||
|rowclass9 = mergedtoprow mergedbottomrow | |rowclass9 = mergedtoprow session | ||
|rowclass10 = mergedrow | |||
|rowclass11 = mergedbottomrow | |||
|rowclass12 = 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> |
Latest revision as of 09:02, 30 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}}} | |
Dates | |
Date Played | {{{irldate}}} |
Game Date | {{{gamedate}}} |
Cast | |
Characters | {{{characters}}} |
Notable NPCs | {{{npcs}}} |
Notable Cities | {{{cities}}} |
Notable Locations | {{{locations}}} |
Timeline | |
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.
|