Template:Infobox Campaign: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{infobox | <includeonly>{{infobox | ||
| | |autoheaders = y | ||
|above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | |above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | ||
| | |subheader = {{{tag|}}} | ||
|image = {{{image|}}} | |||
| | |caption = {{{caption|}}} | ||
| | |||
|header1 = Status | |||
| | |label2 = Setting | ||
| | |data2 = {{{setting|}}} | ||
| | |label3 = Start Date | ||
| | |data3 = {{{start|}}} | ||
| | |label4 = {{#if:{{{current_end|}}}|{{{current_end|}}} Date|{{{current_end|}}} Date}} | ||
| | |data4 = {{{end|}}} | ||
|label5 = Status | |||
|data5 = {{{status|}}} | |||
|header6 = Cast | |||
|label7 = Characters | |||
| | |data7 = {{{characters|}}} | ||
| | |label8 = BBEG | ||
| | |data8 = {{{bbeg|}}} | ||
| | |||
| | |header9 = Timeline | ||
| | |label10 = First Session | ||
| | |data10 = {{{firstsession|}}} | ||
|label11 = {{#if:{{{latest_last|}}}|{{{latest_last|}}} Session|{{{latest_last|}}} Session}} | |||
| | |data11 = {{{lastsession|}}} | ||
| | |||
| | |aboveclass = mergedtoprow name | ||
| | |subheaderrowclass1 = mergedbottomrow tag | ||
| | |imagerowclass1 = mergedtoprow mergedbottomrow | ||
| | |rowclass1 = mergedtoprow campaign | ||
| | |rowclass2 = mergedrow | ||
| | |rowclass3 = mergedrow | ||
| | |rowclass4 = mergedrow | ||
| | |rowclass5 = mergedbottomrow | ||
| | |rowclass6 = mergedtoprow campaign | ||
| | |rowclass7 = mergedrow | ||
| | |rowclass8 = mergedbottomrow | ||
| | |rowclass9 = mergedtoprow campaign | ||
|rowclass10 = mergedrow | |||
|rowclass11 = mergedbottomrow | |||
}}</includeonly><noinclude> | |||
{{Documentation}} | |||
<!--Please add this template's categories to the /doc subpage, not here - thanks!--> | |||
</noinclude> |
Latest revision as of 12:13, 30 May 2022
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 = <!-- 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.
|