Template:Quote race: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(Finished exhaustive list. Some portraits need to be added)
(Corrected mummy link)
 
(6 intermediate revisions by 2 users not shown)
Line 157: Line 157:
| {{{image|{{#switch:{{{1|}}}
| {{{image|{{#switch:{{{1|}}}
| Human = Race Human.png
| Human = Race Human.png
| Elf | High Elf | Wood Elf = Race Elf.png
| Elf = Race Elf.png
| Drow | Lolth-Sworn Drow | Seldarine Drow = Race Drow.png
| High Elf = Race High Elf.png
| Dwarf | Gold Dwarf | Shield Dwarf | Duergar = Race Dwarf.png
| Wood Elf = Race Wood Elf.png
| Half-Elf | High Half-Elf | Wood Half-Elf | Drow Half-Elf = Race Half-Elf.png
| Drow = Race Drow.png
| Gnome | Rock Gnome | Deep Gnome | Forest Gnome = Race Gnome.png
| Lolth-Sworn Drow = Race Lolth-Sworn Drow.png
| Halfling | Lightfoot Halfling | Strongheart Halfling = Race Halfling.png
| Seldarine Drow = Race Seldarine Drow.png
| Tiefling | Asmodeus Tiefling | Mephistopheles Tiefling | Zariel Tiefling = Race Tiefling.png
| Dwarf = Race Dwarf.png
| Gold Dwarf = Race Gold Dwarf.png
| Shield Dwarf = Race Shield Dwarf.png
| Duergar = Race Duergar.png
| Half-Elf = Race Half-Elf.png
| High Half-Elf = Race High Half-Elf.png
| Wood Half-Elf = Race Wood Half-Elf.png
| Drow Half-Elf = Race Drow Half-Elf.png
| Gnome = Race Gnome.png
| Rock Gnome = Race Rock Gnome.png
| Deep Gnome = Race Deep Gnome.png
| Forest Gnome = Race Forest Gnome.png
| Halfling = Race Halfling.png
| Lightfoot Halfling = Race Lightfoot Halfling.png
| Strongheart Halfling = Race Strongheart Halfling.png
| Tiefling = Race Tiefling.png
| Asmodeus Tiefling = Race Asmodeus Tiefling.png
| Mephistopheles Tiefling = Race Mephistopheles Tiefling.png
| Zariel Tiefling = Race Zariel Tiefling.png
| Githyanki = Race Githyanki.png
| Githyanki = Race Githyanki.png
| Dragonborn | Black Dragonborn | Blue Dragonborn | Brass Dragonborn | Bronze Dragonborn | Copper Dragonborn | Gold Dragonborn | Green Dragonborn | Red Dragonborn | Silver Dragonborn | White Dragonborn = Race Dragonborn.png
| Dragonborn = Race Dragonborn.png
| Black Dragonborn = Race Black Dragonborn.png
| Blue Dragonborn = Race Blue Dragonborn.png
| Brass Dragonborn = Race Brass Dragonborn.png
| Bronze Dragonborn = Race Bronze Dragonborn.png
| Copper Dragonborn = Race Copper Dragonborn.png
| Gold Dragonborn = Race Gold Dragonborn.png
| Green Dragonborn = Race Green Dragonborn.png
| Red Dragonborn = Race Red Dragonborn.png
| Silver Dragonborn = Race Silver Dragonborn.png
| White Dragonborn = Race White Dragonborn.png
| Half-Orc = Race Half-Orc.png
| Half-Orc = Race Half-Orc.png
| #default = Portrait {{{1|}}}.png
| #default = Portrait {{{1|}}}.png
}}}}}}}
}}}}}}}
| image-position = {{{image-position|left}}}
| image-position = {{{image-position|left}}}
| height = 120
| height = {{{height|100}}}
| font-size = 110%
| font-size = 110%
| image-border-shape = rounded
| image-border-shape = rounded
| link = {{{1|}}}
| link = {{#if:{{{nolink|}}}||{{{link|{{{1|}}}}}}}}
| align = {{{align|center}}}
| image-align = edge
| author = {{#if:{{{noattribution|}}}||In-game racial description}}
| author = {{#if:{{{noattribution|}}}||In-game racial description}}
}}}}</includeonly><noinclude>{{documentation|content=
}}}}</includeonly><noinclude>{{documentation|content=
Line 204: Line 232:
| quote = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| quote = Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
| image = Background Hermit Icon.png
| image = Background Hermit Icon.png
| height = 80
}}
}}
</nowiki>
</nowiki>
Line 210: Line 239:
== Exhaustive list ==
== Exhaustive list ==
=== Playable races ===
=== Playable races ===
{{Quote race|Human|align=left}}
{{Quote race|Human}}
{{Quote race|Elf|align=left}}
{{Quote race|Elf}}
{{Quote race|High Elf|align=left}}
{{Quote race|High Elf}}
{{Quote race|Wood Elf|align=left}}
{{Quote race|Wood Elf}}
{{Quote race|Drow|align=left}}
{{Quote race|Drow}}
{{Quote race|Lolth-Sworn Drow|align=left}}
{{Quote race|Lolth-Sworn Drow}}
{{Quote race|Seldarine Drow|align=left}}
{{Quote race|Seldarine Drow}}
{{Quote race|Dwarf|align=left}}
{{Quote race|Dwarf}}
{{Quote race|Gold Dwarf|align=left}}
{{Quote race|Gold Dwarf}}
{{Quote race|Shield Dwarf|align=left}}
{{Quote race|Shield Dwarf}}
{{Quote race|Duergar|align=left}}
{{Quote race|Duergar}}
{{Quote race|Half-Elf|align=left}}
{{Quote race|Half-Elf}}
{{Quote race|High Half-Elf|align=left}}
{{Quote race|High Half-Elf}}
{{Quote race|Wood Half-Elf|align=left}}
{{Quote race|Wood Half-Elf}}
{{Quote race|Drow Half-Elf|align=left}}
{{Quote race|Drow Half-Elf}}
{{Quote race|Gnome|align=left}}
{{Quote race|Gnome}}
{{Quote race|Rock Gnome|align=left}}
{{Quote race|Rock Gnome}}
{{Quote race|Deep Gnome|align=left}}
{{Quote race|Deep Gnome}}
{{Quote race|Forest Gnome|align=left}}
{{Quote race|Forest Gnome}}
{{Quote race|Halfling|align=left}}
{{Quote race|Halfling}}
{{Quote race|Lightfoot Halfling|align=left}}
{{Quote race|Lightfoot Halfling}}
{{Quote race|Strongheart Halfling|align=left}}
{{Quote race|Strongheart Halfling}}
{{Quote race|Tiefling|align=left}}
{{Quote race|Tiefling}}
{{Quote race|Asmodeus Tiefling|align=left}}
{{Quote race|Asmodeus Tiefling}}
{{Quote race|Mephistopheles Tiefling|align=left}}
{{Quote race|Mephistopheles Tiefling}}
{{Quote race|Zariel Tiefling|align=left}}
{{Quote race|Zariel Tiefling}}
{{Quote race|Githyanki|align=left}}
{{Quote race|Githyanki}}
{{Quote race|Dragonborn|align=left}}
{{Quote race|Dragonborn}}
{{Quote race|Black Dragonborn|align=left}}
{{Quote race|Black Dragonborn}}
{{Quote race|Blue Dragonborn|align=left}}
{{Quote race|Blue Dragonborn}}
{{Quote race|Brass Dragonborn|align=left}}
{{Quote race|Brass Dragonborn}}
{{Quote race|Bronze Dragonborn|align=left}}
{{Quote race|Bronze Dragonborn}}
{{Quote race|Copper Dragonborn|align=left}}
{{Quote race|Copper Dragonborn}}
{{Quote race|Gold Dragonborn|align=left}}
{{Quote race|Gold Dragonborn}}
{{Quote race|Green Dragonborn|align=left}}
{{Quote race|Green Dragonborn}}
{{Quote race|Red Dragonborn|align=left}}
{{Quote race|Red Dragonborn}}
{{Quote race|Silver Dragonborn|align=left}}
{{Quote race|Silver Dragonborn}}
{{Quote race|White Dragonborn|align=left}}
{{Quote race|White Dragonborn}}
{{Quote race|Half-Orc|align=left}}
{{Quote race|Half-Orc}}


