Template:Class: Difference between revisions
Jump to navigation
Jump to search
HiddenDragon (talk | contribs) mNo edit summary |
HiddenDragon (talk | contribs) (Fixed incorrect icon for sorcerer) |
||
Line 9: | Line 9: | ||
| Ranger = {{#lvardef: icon | Class Ranger Hotbar Icon.png}} | | Ranger = {{#lvardef: icon | Class Ranger Hotbar Icon.png}} | ||
| Rogue = {{#lvardef: icon | Class Rogue Hotbar Icon.png}} | | Rogue = {{#lvardef: icon | Class Rogue Hotbar Icon.png}} | ||
| Sorcerer = {{#lvardef: icon | Class | | Sorcerer = {{#lvardef: icon | Class Sorcerer Hotbar Icon.png}} | ||
| Warlock = {{#lvardef: icon | Class Warlock Hotbar Icon.png}} | | Warlock = {{#lvardef: icon | Class Warlock Hotbar Icon.png}} | ||
| Wizard = {{#lvardef: icon | Class Wizard Hotbar Icon.png}} | | Wizard = {{#lvardef: icon | Class Wizard Hotbar Icon.png}} |
Latest revision as of 16:29, 18 September 2024
Template documentation
Insert a link to one of the classes, accompanied by the associated icon.
Usage
This is intended mainly for lists, not in-line in body content as per the Style Manual. The skill name is case sensitive and needs to exactly match (e.g. The Archfey, not The-Archfey).
Examples
Example | Markup | Renders as |
---|---|---|
Basic usage | {{Class|Wizard}} | |
Adjusted icon size | {{Class|Barbarian|w=40}} | |
Link alias | {{Class|Oath of the Ancients|Ancients}} | |
Alias and adjusted size | {{Class|Wild Magic (barbarian subclass)|Wild Magic|w=20}} |
Exhaustive list
For sanity check:
See also
- {{Ability}} - An equivalent template for ability scores
- {{Background}} - An equivalent template for backgrounds
- {{Deity}} - An equivalent template for deities
- {{Race}} - An equivalent template for races
- {{Skill}} - An equivalent template for skills
Template data
Insert a pre-formatted link and icon to a class or subclass page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
class or subclass | 1 | The class or subclass page you want to link to. Subclasses will automatically insert the parent class name for you.
| String | required |
icon size | 2 | (Optional) The size of the icon to display. Default is 25 (pixels).
| Number | optional |