Template:Quote race: Difference between revisions
m (Removed duplicates from switch statement) |
(Corrected mummy link) |
||
(7 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 | | 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 = | | height = {{{height|100}}} | ||
| font-size = 110% | | font-size = 110% | ||
| image-border-shape = rounded | | image-border-shape = rounded | ||
| link = {{{ | | link = {{#if:{{{nolink|}}}||{{{link|{{{1|}}}}}}}} | ||
| | | 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 | {{Quote race|Human}} | ||
{{Quote race|Elf | {{Quote race|Elf}} | ||
{{Quote race|High Elf | {{Quote race|High Elf}} | ||
{{Quote race|Wood Elf | {{Quote race|Wood Elf}} | ||
{{Quote race|Drow | {{Quote race|Drow}} | ||
{{Quote race|Lolth-Sworn Drow | {{Quote race|Lolth-Sworn Drow}} | ||
{{Quote race|Seldarine Drow | {{Quote race|Seldarine Drow}} | ||
{{Quote race|Dwarf | {{Quote race|Dwarf}} | ||
{{Quote race|Gold Dwarf | {{Quote race|Gold Dwarf}} | ||
{{Quote race|Shield Dwarf | {{Quote race|Shield Dwarf}} | ||
{{Quote race|Duergar | {{Quote race|Duergar}} | ||
{{Quote race|Half-Elf | {{Quote race|Half-Elf}} | ||
{{Quote race|High Half-Elf | {{Quote race|High Half-Elf}} | ||
{{Quote race|Wood Half-Elf | {{Quote race|Wood Half-Elf}} | ||
{{Quote race|Drow Half-Elf | {{Quote race|Drow Half-Elf}} | ||
{{Quote race|Gnome | {{Quote race|Gnome}} | ||
{{Quote race|Rock Gnome | {{Quote race|Rock Gnome}} | ||
{{Quote race|Deep Gnome | {{Quote race|Deep Gnome}} | ||
{{Quote race|Forest Gnome | {{Quote race|Forest Gnome}} | ||
{{Quote race|Halfling | {{Quote race|Halfling}} | ||
{{Quote race|Lightfoot Halfling | {{Quote race|Lightfoot Halfling}} | ||
{{Quote race|Strongheart Halfling | {{Quote race|Strongheart Halfling}} | ||
{{Quote race|Tiefling | {{Quote race|Tiefling}} | ||
{{Quote race|Asmodeus Tiefling | {{Quote race|Asmodeus Tiefling}} | ||
{{Quote race|Mephistopheles Tiefling | {{Quote race|Mephistopheles Tiefling}} | ||
{{Quote race|Zariel Tiefling| | {{Quote race|Zariel Tiefling}} | ||
{{Quote race| | {{Quote race|Githyanki}} | ||
{{Quote race|Dragonborn| | {{Quote race|Dragonborn}} | ||
{{Quote race| | {{Quote race|Black Dragonborn}} | ||
{{Quote race| | {{Quote race|Blue Dragonborn}} | ||
{{Quote race| | {{Quote race|Brass Dragonborn}} | ||
{{Quote race| | {{Quote race|Bronze Dragonborn}} | ||
{{Quote race| | {{Quote race|Copper Dragonborn}} | ||
{{Quote race| | {{Quote race|Gold Dragonborn}} | ||
{{Quote race| | {{Quote race|Green Dragonborn}} | ||
{{Quote race| | {{Quote race|Red Dragonborn}} | ||
{{Quote race| | {{Quote race|Silver Dragonborn}} | ||
{{Quote race| | {{Quote race|White Dragonborn}} | ||
{{Quote race| | {{Quote race|Half-Orc}} | ||
=== Non-playable races === | |||
==== Aberrations ==== | |||
{{Quote race|Aberration}} | |||
{{Quote race|Beholder}} | |||
{{Quote race|Mind Flayer}} | |||
{{Quote race|Phasm}} | |||
==== Beasts ==== | |||
{{Quote race|Beast}} | |||
{{Quote race|Alioramus}} | |||
{{Quote race|Badger}} | |||
{{Quote race|Bat}} | |||
{{Quote race|Bear}} | |||
{{Quote race|Bird}} | |||
{{Quote race|Boar}} | |||
{{Quote race|Crab}} | |||
{{Quote race|Displacer Beast}} | |||
{{Quote race|Frog}} | |||
{{Quote race|Giant Eagle}} | |||
{{Quote race|Hyena}} | |||
{{Quote race|Rat}} | |||
{{Quote race|Raven}} | |||
{{Quote race|Spider}} | |||
{{Quote race|Wolf}} | |||
==== Celestials ==== | |||
{{Quote race|Celestial}} | |||
{{Quote race|Aasimar}} | |||
{{Quote race|Hollyphant}} | |||
==== Constructs ==== | |||
{{Quote race|Construct}} | |||
{{Quote race|Animated Armour}} | |||
{{Quote race|Automaton}} | |||
{{Quote race|Conjured Spectre}} | |||
{{Quote race|Coin Halberd}} | |||
{{Quote race|Flesh Golem}} | |||
{{Quote race|Golem}} | |||
{{Quote race|Scrying Eye}} | |||
{{Quote race|Steel Watcher}} | |||
==== Elementals ==== | |||
{{Quote race|Elemental}} | |||
{{Quote race|Azer}} | |||
{{Quote race|Lava Elemental}} | |||
{{Quote race|Mephit}} | |||
{{Quote race|Mud Elemental}} | |||
==== Dragons ==== | |||
{{Quote race|Dragon}} | |||
==== Fey ==== | |||
{{Quote race|Fey}} | |||
{{Quote race|Blink Dog}} | |||
{{Quote race|Hag}} | |||
{{Quote race|Meenlock}} | |||
{{Quote race|Redcap}} | |||
==== Giants ==== | |||
{{Quote race|Giant}} | |||
{{Quote race|Ogre}} | |||
==== Humanoids ==== | |||
{{Quote race|Humanoid}} | |||
{{Quote race|Bugbear}} | |||
{{Quote race|Gnoll}} | |||
{{Quote race|Gnoll Flind}} | |||
{{Quote race|Goblin}} | |||
{{Quote race|Hobgoblin}} | |||
{{Quote race|Kobold}} | |||
{{Quote race|Kuo-Toa}} | |||
{{Quote race|Meazel}} | |||
{{Quote race|Shadar-Kai}} | |||
{{Quote race|Werewolf}} | |||
==== Monstrosities ==== | |||
{{Quote race|Monstrosity}} | |||
{{Quote race|Bulette}} | |||
{{Quote race|Cloaker}} | |||
{{Quote race|Doppelganger}} | |||
{{Quote race|Drider}} | |||
{{Quote race|Ettercap}} | |||
{{Quote race|Gremishka}} | |||
{{Quote race|Harpy}} | |||
{{Quote race|Hook Horror}} | |||
{{Quote race|Phase Spider}} | |||
{{Quote race|Tressym}} | |||
==== Oozes ==== | |||
{{Quote race|Ooze}} | |||
==== Plants ==== | |||
{{Quote race|Plant}} | |||
{{Quote race|Blight}} | |||
{{Quote race|Myconid}} | |||
{{Quote race|Shambling Mound}} | |||
==== Fiends ==== | |||
{{Quote race|Fiend}} | |||
{{Quote race|Butler of Bhaal}} | |||
{{Quote race|Cambion}} | |||
{{Quote race|Devil}} | |||
{{Quote race|Hellsboar}} | |||
{{Quote race|Imp}} | |||
{{Quote race|Incubus}} | |||
{{Quote race|Merregon}} | |||
{{Quote race|Raphaelian Merregon}} | |||
{{Quote race|Succubus}} | |||
{{Quote race|Vengeful Boar}} | |||
{{Quote race|Vengeful Cambion}} | |||
{{Quote race|Vengeful Imp}} | |||
==== Undead ==== | |||
{{Quote race|Undead}} | |||
{{Quote race|Crawling Claw}} | |||
{{Quote race|Dark Justiciar}} | |||
{{Quote race|Death Knight}} | |||
{{Quote race|Flying Ghoul}} | |||
{{Quote race|Ghast}} | |||
{{Quote race|Ghost}} | |||
{{Quote race|Ghoul}} | |||
{{Quote race|Grim Visage}} | |||
{{Quote race|Mummy|image=Portrait Mummy (race).png|link=Mummy (race)}} | |||
{{Quote race|Mummy Lord}} | |||
{{Quote race|Shadow}} | |||
{{Quote race|Shadow Mastiff}} | |||
{{Quote race|Skeleton}} | |||
{{Quote race|Undead Dragon}} | |||
{{Quote race|Vampire}} | |||
{{Quote race|Vampire Spawn}} | |||
{{Quote race|Wraith}} | |||
{{Quote race|Zombie}} | |||
== Template data == | == Template data == | ||
Line 277: | Line 439: | ||
"description": "Disable the \"In-game racial description\" attribution text.", | "description": "Disable the \"In-game racial description\" attribution text.", | ||
"type": "boolean" | "type": "boolean" | ||
}, | }, | ||
"image-position": { | "image-position": { | ||
Line 291: | 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
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.
{{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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Race | 1 | 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. | String | required |
Quote override | quote | Use this parameter to specify a custom quote instead of a predefined one. | String | optional |
Image override | image | 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.
| File | suggested |
Disable attribution | noattribution | Disable the "In-game racial description" attribution text. | Boolean | optional |
Image position override | image-position | Override the image position from its default position on the right.
| String | optional |
Image height override | height | Override the image height from its default of 100px.
| Number | optional |
Link override | link | Override where clicking the image links to. | Page name | optional |
Disable link | nolink | Entirely remove the link. This is the same as setting "link=". For use with cut backgrounds that don't have dedicated pages. | Boolean | optional |