Template:Infobox Campaign/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
Line 25: Line 25:
| name =  
| name =  
| tag =  
| tag =  
<!-- Images -->
| image =  
| image =  
| caption =  
| caption =  
<!-- In Game Dates -->
| setting =  
| setting =  
| start =  
| start =  
| end =  
| end =  
| status =  
| status =  
<!-- Characters -->
| characters =  
| characters =  
| bbeg =  
| bbeg =  
<!-- First and last/latest session -->
| firstsession =  
| firstsession =  
| lastsession =  
| lastsession =  

Revision as of 08:47, 22 May 2022

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

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
Status
Setting{{{setting}}}
Start Date{{{start}}}
Date{{{end}}}
Status{{{status}}}
Cast
Characters{{{characters}}}
BBEG{{{bbeg}}}
Timeline
First Session{{{firstsession}}}
Session{{{lastsession}}}
{{Infobox Campaign
| name = 
| tag = 
| image = 
| caption = 
| setting = 
| start = 
| end = 
| status = 
| characters = 
| bbeg = 
| firstsession = 
| 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
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.
status
if the campaign is on-going, on-hold, or concluded
characters
list of characters, separated by the {{}} template
bbeg
the bbeg, if the campaign had one
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 Campaign

No description.

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Namename

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

Stringoptional
Tagtag

Tag line for the campaign.

Stringoptional
Imageimage

Image representing the campaign.

Page nameoptional
Captioncaption

Caption for the image.

Stringoptional
Settingsetting

The setting where the campaign takes place.

Stringrequired
Start Datestart

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

Dateoptional
End Dateend

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

Dateoptional
Statusstatus

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

Stringrequired
Characterscharacters

List of all player characters in the campaign.

Stringoptional
BBEGbbeg

The BBEG of the campaign, if there was one.

Stringoptional
First Sessionfirstsession

Title of the first session.

Stringoptional
Last Sessionlastsession

Title of the latest/last session.

Stringoptional