Template:Quote race: Difference between revisions
(Image handling for playable subraces) |
(Added list of playable races) |
||
Line 2: | Line 2: | ||
| quote = {{{quote|{{#switch: {{trim|{{{1|}}}}} | | quote = {{{quote|{{#switch: {{trim|{{{1|}}}}} | ||
<!-- Quotes extracted from patch 6 game files --> | <!-- Quotes extracted from patch 6 game files --> | ||
| Human = The most common face in Faerûn, humans are known for their tenacity, creativity, and endless capacity for growth. | | Human = The most common face in Faerûn, humans are known for their tenacity, creativity, and endless capacity for growth. | ||
| Elf = With ethereal countenances and long lifespans, elves are at home with nature's power, flourishing in light and dark alike. | | Elf = With ethereal countenances and long lifespans, elves are at home with nature's power, flourishing in light and dark alike. | ||
Line 45: | Line 44: | ||
<!-- Non-player selectable races --> | <!-- Non-player selectable races --> | ||
| Humanoid = A collection of bipedal races, ranging from humans, elves, and halflings to goblins, gnolls, and kobolds. | |||
| Goblin = Weak, selfish humanoids. Though they often serve stronger races, they crave power and abuse what authority they obtain. | | Goblin = Weak, selfish humanoids. Though they often serve stronger races, they crave power and abuse what authority they obtain. | ||
| Hobgoblin = Large, brutal humanoids that live for martial prowess, war, and glory. | | Hobgoblin = Large, brutal humanoids that live for martial prowess, war, and glory. | ||
Line 168: | Line 168: | ||
| Drow | Lolth-Sworn Drow | Seldarine Drow = Race Drow.png | | Drow | Lolth-Sworn Drow | Seldarine Drow = Race Drow.png | ||
| Dwarf | Gold Dwarf | Shield Dwarf | Duergar = Race Dwarf.png | | Dwarf | Gold Dwarf | Shield Dwarf | Duergar = Race Dwarf.png | ||
| Half-Elf | High Half-Elf | Wood Half-Elf | Drow Half-Elf = Race Half Elf.png | | Half-Elf | High Half-Elf | Wood Half-Elf | Drow Half-Elf = Race Half-Elf.png | ||
| Gnome | Rock Gnome | Deep Gnome | Forest Gnome = Race Gnome.png | | Gnome | Rock Gnome | Deep Gnome | Forest Gnome = Race Gnome.png | ||
| Halfling | Lightfoot Halfling | Strongheart Halfling = Race Halfling.png | | Halfling | Lightfoot Halfling | Strongheart Halfling = Race Halfling.png | ||
Line 204: | Line 204: | ||
| <nowiki>{{Quote race|Meenlock}}</nowiki> | | <nowiki>{{Quote race|Meenlock}}</nowiki> | ||
| caption 4 = Non-playable race example with a specified portrait. | | caption 4 = Non-playable race example with a specified portrait. | ||
| <nowiki>{{Quote race| | | <nowiki>{{Quote race|Humanoid|image=Portrait Custom.png}}</nowiki> | ||
| caption 5 = No image. | | caption 5 = No image. | ||
| <nowiki>{{Quote race|Cambion|image=none}}</nowiki> | | <nowiki>{{Quote race|Cambion|image=none}}</nowiki> | ||
Line 215: | Line 215: | ||
</nowiki> | </nowiki> | ||
}} | }} | ||
== Exhaustive list == | |||
=== Playable races === | |||
{{Quote race|Human|align=left}} | |||
{{Quote race|Elf|align=left}} | |||
{{Quote race|High Elf|align=left}} | |||
{{Quote race|Wood Elf|align=left}} | |||
{{Quote race|Drow|align=left}} | |||
{{Quote race|Lolth-Sworn Drow|align=left}} | |||
{{Quote race|Seldarine Drow|align=left}} | |||
{{Quote race|Dwarf|align=left}} | |||
{{Quote race|Gold Dwarf|align=left}} | |||
{{Quote race|Shield Dwarf|align=left}} | |||
{{Quote race|Duergar|align=left}} | |||
{{Quote race|Half-Elf|align=left}} | |||
{{Quote race|High Half-Elf|align=left}} | |||
{{Quote race|Wood Half-Elf|align=left}} | |||
{{Quote race|Drow Half-Elf|align=left}} | |||
{{Quote race|Gnome|align=left}} | |||
{{Quote race|Rock Gnome|align=left}} | |||
{{Quote race|Deep Gnome|align=left}} | |||
{{Quote race|Forest Gnome|align=left}} | |||
{{Quote race|Halfling|align=left}} | |||
{{Quote race|Lightfoot Halfling|align=left}} | |||
{{Quote race|Strongheart Halfling|align=left}} | |||
{{Quote race|Tiefling|align=left}} | |||
{{Quote race|Asmodeus Tiefling|align=left}} | |||
{{Quote race|Mephistopheles Tiefling|align=left}} | |||
{{Quote race|Zariel Tiefling|align=left}} | |||
{{Quote race|Githyanki|align=left}} | |||
{{Quote race|Dragonborn|align=left}} | |||
{{Quote race|Black Dragonborn|align=left}} | |||
{{Quote race|Blue Dragonborn|align=left}} | |||
{{Quote race|Brass Dragonborn|align=left}} | |||
{{Quote race|Bronze Dragonborn|align=left}} | |||
{{Quote race|Copper Dragonborn|align=left}} | |||
{{Quote race|Gold Dragonborn|align=left}} | |||
{{Quote race|Green Dragonborn|align=left}} | |||
{{Quote race|Red Dragonborn|align=left}} | |||
{{Quote race|Silver Dragonborn|align=left}} | |||
{{Quote race|White Dragonborn|align=left}} | |||
{{Quote race|Half-Orc|align=left}} | |||
== Template data == | == Template data == |
Revision as of 00:15, 23 July 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 }}Renders as
Exhaustive list
Playable races
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 |
Alignment override | align | Override the alignment from the default centered position
| String | optional |
Image position override | image-position | Override the image position from its default position on the right.
| String | optional |