=== Non-playable races ===
=== Non-playable races ===
==== Aberrations ====
==== Aberrations ====
{{Quote race|Aberration|align=left}}
{{Quote race|Aberration}}
{{Quote race|Beholder|align=left}}
{{Quote race|Beholder}}
{{Quote race|Mind Flayer|align=left}}
{{Quote race|Mind Flayer}}
{{Quote race|Phasm|align=left}}
{{Quote race|Phasm}}


==== Beasts ====
==== Beasts ====
{{Quote race|Beast|align=left}}
{{Quote race|Beast}}
{{Quote race|Alioramus|align=left}}
{{Quote race|Alioramus}}
{{Quote race|Badger|align=left}}
{{Quote race|Badger}}
{{Quote race|Bat|align=left}}
{{Quote race|Bat}}
{{Quote race|Bear|align=left}}
{{Quote race|Bear}}
{{Quote race|Bird|align=left}}
{{Quote race|Bird}}
{{Quote race|Boar|align=left}}
{{Quote race|Boar}}
{{Quote race|Crab|align=left}}
{{Quote race|Crab}}
{{Quote race|Displacer Beast|align=left}}
{{Quote race|Displacer Beast}}
{{Quote race|Frog|align=left}}
{{Quote race|Frog}}
{{Quote race|Giant Eagle|align=left}}
{{Quote race|Giant Eagle}}
{{Quote race|Hyena|align=left}}
{{Quote race|Hyena}}
{{Quote race|Rat|align=left}}
{{Quote race|Rat}}
{{Quote race|Raven|align=left}}
{{Quote race|Raven}}
{{Quote race|Spider|align=left}}
{{Quote race|Spider}}
{{Quote race|Wolf|align=left}}
{{Quote race|Wolf}}


