Template:Deity: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) (Created page with "<includeonly>{{#switch:{{{1|}}} | Selune | Selûne | Shar | Tempus | Tyr | Helm | Ilmater | Mystra | Oghma | Kelemvor | Moradin | Corellon Larethian | Garl Glittergold | Yondalla | Lolth | Laduguer | Vlaakith | Eilistraee | Lathander | Talos | Mielikki <!-- The following are from SharedDev/Gods --> | Bahamut | Gruumsh | Tiamat = {{IconLink|{{{1}}} Icon.png|{{{1}}}|{{{2|{{{1}}}}}}|size={{{w|25}}}|nowrap=y}} | #default = [[{{{1}}}|{{{2|{{{1}}}}}}]] }}</includeonly><noinclu...") |
HiddenDragon (talk | contribs) mNo edit summary |
||
Line 36: | Line 36: | ||
| style = table | | style = table | ||
| caption 1 = Basic usage | | caption 1 = Basic usage | ||
| <nowiki>{{Deity| | | <nowiki>{{Deity|Lathander}}</nowiki> | ||
| caption 2 = Adjusted icon size | | caption 2 = Adjusted icon size | ||
| <nowiki>{{Deity|Lolth|w=40}}</nowiki> | | <nowiki>{{Deity|Lolth|w=40}}</nowiki> | ||
| caption 3 = Link alias | | caption 3 = Link alias | ||
| <nowiki>{{Deity| | | <nowiki>{{Deity|Selûne|Selune}}</nowiki> | ||
| caption 4 = Alias and adjusted size | | caption 4 = Alias and adjusted size | ||
| <nowiki>{{Deity|Shar|Goddess of Darkness and Loss|w=20}}</nowiki> | | <nowiki>{{Deity|Shar|Goddess of Darkness and Loss|w=20}}</nowiki> |
Latest revision as of 21:41, 29 July 2024
Template documentation
Insert a link to one of the deities accompanied by the associated icon.
Usage
This is intended mainly for lists, not in-line in body content as per the Style Manual. The deity name is case sensitive and needs to exactly match (e.g. Bhaal, not ).
Examples
Example | Markup | Renders as |
---|---|---|
Basic usage | {{Deity|Lathander}} | |
Adjusted icon size | {{Deity|Lolth|w=40}} | |
Link alias | {{Deity|Selûne|Selune}} | |
Alias and adjusted size | {{Deity|Shar|Goddess of Darkness and Loss|w=20}} |
See also
- {{Ability}} - An equivalent template for ability scores
- {{Background}} - An equivalent template for backgrounds
- {{Class}} - An equivalent template for classes
- {{Race}} - An equivalent template for races
- {{Skill}} - An equivalent template for skills
Template data
Insert a link to a deity accompanied by the associated icon. For use in lists and similar contexts only. This should not be used inline in the body of a paragraph as per the style manual. In those cases, use a normal link instead.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Deity name | 1 | The name of the deity. This is case sensitive.
| String | required |
Alias | 2 | A user-defined alias to be shown instead of the deity name. | String | optional |
Icon size | w | The pixel size of the accompanying icon. | Number | optional |