Template:Infobox Adventure/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Lua|Module:Infobox|Module:Date Stuff}} This template can be used to add at-a-glance information on TTRPG adventures and one-shots. == Usage == {{Parameter names example | name | tag | image | caption | setting | status | start | end | characters | bbeg | npcs | firstsession | lastsession }}") |
No edit summary |
||
Line 20: | Line 20: | ||
| lastsession | | lastsession | ||
}} | }} | ||
<pre style="overflow:auto;"> | |||
{{Infobox Campaign | |||
| name = | |||
| tag = | |||
<!-- Images --> | |||
| image = | |||
| caption = | |||
<!-- In Game Dates --> | |||
| setting = | |||
| status = | |||
| start = | |||
| end = | |||
<!-- Characters --> | |||
| characters = | |||
| bbeg = | |||
| npcs = | |||
<!-- First and last/latest session --> | |||
| firstsession = | |||
| lastsession = | |||
}} | |||
</pre> | |||
== Parameters == | |||
; <code>name</code>: name of the campaign. If left blank, defaults to page name. | |||
; <code>tag</code>: tag for the campaign, if there is one | |||
; <code>image</code>: image for the campaign | |||
; <code>caption</code>: caption about the image | |||
; <code>setting</code>: the setting the campaign takes place in, this is also used for the dates to convert number dates to full dates | |||
; <code>status</code>: if the campaign is on-going, on-hold, or concluded | |||
; <code>start</code>: the in-game day the campaign started | |||
; <code>end</code>: if status is "Concluded", the in-game day the campaign ended. Otherwise uses the current date from the current dates template. | |||
; <code>characters</code>: list of characters, separated by the {{}} template | |||
; <code>bbeg</code>: the bbeg, if the campaign had one | |||
; <code>npcs</code>: list of notable NPCs | |||
; <code>firstsession</code>: name of the first session | |||
; <code>lastsession</code>: name of the last session. The header changes based on the status. |
Revision as of 14:05, 21 May 2022
This is a documentation subpage for Template:Infobox Adventure. 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 adventures and one-shots.
Usage
{{{name}}} | |
---|---|
{{{tag}}} | |
{{{image}}} | |
Dates | |
Start Date | {{{start}}} |
Date | {{{end}}} |
Cast | |
Characters | {{{characters}}} |
Notable NPCs | {{{npcs}}} |
BBEG | {{{bbeg}}} |
Timeline | |
First Session | {{{firstsession}}} |
Session | {{{lastsession}}} |
Setting | {{{setting}}} |
{{Infobox Campaign | name = | tag = <!-- Images --> | image = | caption = <!-- In Game Dates --> | setting = | status = | start = | end = <!-- Characters --> | characters = | bbeg = | npcs = <!-- First and last/latest session --> | 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
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.