Template:Infobox Adventure/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
| end
| end
| characters
| characters
| npcs
| bbeg
| bbeg
| npcs
| firstsession
| firstsession
| latest_last
| latest_last

Revision as of 16:29, 25 May 2022

This template can be used to add at-a-glance information on TTRPG adventures and one-shots.

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
Dates
Start Date{{{start}}}
{{{current_end}}} Date{{{end}}}
Cast
Characters{{{characters}}}
Notable NPCs{{{npcs}}}
BBEG{{{bbeg}}}
Timeline
First Session{{{firstsession}}}
{{{latest_last}}} Session{{{lastsession}}}
{{Infobox Adventure
| name = 
| tag = 
| image = 
| caption = 
| start = 
| current_end = 
| end = 
| characters = 
| bbeg = 
| npcs = 
| firstsession = 
| latest_last = 
| lastsession = 
}}

Parameters

name
name of the campaign. If left blank, defaults to page name.
tag
tag for the campaign, if there is one
image
image for the campaign
caption
caption about the image
setting
the setting the campaign takes place in, this is also used for the dates to convert number dates to full dates
status
if the campaign is on-going, on-hold, or concluded
start
the in-game day the campaign started
end
if status is "Concluded", the in-game day the campaign ended. Otherwise uses the current date from the current dates template.
characters
list of characters, separated by the {{}} template
bbeg
the bbeg, if the campaign had one
npcs
list of notable NPCs
firstsession
name of the first session
lastsession
name of the last session. The header changes based on the status.

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox Adventure

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

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

Stringoptional
Tagtag

Tag line for the adventure.

Stringoptional
Imageimage

Image representing the adventure.

Page nameoptional
Captioncaption

Caption for the image.

Stringoptional
Settingsetting

The setting where the adventure takes place.

Stringrequired
Statusstatus

The status of the adventure; on-going, on-hold, concluded.

Stringrequired
Start Datestart

In-game start date of the adventure, in the MM-DD-YYYY form.

Dateoptional
End Dateend

In-game end date of the adventure, in the MM-DD-YYYY form. If left blank, will use the Current date template to get the current date in the setting.

Dateoptional
Characterscharacters

List of all player characters in the adventure.

Stringoptional
BBEGbbeg

The BBEG of the adventure, if there was one.

Stringoptional
Notable NPCsnpcs

A list of notable NPCs.

Stringoptional
First Sessionfirstsession

Title of the first session.

Stringoptional
Last Sessionlastsession

Title of the latest/last session.

Stringoptional