==== Celestials ====
==== Celestials ====
{{Quote race|Celestial|align=left}}
{{Quote race|Celestial}}
{{Quote race|Aasimar|align=left}}
{{Quote race|Aasimar}}
{{Quote race|Hollyphant|align=left}}
{{Quote race|Hollyphant}}


==== Constructs ====
==== Constructs ====
{{Quote race|Construct|align=left}}
{{Quote race|Construct}}
{{Quote race|Animated Armour|align=left}}
{{Quote race|Animated Armour}}
{{Quote race|Automaton|align=left}}
{{Quote race|Automaton}}
{{Quote race|Coin Halberd|align=left}}
{{Quote race|Conjured Spectre}}
{{Quote race|Flesh Golem|align=left}}
{{Quote race|Coin Halberd}}
{{Quote race|Golem|align=left}}
{{Quote race|Flesh Golem}}
{{Quote race|Scrying Eye|align=left}}
{{Quote race|Golem}}
{{Quote race|Steel Watcher|align=left}}
{{Quote race|Scrying Eye}}
{{Quote race|Steel Watcher}}


==== Elementals ====
==== Elementals ====
{{Quote race|Elemental|align=left}}
{{Quote race|Elemental}}
{{Quote race|Azer|align=left}}
{{Quote race|Azer}}
{{Quote race|Lava Elemental|align=left}}
{{Quote race|Lava Elemental}}
{{Quote race|Mud Elemental|align=left}}
{{Quote race|Mephit}}
{{Quote race|Mud Elemental}}


==== Dragons ====
==== Dragons ====
{{Quote race|Dragon|align=left}}
{{Quote race|Dragon}}


==== Fey ====
==== Fey ====
{{Quote race|Fey|align=left}}
{{Quote race|Fey}}
{{Quote race|Blink Dog|align=left}}
{{Quote race|Blink Dog}}
{{Quote race|Hag|align=left}}
{{Quote race|Hag}}
{{Quote race|Meenlock|align=left}}
{{Quote race|Meenlock}}
{{Quote race|Redcap|align=left}}
{{Quote race|Redcap}}


==== Giants ====
==== Giants ====
{{Quote race|Giant|align=left}}
{{Quote race|Giant}}
{{Quote race|Ogre|align=left}}
{{Quote race|Ogre}}


