Template:Infobox Deity/doc: Difference between revisions

From Stiles Wiki
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 }} <pre style="overflow:auto;"> {{Infobox Adventure |...")
 
No edit summary
Line 65: Line 65:
{{DEFAULTSORT:Infobox Deity}}
{{DEFAULTSORT:Infobox Deity}}
}}</includeonly>
}}</includeonly>
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "the name of the deity",
"type": "string",
"default": "{{PAGENAME}}"
},
"tag": {
"label": "Tag",
"description": "what the deity if the god of",
"example": "goddess of biomancy",
"type": "string",
"required": true
},
"image": {
"label": "Image",
"description": "image of the deity or their symbol",
"type": "wiki-file-name",
"suggested": true
},
"caption": {
"label": "Caption",
"description": "caption of the image",
"type": "string"
},
"alignment": {
"label": "Alignment",
"description": "alignment of the deity and their followers",
"type": "string",
"required": true
},
"domains": {
"label": "Domains",
"description": "list of the deities domains",
"type": "string",
"required": true
},
"power": {
"label": "Power Level",
"description": "the power level of the deity",
"type": "string"
},
"symbol": {
"label": "Symbol",
"description": "description of the symbol of the deity",
"example": "a cross struck by lightning",
"type": "string",
"suggested": true
},
"homeplane": {
"label": "Homeplane",
"description": "the homeplane of the deity",
"type": "string"
},
"followers": {
"label": "Followers",
"description": "who worships the deity",
"type": "string"
},
"setting": {
"label": "Setting",
"description": "the setting where the deity resides",
"type": "string"
}
},
"maps": {
"erewre": {}
}
}
</templatedata>

Revision as of 20:22, 21 May 2022

This template can be used to add at-a-glance information on TTRPG adventures and one-shots.

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
General Info

Setting{{{setting}}}
{{Infobox Adventure
| 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.

TemplateData

TemplateData documentation used by VisualEditor and other tools

TemplateData for Infobox Deity

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

the name of the deity

Default
{{PAGENAME}}
Stringoptional
Tagtag

what the deity if the god of

Example
goddess of biomancy
Stringrequired
Imageimage

image of the deity or their symbol

Filesuggested
Captioncaption

caption of the image

Stringoptional
Alignmentalignment

alignment of the deity and their followers

Stringrequired
Domainsdomains

list of the deities domains

Stringrequired
Power Levelpower

the power level of the deity

Stringoptional
Symbolsymbol

description of the symbol of the deity

Example
a cross struck by lightning
Stringsuggested
Homeplanehomeplane

the homeplane of the deity

Stringoptional
Followersfollowers

who worships the deity

Stringoptional
Settingsetting

the setting where the deity resides

Stringoptional