Template:Deity

From bg3.wiki
Jump to navigation Jump to search
Template documentation

Insert a link to one of the deities accompanied by the associated icon.

Usage

Alert Icon.png Use icon links, and especially portrait overrides, only when called for by the style guide

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 bhaal).

This page has associated maintanence categories:

Examples

Example Markup Renders as
Basic usage
{{Deity|Lathander}}
LathanderLathander
Adjusted icon size
{{Deity|Lolth|w=40}}
LolthLolth
Link alias
{{Deity|Selûne|Selune}}
SeluneSelune
Alias and adjusted size
{{Deity|Shar|Goddess of Darkness and Loss|w=20}}
Goddess of Darkness and LossGoddess of Darkness and Loss
Helm, Bane (special-cases)
{{Deity|Helm}}, {{Deity|Bane}}
HelmHelm, BaneBane
Portrait usage
{{Deity|Shar|portrait}}
SharShar
Missing image
{{Deity|Jergal}}
Jergal

See also

Variants

  • {{MdDeity}} - sets the default size to 30 instead of 25

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Deity name1

The name of the deity. This is case sensitive.

Suggested values
Selune Selûne Shar Tempus Tyr Helm Ilmater Mystra Oghma Kelemvor Moradin Corellon Larethian Garl Glittergold Yondalla Lolth Laduguer Vlaakith Eilistraee Lathander Talos Tymora Mielikki Bahamut Gruumsh Tiamat
Stringrequired
alias OR portrait2

This parameter is either used to specify the portrait format or to provide alternative text for the link.

Suggested values
portrait
Stringoptional
alias3

If the second parameter was "portrait", this parameter is instead used for the alias.

Stringoptional
Widthw

Override the width of the image.

Numberoptional
Heighth

Override the height of the image.

Numberoptional
Sizesize

Set the size of the image to this by this.

Numberoptional