Template:Infobox Deity/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 }} <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 is a documentation subpage for Template:Infobox Deity. 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}}} | |
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | the name of the deity
| String | optional |
Tag | tag | what the deity if the god of
| String | required |
Image | image | image of the deity or their symbol | File | suggested |
Caption | caption | caption of the image | String | optional |
Alignment | alignment | alignment of the deity and their followers | String | required |
Domains | domains | list of the deities domains | String | required |
Power Level | power | the power level of the deity | String | optional |
Symbol | symbol | description of the symbol of the deity
| String | suggested |
Homeplane | homeplane | the homeplane of the deity | String | optional |
Followers | followers | who worships the deity | String | optional |
Setting | setting | the setting where the deity resides | String | optional |