Template:Infobox Adventure: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
|image = {{{image|}}} | |image = {{{image|}}} | ||
|caption = {{{caption|}}} | |caption = {{{caption|}}} | ||
|aboveclass = mergedtoprow | |header1 = Dates | ||
|label2 = Start Date | |||
|data2 = {{{start|}}} | |||
|label3 = {{#if:{{{current_end|}}}|{{{current_end|}}} Date|{{{current_end|}}} Date}} | |||
|data3 = {{{end|}}} | |||
|header4 = Cast | |||
|label5 = Characters | |||
|data5 = {{{characters|}}} | |||
|label6 = Notable NPCs | |||
|data6 = {{{npcs|}}} | |||
|label7 = BBEG | |||
|data7 = {{{bbeg|}}} | |||
|header8 = Timeline | |||
|label9 = First Session | |||
|data9 = {{{firstsession|}}} | |||
|label10 = {{#if:{{{latest_last|}}}|{{{latest_last|}}} Session|{{{latest_last|}}} Session}} | |||
|data10 = {{{lastsession|}}} | |||
|label11 = Setting | |||
|data11 = {{{setting|}}} | |||
|aboveclass = mergedtoprow name | |||
|subheaderrowclass1 = mergedbottomrow tag | |subheaderrowclass1 = mergedbottomrow tag | ||
|imagerowclass1 = mergedtoprow mergedbottomrow | |imagerowclass1 = mergedtoprow mergedbottomrow | ||
|rowclass1 = mergedtoprow | |rowclass1 = mergedtoprow adventure | ||
|rowclass2 = | |rowclass2 = mergedrow | ||
|rowclass3 = | |rowclass3 = mergedbottomrow | ||
|rowclass4 = | |||
|rowclass5 = | |rowclass4 = mergedtoprow | ||
|rowclass6 = | |rowclass5 = mergedrow | ||
|rowclass6 = mergedrow | |||
|rowclass7 = mergedbottomrow | |rowclass7 = mergedbottomrow | ||
|rowclass8 = mergedtoprow adventure | |||
|rowclass9 = mergedrow | |||
|rowclass10 = mergedbottomrow | |||
|rowclass11 = mergedtoprow mergedbottomrow | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!--Please add this template's categories to the /doc subpage, not here - thanks!--> | <!--Please add this template's categories to the /doc subpage, not here - thanks!--> | ||
</noinclude> | </noinclude> |
Revision as of 10:40, 30 May 2022
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}}} |
{{{current_end}}} Date | {{{end}}} |
Cast | |
Characters | {{{characters}}} |
Notable NPCs | {{{npcs}}} |
BBEG | {{{bbeg}}} |
Timeline | |
First Session | {{{firstsession}}} |
{{{latest_last}}} Session | {{{lastsession}}} |
Setting | {{{setting}}} |
{{Infobox Adventure | name = | tag = <!-- Images --> | image = | caption = <!-- Dates --> | start = | current_end = | end = <!-- Cast --> | characters = | bbeg = | npcs = <!--Timeline --> | firstsession = | latest_last = | lastsession = <!-- Setting --> | setting = }}
Parameters
name
- name of the adventure
tag
- tagline of the adventure
image
- image that represents the adventure
caption
- caption about the image
start
- in-game date the adventure started
current_end
- depending on if the adventure is concluded, on-going, or on-hold
end
- in-game date the adventure ended/currently is on
characters
- list of all characters that were part of the adventure
npcs
- list of notable NPCs from the adventure
bbeg
- big bad evil guy of the adventure
firstsession
- link to the first session of the adventure
latest_last
- depending on if the adventure is concluded, on-going, or on-hold
lastsession
- link to the latest/last session of the adventure
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TemplateData for Infobox Adventure No description.
|