Template:Infobox Campaign/doc

From Stiles Wiki
< Template:Infobox Campaign
Revision as of 10:31, 30 May 2022 by Maxwells (talk | contribs) (→‎Usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}}}
{{{current_end}}} Date{{{end}}}
Status{{{status}}}
Cast
Characters{{{characters}}}
BBEG{{{bbeg}}}
Timeline
First Session{{{firstsession}}}
{{{latest_last}}} Session{{{lastsession}}}
{{Infobox Campaign
| name         = 
| tag          = 
<!-- Images  -->
| image        = 
| caption      = 
<!-- Status  -->
| setting      = 
| start        = 
| current_end  = 
| end          = 
| status       = 
<!--  Cast   -->
| characters   = 
| bbeg         = 
<!--Timeline -->
| firstsession = 
| latest_last  = 
| lastsession  = 
}}

Parameters

name
name of the campaign
tag
tagline of the campaign
image
image representing the campaign
caption
caption about the image
setting
setting the campaign takes place in
start
the in-game date the campaign started
current_end
if the campaign has concluded, use end, otherwise use current
end
in-game date the campaign ended
status
if the campaign is concluded, on-going, or on-hold
characters
list of all player characters that appeared in the campaign
bbeg
the big bad evil guy of the campaign
firstsession
link to the first session page of this campaign
latest_last
if the campaign has concluded, use last, otherwise use latest
lastsession
link to the latest/last session page of this campaign

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox Campaign

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

name of the campaign

Default
{{PAGENAME}}
Stringoptional
Tagtag

tagline of the campaign

Stringoptional
Imageimage

image representing the campaign

Fileoptional
Captioncaption

caption about the image

Stringoptional
Settingsetting

setting the campaign takes place in

Page nameoptional
Startstart

the in-game date the campaign started

Example
{{Convert Date|01-24-1994|Eberron}}
Templateoptional
Current or Endcurrent_end

if the campaign has concluded, use end, otherwise use current

Stringoptional
Endend

in-game date the campaign ended

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

if the campaign is concluded, on-going, or on-hold

Stringoptional
Characterscharacters

list of all player characters that appeared in the campaign

Example
{{hlist|[[Player1]]|[[Player2]]|[[Player3]]|[[Player4]]}}
Templateoptional
BBEGbbeg

the big bad evil guy of the campaign

Example
[[BBEG1]]
Page nameoptional
First Sessionfirstsession

link to the first session page of this campaign

Page nameoptional
Latest or Lastlatest_last

if the campaign has concluded, use last, otherwise use latest

Stringoptional
Last Sessionlastsession

link to the latest/last session page of this campaign

Page nameoptional