Template:Infobox Session/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
 
Line 23: Line 23:
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox Session
{{Infobox Session
| name =  
| name           =  
| tag =  
| tag             =  
| adventure =  
<!--  Campaign  -->
| campaign =  
| adventure       =  
| image =  
| campaign       =  
| caption =  
<!--  Images  -->
| irldate =  
| image           =  
| gamedate =  
| caption         =  
| characters =  
<!--  Dates    -->
| npcs =  
| irldate         =  
| cities =  
| gamedate       =  
| locations =  
<!--    Cast    -->
| characters     =  
| npcs           =  
| cities         =  
| locations       =  
<!--  Timeline  -->
| previoussession =  
| previoussession =  
| nextsession =  
| nextsession     =  
| setting =  
<!--  Setting  -->
| setting         =  
}}
}}
</pre>
</pre>
== Parameters ==
== Parameters ==
; <code>name</code>: name of the session
; <code>name</code>: name of the session

Latest revision as of 08:37, 30 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 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.

Template parameters

ParameterDescriptionTypeStatus
Namename

name of the session

Default
{{PAGENAME}}
Stringoptional
Tagtag

tagline of the session

Stringoptional
Adventureadventure

adventure the session belongs to

Page nameoptional
Campaigncampaign

campaign the session belongs to

Stringoptional
Imageimage

image representing the session

Fileoptional
Captioncaption

caption of the image

Stringoptional
IRL Dateirldate

the IRL date the session was played

Example
{{Convert Date|01-24-1994|IRL}}
Templateoptional
Game Dategamedate

the in-game date the session started on

Example
{{Convert Date|01-24-1994|Eberron}}
Templateoptional
Charactercharacters

list of characters that played the session

Example
{{hlist|[[Player1]]|[[Player2]]}}
Templateoptional
NPCsnpcs

list of notable NPCs from the session

Example
{{hlist|[[NPC1]]|[[NPC2]]}}
Templateoptional
Locationslocations

list of notable locations from the session

Example
{{hlist|[[Location1]]|[[Location2]]}}
Templateoptional
Previous Sessionprevioussession

link to the previous session from an in-game perspective

Page nameoptional
Next Sessionnextsession

link to the next session from an in-game perspective

Page nameoptional
Settingsetting

link to the setting page

Page nameoptional