Template:Quote deity: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{NoExcerpt|{{Quote fancy | quote = {{{quote|{{#switch: {{trim|{{{1|}}}}} <!-- Quotes extracted from patch 6 game files --> | Selune | Selûne = The Lady of Silver presides over the moon, stars, and navigation. Her power over the heavens is constantly challenged by her sister Shar, who seeks to plunge the world into eternal shadow. | Shar = As the greater deity of darkness, Shar is feared for her power over the night, secrets, and loss. She is locked in eter...")
 
(optional author param)
 
(2 intermediate revisions by one other user not shown)
Line 22: Line 22:
| Talos = Talos represents the uncaring and destructive force of nature. His followers see life as a set of random effects in a sea of chaos, and take what they can - for who can say when Talos will strike next?
| Talos = Talos represents the uncaring and destructive force of nature. His followers see life as a set of random effects in a sea of chaos, and take what they can - for who can say when Talos will strike next?
| Mielikki = Mielikki is the goddess of forests and the creatures that live within them. She is a remote and spiritual deity, often spoken of in but the quietest of forests.
| Mielikki = Mielikki is the goddess of forests and the creatures that live within them. She is a remote and spiritual deity, often spoken of in but the quietest of forests.
<!-- The following are from SharedDev/Gods -->
| Bahamut = The Angel of the Seven Heavens is the dragon god of justice. His ideals of mercy and just authority keep him locked in an inexorable rivalry with his sister, Tiamat.
| Gruumsh = The One-Eye is the orcs' patron deity - a god of war, conquest, and victory at all costs. He has held an ancient and immutable grudge against the elven pantheon since Corellon Larethian took his eye.
| Tiamat = Tiamat the Many-Mawed is a roiling mass of avarice and hate currently trapped within the Nine Hells. The dragon god of greed eternally plots her escape, as do her many fanatics in world of Toril.
}}}}}
}}}}}
| image = {{#ifeq: {{{image|}}}|none|
| image = {{#ifeq: {{{image|}}}|none|
Line 46: Line 50:
| Talos
| Talos
| Mielikki
| Mielikki
<!-- The following are from SharedDev/Gods -->
| Bahamut
| Gruumsh
| Tiamat
| #default = {{{1|}}} Icon.png
| #default = {{{1|}}} Icon.png
}}}}}}}
}}}}}}}
Line 54: Line 62:
| link = {{#if:{{{nolink|}}}||{{{link|{{{1|}}}}}}}}
| link = {{#if:{{{nolink|}}}||{{{link|{{{1|}}}}}}}}
| image-align = edge
| image-align = edge
| author = {{#if:{{{noattribution|}}}||In-game racial description}}
| author = {{#if:{{{noattribution|}}}||{{{author|In-game deity description}}}}}
}}}}</includeonly><noinclude>{{documentation|content=
}}}}</includeonly><noinclude>{{documentation|content=
Display a [[deity]] description quote accompanied by the corresponding icon.
Display a [[deity]] description quote accompanied by the corresponding icon.
Line 63: Line 71:
This template has a table of all the deity quotes (including Vlaakith) in the game extracted directly from the game files so the only required parameter is the name of the deity. On the deity pages themselves, you can use {{c|<nowiki>{{PAGENAME}}</nowiki>}} as the parameter to this template. For the image, it uses {{c|<deity> Icon.png}} which exist for the player-selectable deities.
This template has a table of all the deity quotes (including Vlaakith) in the game extracted directly from the game files so the only required parameter is the name of the deity. On the deity pages themselves, you can use {{c|<nowiki>{{PAGENAME}}</nowiki>}} as the parameter to this template. For the image, it uses {{c|<deity> Icon.png}} which exist for the player-selectable deities.


Alternatively, the quote and image can be overridden with the parameters {{c|quote}} and {{c|image}}. The option {{c|1=image = none}} may be preferred for races without dedicated icons.
Alternatively, the quote and image can be overridden with the parameters {{c|quote}} and {{c|image}}. The option {{c|1=image = none}} may be preferred for deities without dedicated icons.


== Examples ==
== Examples ==
Line 72: Line 80:
| caption 2 = Disable attribution text.
| caption 2 = Disable attribution text.
| <nowiki>{{Quote deity|Shar|noattribution=1}}</nowiki>
| <nowiki>{{Quote deity|Shar|noattribution=1}}</nowiki>
| caption 4 = Non-playable race example with a specified portrait.
| caption 4 = Deity example with a specified portrait.
| <nowiki>{{Quote deity|Tyr|image=Tyr Statue.webp}}</nowiki>
| <nowiki>{{Quote deity|Tyr|image=Tyr Statue.webp}}</nowiki>
| caption 5 = No image.
| caption 5 = No image.
Line 107: Line 115:
{{Quote deity|Talos}}
{{Quote deity|Talos}}
{{Quote deity|Mielikki}}
{{Quote deity|Mielikki}}
{{Quote deity|Bahamut}}
{{Quote deity|Gruumsh}}
{{Quote deity|Tiamat}}


== Template data ==
== Template data ==
Line 135: Line 146:
             "description": "Disable the \"In-game deity description\" attribution text.",
             "description": "Disable the \"In-game deity description\" attribution text.",
             "type": "boolean"
             "type": "boolean"
        },
        "author": {
            "label": "Author override",
            "description": "Replace the \"In-game deity description\" attribution text.",
            "type": "string"
         },
         },
         "image-position": {
         "image-position": {

Latest revision as of 18:31, 30 July 2024

Template documentation

Display a deity description quote accompanied by the corresponding icon.

This template is a subtype of {{Quote fancy}}.

Usage

This template has a table of all the deity quotes (including Vlaakith) in the game extracted directly from the game files so the only required parameter is the name of the deity. On the deity pages themselves, you can use {{PAGENAME}} as the parameter to this template. For the image, it uses <deity> Icon.png which exist for the player-selectable deities.

Alternatively, the quote and image can be overridden with the parameters quote and image. The option image = none may be preferred for deities without dedicated icons.

Examples

Deity example.

Markup
{{Quote deity|Selune}}
Renders as

Disable attribution text.

Markup
{{Quote deity|Shar|noattribution=1}}
Renders as
Markup
{{Quote deity|Tyr|image=Tyr Statue.webp}}
Renders as

Deity example with a specified portrait.

Markup
{{Quote deity|Helm|image=none}}
Renders as

No image.

Markup
{{Quote deity
| quote = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| image = Vlaakith-thumbnail.png
| height = 80
}}
Renders as

Exhaustive list

Template data

Display a deity quote

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Deity1

The name of a deity. When used on a deity page, you can use {{PAGENAME}} for this parameter. There are description quotes for every player-selectable deity in the game

Stringrequired
Quote overridequote

Use this parameter to specify a custom quote instead of a predefined one.

Stringoptional
Image overrideimage

Use this parameter to specify a custom icon instead of a predefined one. There are only deity icons corresponding to the player-selectable deities so you will need to specify an icon for other deities. Typically this will be a portrait image.

Example
Portrait Owlbear.png
Filesuggested
Disable attributionnoattribution

Disable the "In-game deity description" attribution text.

Booleanoptional
Author overrideauthor

Replace the "In-game deity description" attribution text.

Stringoptional
Image position overrideimage-position

Override the image position from its default position on the right.

Suggested values
right left
Default
right
Stringoptional
Image height overrideheight

Override the image height from its default of 100px.

Default
100
Numberoptional
Link overridelink

Override where clicking the image links to.

Page nameoptional
Disable linknolink

Entirely remove the link. This is the same as setting "link=". For use with cut backgrounds that don't have dedicated pages.

Booleanoptional