Template:Race
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}} | |
| Adjusted icon size | {{Race|Half-Orc|w=35}} | |
| Link alias | {{Race|Half-Elf|Half-Elves}} |
See also
- {{Ability}} - An equivalent template for ability scores
- {{Background}} - An equivalent template for backgrounds
- {{Deity}} - An equivalent template for deities
- {{Class}} - An equivalent template for classes
- {{Skill}} - An equivalent template for skills
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Race name | 1 | The name of the race. This is case sensitive.
| String | required |
| Alias | 2 | A user-defined alias to be shown instead of the race name. | String | optional |
| Width | w | Override the width of the image. | Number | optional |
| Height | h | Override the height of the image. | Number | optional |
| Size | size | Set the size of the image to this by this. | Number | optional |