Template:Infobox Deity/doc: Difference between revisions

From Stiles Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
{{Lua|Module:Infobox|Module:Date Stuff}}
{{Lua|Module:Infobox|Module:Date Stuff}}
This template can be used to add at-a-glance information on TTRPG adventures and one-shots.
This template can be used to add at-a-glance information on TTRPG adventures and one-shots.
== Usage ==
== Usage ==
{{Parameter names example
{{Parameter names example
Line 22: Line 21:
| name =  
| name =  
| tag =  
| tag =  
<!-- Images -->
| image =  
| image =  
| caption =  
| caption =  
<!-- In Game Dates -->
| alignment =
| domains =
| power =
| symbol =
| homeplane =
| followers =
| setting =  
| setting =  
| status =
| start =
| end =
<!-- Characters -->
| characters =
| bbeg =
| npcs =
<!-- First and last/latest session -->
| firstsession =
| lastsession =
}}
}}
</pre>
</pre>
== Parameters ==
== Parameters ==
; <code>name</code>: name of the campaign. If left blank, defaults to page name.
; <code>name</code>: name of the deity. If left blank, defaults to pagename.
; <code>tag</code>: tag for the campaign, if there is one
; <code>tag</code>: what the deity is the goddess/god of
; <code>image</code>: image for the campaign
; <code>image</code>: image of the deity or their symbol
; <code>caption</code>: caption about the image
; <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>alignment</code>: the alignment of the deity and their followers
; <code>status</code>: if the campaign is on-going, on-hold, or concluded
; <code>domains</code>: list of domains the deity is part of
; <code>start</code>: the in-game day the campaign started
; <code>power</code>: power level of the deity
; <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>symbol</code>: description of the deities symbol
; <code>characters</code>: list of characters, separated by the {{}} template
; <code>homeplane</code>: the homeplane in which the deity resides
; <code>bbeg</code>: the bbeg, if the campaign had one
; <code>followers</code>: list of the species that follow the deity
; <code>npcs</code>: list of notable NPCs
; <code>setting</code>: the setting the deity is in
; <code>firstsession</code>: name of the first session
; <code>lastsession</code>: name of the last session. The header changes based on the status.
 
==TemplateData==
==TemplateData==
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}
{{Collapse top|title=[[Stiles.casa Wiki:TemplateData|TemplateData]] documentation used by [[Stiles.casa Wiki:VisualEditor|VisualEditor]] and other tools}}

Revision as of 21:31, 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
Symbol{{{symbol}}}
Homeplane{{{homeplane}}}
Worshipers{{{followers}}}

Setting{{{setting}}}
{{Infobox Adventure
| name = 
| tag = 
| image = 
| caption = 
| alignment = 
| domains = 
| power = 
| symbol = 
| homeplane = 
| followers = 
| setting = 
}}

Parameters

name
name of the deity. If left blank, defaults to pagename.
tag
what the deity is the goddess/god of
image
image of the deity or their symbol
caption
caption about the image
alignment
the alignment of the deity and their followers
domains
list of domains the deity is part of
power
power level of the deity
symbol
description of the deities symbol
homeplane
the homeplane in which the deity resides
followers
list of the species that follow the deity
setting
the setting the deity is in

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