==== Humanoids ====
==== Humanoids ====
{{Quote race|Humanoid}}
{{Quote race|Humanoid}}
{{Quote race|Bugbear|align=left}}
{{Quote race|Bugbear}}
{{Quote race|Gnoll|align=left}}
{{Quote race|Gnoll}}
{{Quote race|Gnoll Flind|align=left}}
{{Quote race|Gnoll Flind}}
{{Quote race|Goblin|align=left}}
{{Quote race|Goblin}}
{{Quote race|Hobgoblin|align=left}}
{{Quote race|Hobgoblin}}
{{Quote race|Kobold|align=left}}
{{Quote race|Kobold}}
{{Quote race|Kuo-Toa|align=left}}
{{Quote race|Kuo-Toa}}
{{Quote race|Meazel|align=left}}
{{Quote race|Meazel}}
{{Quote race|Shadar-Kai|align=left}}
{{Quote race|Shadar-Kai}}
{{Quote race|Werewolf|align=left}}
{{Quote race|Werewolf}}


==== Monstrosities ====
==== Monstrosities ====
{{Quote race|Monstrosity|align=left}}
{{Quote race|Monstrosity}}
{{Quote race|Bulette|align=left}}
{{Quote race|Bulette}}
{{Quote race|Cloaker|align=left}}
{{Quote race|Cloaker}}
{{Quote race|Doppelganger|align=left}}
{{Quote race|Doppelganger}}
{{Quote race|Drider|align=left}}
{{Quote race|Drider}}
{{Quote race|Ettercap|align=left}}
{{Quote race|Ettercap}}
{{Quote race|Gremishka|align=left}}
{{Quote race|Gremishka}}
{{Quote race|Harpy|align=left}}
{{Quote race|Harpy}}
{{Quote race|Hook Horror|align=left}}
{{Quote race|Hook Horror}}
{{Quote race|Phase Spider|align=left}}
{{Quote race|Phase Spider}}
{{Quote race|Tressym|align=left}}
{{Quote race|Tressym}}


==== Oozes ====
==== Oozes ====
{{Quote race|Ooze|align=left}}
{{Quote race|Ooze}}


==== Plants ====
==== Plants ====
{{Quote race|Plant|align=left}}
{{Quote race|Plant}}
{{Quote race|Blight|align=left}}
{{Quote race|Blight}}
{{Quote race|Myconid|align=left}}
{{Quote race|Myconid}}
{{Quote race|Shambling Mound|align=left}}
{{Quote race|Shambling Mound}}


==== Fiends ====
==== Fiends ====
{{Quote race|Fiend|align=left}}
{{Quote race|Fiend}}
{{Quote race|Butler of Bhaal|align=left}}
{{Quote race|Butler of Bhaal}}
{{Quote race|Cambion|align=left}}
{{Quote race|Cambion}}
{{Quote race|Devil|align=left}}
{{Quote race|Devil}}
{{Quote race|Hellsboar|align=left}}
{{Quote race|Hellsboar}}
{{Quote race|Mephit|align=left}}
{{Quote race|Imp}}
{{Quote race|Merregon|align=left}}
{{Quote race|Incubus}}
{{Quote race|Succubus|align=left}}
{{Quote race|Merregon}}
{{Quote race|Vengeful Boar|align=left}}
{{Quote race|Raphaelian Merregon}}
{{Quote race|Vengeful Cambion|align=left}}
{{Quote race|Succubus}}
{{Quote race|Vengeful Imp|align=left}}
{{Quote race|Vengeful Boar}}
{{Quote race|Vengeful Cambion}}
{{Quote race|Vengeful Imp}}


