Template:Infobox Deity/doc: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(9 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
| alignment
| domains
| power
| symbol
| symbol
| homeplane
| homeplane
| followers
| followers
| PF2eDivineRank
| PF2eAlignment
| PF2eDivineAbility
| PF2eDivineFont
| PF2eDivineSanctification
| PF2eDivineSkill
| PF2eFavoredWeapons
| PF2eDomains
| PF2eAlternateDomains
| PF2eClericSpells
| DnD5eDivineRank
| DnD5eAlignment
| DnD5eDomains
| setting
| setting
}}
}}
<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}}
Line 86: Line 101:
"alignment": {
"alignment": {
"label": "Alignment",
"label": "Alignment",
"description": "alignment of the deity and their followers",
"description": "link to the category page of the alignment of the deity and their followers",
"type": "string",
"type": "wiki-page-name",
"required": true
"required": true,
"example": "[[:Category:Lawful Good Deities|Lawful Good]]"
},
},
"domains": {
"domains": {
"label": "Domains",
"label": "Domains",
"description": "list of the deities domains",
"description": "list of the deities domains, and a link to the domain category page",
"type": "string",
"type": "wiki-page-name",
"required": true
"required": true,
"example": "[[:Category:Arcana Deities|Arcana]]"
},
},
"power": {
"power": {
Line 110: Line 127:
"homeplane": {
"homeplane": {
"label": "Homeplane",
"label": "Homeplane",
"description": "the homeplane of the deity",
"description": "link to the homeplane of the deity",
"type": "string"
"type": "wiki-page-name"
},
},
"followers": {
"followers": {
"label": "Followers",
"label": "Followers",
"description": "who worships the deity",
"description": "list of peoples who worships the deity",
"type": "string"
"type": "string"
},
},
"setting": {
"setting": {
"label": "Setting",
"label": "Setting",
"description": "the setting where the deity resides",
"description": "link to the setting where the deity resides",
"type": "string"
"type": "wiki-page-name"
}
},
"PF2eDivineRank": {},
"PF2eAlignment": {},
"PF2eDivineAbility": {},
"PF2eDivineFont": {},
"PF2eDivineSanctification": {},
"PF2eDivineSkill": {},
"PF2eFavoredWeapons": {},
"PF2eDomains": {},
"PF2eAlternateDomains": {},
"PF2eClericSpells": {},
"DnD5eDivineRank": {},
"DnD5eAlignment": {},
"DnD5eDomains": {}
},
},
"maps": {
"maps": {