Template:Infobox Session/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
Line 24: Line 24:


<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox Campaign
{{Infobox Session
| name =  
| name =  
| tag =  
| tag =  
Line 30: Line 30:
| campaign =  
| campaign =  
| setting =  
| setting =  
<!-- Images -->
| image =  
| image =  
| caption =  
| caption =  
<!-- Game Dates -->
| irldate =  
| irldate =  
| gamedate =   
| gamedate =   
<!-- Characters, NPCs, and Locations -->
| characters =  
| characters =  
| npcs =  
| npcs =  
| locations =  
| locations =  
<!-- Previous and Next session -->
| previoussession =  
| previoussession =  
| nextsession =  
| nextsession =  

Revision as of 09:48, 22 May 2022

This template can be used to add at-a-glance information on individual TTRPG sessions.

Usage

{{{name}}}
{{{tag}}}
{{{adventure}}} - {{{campaign}}}
{{{image}}}
{{{caption}}}
Dates
Date Played{{{irldate}}}
Game Date{{{gamedate}}}
Cast
Characters{{{characters}}}
Notable NPCs{{{npcs}}}
Notable Locations{{{locations}}}
Timeline
Previous Session{{{previoussession}}}
Next Session{{{nextsession}}}
Setting{{{setting}}}
{{Infobox Session
| name = 
| tag = 
| adventure = 
| campaign = 
| setting = 
| image = 
| caption = 
| irldate = 
| gamedate =  
| characters = 
| npcs = 
| locations = 
| previoussession = 
| nextsession = 
}}

Parameters

name
name of the session. If left blank, defaults to page name.
tag
tag for the session, if there is one
adventure
what adventure the session is a part of
campaign
what campaign the session is a part of
setting
the setting the session takes place in, this is also used for the dates to convert number dates to full dates
image
image for the session
caption
caption about the image
irldate
the IRL date the session was played
gamedate
the starting in-game date of the session
characters
list of characters, separated by the {{}} template
npcs
list of notable npcs in the session
locations
list of notable locations visited in the session
previoussession
name of the preceding session
nextsession
name of the following session

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox Session

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the session. If left blank will default to pagename

Auto value
{{PAGENAME}}
Stringoptional
Tagtag

Tag line for the session

Stringoptional
Adventureadventure

the adventure the session is part of

Stringsuggested
Campaigncampaign

the campaign the session is part of

Stringsuggested
Settingsetting

the setting the session takes place in

Stringsuggested
Imageimage

relevant image of the session

Fileoptional
Captioncaption

caption for the image

Stringoptional
Real Life Dateirldate

the real life date the session was played

Example
12-23-3456
Dateoptional
In-Game Dategamedate

the in-game date the session started on

Example
01-02-034
Dateoptional
Player Characterscharacters

list of all PCs that were in the session

Stringoptional
Notable NPCsnpcs

list of notable NPCs from the session

Stringoptional
Notable Locationslocations

list of notable locations from the session

Stringoptional
Previous Sessionprevioussession

name of the previous session

Stringoptional
Next Sessionnextsession

name of the next session

Stringoptional