==== Undead ====
==== Undead ====
{{Quote race|Undead|align=left}}
{{Quote race|Undead}}
{{Quote race|Conjured Spectre|align=left}}
{{Quote race|Crawling Claw}}
{{Quote race|Crawling Claw|align=left}}
{{Quote race|Dark Justiciar}}
{{Quote race|Dark Justiciar|align=left}}
{{Quote race|Death Knight}}
{{Quote race|Death Knight|align=left}}
{{Quote race|Flying Ghoul}}
{{Quote race|Flying Ghoul|align=left}}
{{Quote race|Ghast}}
{{Quote race|Ghast|align=left}}
{{Quote race|Ghost}}
{{Quote race|Ghost|align=left}}
{{Quote race|Ghoul}}
{{Quote race|Ghoul|align=left}}
{{Quote race|Grim Visage}}
{{Quote race|Grim Visage|align=left}}
{{Quote race|Mummy|image=Portrait Mummy (race).png|link=Mummy (race)}}
{{Quote race|Imp|align=left}}
{{Quote race|Mummy Lord}}
{{Quote race|Incubus|align=left}}
{{Quote race|Shadow}}
{{Quote race|Mummy|align=left}}
{{Quote race|Shadow Mastiff}}
{{Quote race|Mummy Lord|align=left}}
{{Quote race|Skeleton}}
{{Quote race|Raphaelian Merregon|align=left}}
{{Quote race|Undead Dragon}}
{{Quote race|Shadow|align=left}}
{{Quote race|Vampire}}
{{Quote race|Shadow Mastiff|align=left}}
{{Quote race|Vampire Spawn}}
{{Quote race|Skeleton|align=left}}
{{Quote race|Wraith}}
{{Quote race|Undead Dragon|align=left}}
{{Quote race|Zombie}}
{{Quote race|Vampire|align=left}}
{{Quote race|Vampire Spawn|align=left}}
{{Quote race|Wraith|align=left}}
{{Quote race|Zombie|align=left}}


== Template data ==
== Template data ==
Line 410: Line 439:
             "description": "Disable the \"In-game racial description\" attribution text.",
             "description": "Disable the \"In-game racial description\" attribution text.",
             "type": "boolean"
             "type": "boolean"
        },
        "align": {
            "label": "Alignment override",
            "description": "Override the alignment from the default centered position",
            "type": "string",
            "default": "center",
            "suggestedvalues": ["center", "left", "right"]
         },
         },
         "image-position": {
         "image-position": {
Line 424: Line 446:
             "default": "right",
             "default": "right",
             "suggestedvalues": ["right", "left"]
             "suggestedvalues": ["right", "left"]
        },
        "height": {
            "label": "Image height override",
            "description": "Override the image height from its default of 100px.",
            "type": "number",
            "default": "100"
        },
        "link": {
            "label": "Link override",
            "description": "Override where clicking the image links to.",
            "type": "wiki-page-name"
        },
        "nolink": {
            "label": "Disable link",
            "description": "Entirely remove the link. This is the same as setting \"link=\". For use with cut backgrounds that don't have dedicated pages.",
            "type": "boolean"
         }
         }
},
},

Latest revision as of 21:52, 4 November 2024

Template documentation

Display a race description quote accompanied by the corresponding icon.

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

Usage

This template has a table of all the race quotes in the game extracted directly from the game files so the only required parameter is the name of the race. On the race pages themselves, you can use {{PAGENAME}} as the parameter to this template. For the image, it uses Race <race>.png which exist for the player-selectable races and falls back to Portrait <race>.png for everything else.

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

Examples

Playable race example.

Markup
{{Quote race|Human}}
Renders as

Disable attribution text.

Markup
{{Quote race|Copper Dragonborn|noattribution=1}}
Renders as

Non-playable race example which falls back to using Portrait Meenlock.png for the image.

Markup
{{Quote race|Meenlock}}
Renders as

Non-playable race example with a specified portrait.

Markup
{{Quote race|Humanoid|image=Portrait Custom.png}}
Renders as

No image.

Markup
{{Quote race|Cambion|image=none}}
Renders as

A custom quote with a custom image.

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

Exhaustive list

Playable races

Non-playable races

Aberrations

Beasts

Celestials

Constructs

Elementals

Dragons

Fey

Giants

Humanoids

Monstrosities

Oozes

Plants

Fiends

Undead

Template data

Display a race quote

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Race1

The name of a race. When used on a race page, you can use {{PAGENAME}} for this parameter. Aside from the player-selectable races, there are description quotes for every race defined 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 race icons corresponding the player-selectable races so you will need to specify an icon for other races. Typically this will be a portrait image.

Example
Portrait Owlbear.png
Filesuggested
Disable attributionnoattribution

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

Booleanoptional
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