Template:Race: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m (Updated documentation)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 60: Line 60:


== See also ==
== See also ==
* {{t link|Ability}} - An equivalent template for [[abilities|ability scores]]
* {{t link|Background}} - An equivalent template for [[backgrounds]]
* {{t link|Background}} - An equivalent template for [[backgrounds]]
* {{t link|Deity}} - An equivalent template for [[deities]]
* {{t link|Class}} - An equivalent template for [[classes]]
* {{t link|Class}} - An equivalent template for [[classes]]
* {{t link|Skill}} - An equivalent template for [[skills]]
* {{t link|Skill}} - An equivalent template for [[skills]]

Latest revision as of 21:43, 29 July 2024

Template documentation

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

Usage

This is intended mainly for lists, not in-line in body content as per the Style Manual. The race name is case sensitive and needs to exactly match (e.g. Half-Elf, not Half Elf).

Examples

Example Markup Renders as
Basic usage
{{Race|Duergar}}
Duergar Duergar
Adjusted icon size
{{Race|Half-Orc|w=35}}
Half-Orc Half-Orc
Link alias
{{Race|Half-Elf|Half-Elves}}
Half-Elves Half-Elves

See also

Template data

Insert a link to a race 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

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Race name1

The name of the race. This is case sensitive.

Suggested values
Human Githyanki Half-Orc Dwarf Elf Drow Tiefling Halfling Half-Elf Gnome Dragonborn Hill Dwarf Gold Dwarf Mountain Dwarf Shield Dwarf Duergar High Elf Wood Elf Seldarine Drow Lolth-Sworn Drow Asmodeus Tiefling Mephistopheles Tiefling Zariel Tiefling Lightfoot Halfling Strongheart Halfling Wood Half-Elf High Half-Elf Drow Half-Elf Rock Gnome Deep Gnome Forest Gnome Black Dragonborn Blue Dragonborn Brass Dragonborn Bronze Dragonborn Copper Dragonborn Gold Dragonborn Green Dragonborn Red Dragonborn Silver Dragonborn White Dragonborn
Stringrequired
Alias2

A user-defined alias to be shown instead of the race name.

Stringoptional
Icon sizew

The pixel size of the accompanying icon.

Numberoptional