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
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Lua|Module:Infobox|Module:Date Stuff}}
{{Lua|Module:Infobox}}
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 deities.
 
== Usage ==
== Usage ==
{{Parameter names example
{{Parameter names example
Line 10: Line 9:
| image
| image
| caption
| caption
| symbol
| homeplane
| followers
| PF2eDivineRank
| PF2eAlignment
| PF2eDivineAbility
| PF2eDivineFont
| PF2eDivineSanctification
| PF2eDivineSkill
| PF2eFavoredWeapons
| PF2eDomains
| PF2eAlternateDomains
| PF2eClericSpells
| DnD5eDivineRank
| DnD5eAlignment
| DnD5eDomains
| setting
| setting
| status
| start
| end
| characters
| bbeg
| npcs
| firstsession
| lastsession
}}
}}
<pre style="overflow:auto;">
<pre style="overflow:auto;">
{{Infobox Adventure
{{Infobox Deity
| name =  
| name                     =  
| tag =  
| tag                     =  
<!-- Images -->
<!--       Images       -->
| image =  
| image                   =  
| caption =  
| caption                 =  
<!-- In Game Dates -->
<!--       General      -->
| setting =  
| symbol                  =
| status =  
| homeplane                =
| start =  
| followers                =
| end =  
<!--    PF 2e Stats    -->
<!-- Characters -->
| PF2eDivineRank          =
| characters =  
| PF2eAlignment            =
| bbeg =  
| PF2eDivineAbility        =
| npcs =  
| PF2eDivineFont          =
<!-- First and last/latest session -->
| PF2eDivineSanctification =
| firstsession =
| PF2eDivineSkill          =
| lastsession =  
| PF2eFavoredWeapons      =  
| PF2eDomains              =  
| PF2eAlternateDomains    =  
| PF2eClericSpells        =  
<!--     DnD5e Stats    -->
| DnD5eDivineRank          =  
| DnD5eAlignment          =  
| DnD5eDomains            =  
<!--Setting -->
| setting                  =  
}}
}}
</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}}
{{TemplateData header|noheader=1}}
{{TemplateData header|noheader=1}}
 
<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": "link to the category page of the alignment of the deity and their followers",
"type": "wiki-page-name",
"required": true,
"example": "[[:Category:Lawful Good Deities|Lawful Good]]"
},
"domains": {
"label": "Domains",
"description": "list of the deities domains, and a link to the domain category page",
"type": "wiki-page-name",
"required": true,
"example": "[[:Category:Arcana Deities|Arcana]]"
},
"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": "link to the homeplane of the deity",
"type": "wiki-page-name"
},
"followers": {
"label": "Followers",
"description": "list of peoples who worships the deity",
"type": "string"
},
"setting": {
"label": "Setting",
"description": "link to the setting where the deity resides",
"type": "wiki-page-name"
},
"PF2eDivineRank": {},
"PF2eAlignment": {},
"PF2eDivineAbility": {},
"PF2eDivineFont": {},
"PF2eDivineSanctification": {},
"PF2eDivineSkill": {},
"PF2eFavoredWeapons": {},
"PF2eDomains": {},
"PF2eAlternateDomains": {},
"PF2eClericSpells": {},
"DnD5eDivineRank": {},
"DnD5eAlignment": {},
"DnD5eDomains": {}
},
"maps": {
"erewre": {}
}
}
</templatedata>
{{Collapse bottom}}
{{Collapse bottom}}
<includeonly>{{basepage subpage|
<includeonly>{{basepage subpage|

Latest revision as of 04:18, 21 May 2024

This template can be used to add at-a-glance information on TTRPG deities.

Usage

{{{name}}}
{{{tag}}}
{{{image}}}
{{{caption}}}
General Info
Symbol{{{symbol}}}
Homeplane{{{homeplane}}}
Worshipers{{{followers}}}
Pathfinder 2E
Divine Rank{{{PF2eDivineRank}}}
Alignment{{{PF2eAlignment}}}
Divine Ability{{{PF2eDivineAbility}}}
Divine Font{{{PF2eDivineFont}}}
Divine Sanctification{{{PF2eDivineSanctification}}}
Divine Skill{{{PF2eDivineSkill}}}
Favored Weapon{{{PF2eFavoredWeapons}}}
Domains{{{PF2eDomains}}}
Alternate Domains{{{PF2eAlternateDomains}}}
Cleric Spells{{{PF2eClericSpells}}}

Dungeons and Dragons 5E
Divine Rank{{{DnD5eDivineRank}}}
Alignment{{{DnD5eAlignment}}}
Domain(s){{{DnD5eDomains}}}
Setting{{{setting}}}
{{Infobox Deity
| name                     = 
| tag                      = 
<!--       Images        -->
| image                    = 
| caption                  = 
<!--       General       -->
| symbol                   = 
| homeplane                = 
| followers                = 
<!--     PF 2e Stats     -->
| PF2eDivineRank           = 
| PF2eAlignment            = 
| PF2eDivineAbility        = 
| PF2eDivineFont           = 
| PF2eDivineSanctification = 
| PF2eDivineSkill          = 
| PF2eFavoredWeapons       = 
| PF2eDomains              = 
| PF2eAlternateDomains     = 
| PF2eClericSpells         = 
<!--     DnD5e Stats     -->
| DnD5eDivineRank          = 
| DnD5eAlignment           = 
| DnD5eDomains             = 
<!--Setting -->
| 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

link to the category page of the alignment of the deity and their followers

Example
[[:Category:Lawful Good Deities|Lawful Good]]
Page namerequired
Domainsdomains

list of the deities domains, and a link to the domain category page

Example
[[:Category:Arcana Deities|Arcana]]
Page namerequired
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

link to the homeplane of the deity

Page nameoptional
Followersfollowers

list of peoples who worships the deity

Stringoptional
Settingsetting

link to the setting where the deity resides

Page nameoptional
PF2eDivineRankPF2eDivineRank

no description

Unknownoptional
PF2eAlignmentPF2eAlignment

no description

Unknownoptional
PF2eDivineAbilityPF2eDivineAbility

no description

Unknownoptional
PF2eDivineFontPF2eDivineFont

no description

Unknownoptional
PF2eDivineSanctificationPF2eDivineSanctification

no description

Unknownoptional
PF2eDivineSkillPF2eDivineSkill

no description

Unknownoptional
PF2eFavoredWeaponsPF2eFavoredWeapons

no description

Unknownoptional
PF2eDomainsPF2eDomains

no description

Unknownoptional
PF2eAlternateDomainsPF2eAlternateDomains

no description

Unknownoptional
PF2eClericSpellsPF2eClericSpells

no description

Unknownoptional
DnD5eDivineRankDnD5eDivineRank

no description

Unknownoptional
DnD5eAlignmentDnD5eAlignment

no description

Unknownoptional
DnD5eDomainsDnD5eDomains

no description

Unknownoptional