Template:DeityBox: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<templatestyles src="InfoBox/styles.css" /> | |||
<div class="infobox"> | <div class="infobox"> | ||
<div class="infobox-title ib-deity">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | <div class="infobox-title ib-deity">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| | ||
| Line 25: | Line 26: | ||
</table> | </table> | ||
</div> | </div> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"description": "An infobox for deities and other divine entities, displaying their titles, holy symbols, alignments, portfolios, and favored weapons, shown at the top right of the page.", | |||
"format": "block", | |||
"params": { | |||
"title": { | |||
"label": "Name", | |||
"description": "The name of the deity. Defaults to the current page title if omitted.", | |||
"type": "string", | |||
"default": "{{PAGENAME}}", | |||
"suggested": true | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "The filename of an image representing the deity or their holy symbol (e.g., HolySymbol.jpg). Do not include the 'File:' prefix.", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"Title": { | |||
"label": "Titles", | |||
"description": "The titles, epithets, or honorifics of the deity (e.g., The Dawnbringer).", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"Symbol": { | |||
"label": "Symbol", | |||
"description": "The holy symbol, icon, or sacred representation of the deity.", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"Alignment": { | |||
"label": "Alignment", | |||
"description": "The ethical and moral alignment of the deity (e.g., Chaotic Good, Lawful Neutral).", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"Portfolio": { | |||
"label": "Portfolio", | |||
"description": "The domains, concepts, or aspects governed by the deity (e.g., Magic, Death).", | |||
"type": "content", | |||
"suggested": true | |||
}, | |||
"Favored weapon": { | |||
"label": "Favored Weapon", | |||
"description": "The signature or preferred weapon of the deity.", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> | |||
Latest revision as of 16:35, 16 July 2026
An infobox for deities and other divine entities, displaying their titles, holy symbols, alignments, portfolios, and favored weapons, shown at the top right of the page.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | title | The name of the deity. Defaults to the current page title if omitted.
| String | suggested |
| Image | image | The filename of an image representing the deity or their holy symbol (e.g., HolySymbol.jpg). Do not include the 'File:' prefix. | File | suggested |
| Titles | Title | The titles, epithets, or honorifics of the deity (e.g., The Dawnbringer). | Content | suggested |
| Symbol | Symbol | The holy symbol, icon, or sacred representation of the deity. | Content | suggested |
| Alignment | Alignment | The ethical and moral alignment of the deity (e.g., Chaotic Good, Lawful Neutral). | String | suggested |
| Portfolio | Portfolio | The domains, concepts, or aspects governed by the deity (e.g., Magic, Death). | Content | suggested |
| Favored Weapon | Favored weapon | The signature or preferred weapon of the deity. | String | optional |