Template:Infobox Session/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
}}
}}
</pre>
</pre>
== Parameters ==
; <code>name</code>: name of the session. If left blank, defaults to page name.
; <code>tag</code>: tag for the session, if there is one
; <code>adventure</code>: what adventure the session is a part of
; <code>campaign</code>: what campaign the session is a part of
; <code>setting</code>: the setting the session takes place in, this is also used for the dates to convert number dates to full dates
; <code>image</code>: image for the session
; <code>caption</code>: caption about the image
; <code>irldate</code>: the IRL date the session was played
; <code>gamedate</code>: the starting in-game date of the session
; <code>characters</code>: list of characters, separated by the {{}} template
; <code>npcs</code>: list of notable npcs in the session
; <code>locations</code>: list of notable locations visited in the session
; <code>previoussession</code>: name of the preceding session
; <code>nextsession</code>: name of the following session

Revision as of 14:45, 21 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 Campaign
| name = 
| tag = 
| adventure = 
| campaign = 
| setting = 
<!-- Images -->
| image = 
| caption = 
<!-- In Game Dates -->
| irldate = 
| gamedate =  
<!-- Characters -->
| characters = 
| npcs = 
| locations = 
<!-- First and last/latest session -->
| 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