Template:Infobox Campaign/doc: Difference between revisions
(→Usage) |
No edit summary |
||
Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
{{Parameter names example | {{Parameter names example | ||
| name | |name | ||
| tag | |tag | ||
| image | |image | ||
| caption | |caption | ||
| setting | |setting | ||
| start | |start | ||
| end | |current_end | ||
| status | |end | ||
| characters | |status | ||
| bbeg | |characters | ||
| firstsession | |bbeg | ||
| lastsession | |firstsession | ||
|latest_last | |||
|lastsession | |||
}} | }} | ||
Line 29: | Line 31: | ||
| setting = | | setting = | ||
| start = | | start = | ||
| current_end = | |||
| end = | | end = | ||
| status = | | status = | ||
Line 34: | Line 37: | ||
| bbeg = | | bbeg = | ||
| firstsession = | | firstsession = | ||
| latest_last = | |||
| lastsession = | | lastsession = | ||
}} | }} |
Revision as of 16:10, 25 May 2022
This is a documentation subpage for Template:Infobox Campaign. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template can be used to add at-a-glance information on TTRPG campaigns.
Usage
{{{name}}} | |
---|---|
{{{tag}}} | |
{{{image}}} | |
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 = | image = | caption = | setting = | start = | current_end = | end = | status = | characters = | bbeg = | 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
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.
|