Template:ClassNoIcon: Difference between revisions
(Created page with "<includeonly>{{#switch:{{{1|}}} | Barbarian = {{Icon|Barbarian Icon Small.webp|{{{2|25}}}|link=Barbarian}} Barbarian | Bard = {{Icon|Bard Icon Small.webp|{{{2|25}}}|link=Bard}} Bard | Cleric = {{Icon|Cleric Icon Small.webp|{{{2|25}}}|link=Cleric}} Cleric | Druid = {{Icon|Druid Icon Small.webp|{{{2|25}}}|link=Druid}} Druid | Fighter = {{Icon|Fighter Icon Small.webp|{{{2|25}}}|link=Fighter}} Fighter | Monk = {{Icon|Monk Icon Small.webp|{{{2|25}}}|link=M...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1|}}} | <includeonly>{{#switch:{{{1|}}} | ||
| Barbarian = | | Barbarian = [[Barbarian]] | ||
| Bard = | | Bard = [[Bard]] | ||
| Cleric = | | Cleric = [[Cleric]] | ||
| Druid = | | Druid = [[Druid]] | ||
| Fighter = | | Fighter = [[Fighter]] | ||
| Monk = | | Monk = [[Monk]] | ||
| Paladin = | | Paladin = [[Paladin]] | ||
| Ranger = | | Ranger = [[Ranger]] | ||
| Rogue = | | Rogue = [[Rogue]] | ||
| Sorcerer = | | Sorcerer = [[Sorcerer]] | ||
| Warlock = | | Warlock = [[Warlock]] | ||
| Wizard = | | Wizard = [[Wizard]] | ||
| Berserker = | | Berserker = [[Berserker]] [[Barbarian]] | ||
| Wildheart = | | Wildheart = [[Wildheart]] [[Barbarian]] | ||
| Wild Magic Barbarian = | | Wild Magic Barbarian = [[Wild Magic Barbarian|Wild Magic]] [[Barbarian]] | ||
| College of Lore = | | College of Lore = [[College of Lore]] [[Bard]] | ||
| College of Valor = | | College of Valor = [[College of Valour]] [[Bard]] | ||
| Life Domain = | | Life Domain = [[Life Domain]] [[Cleric]] | ||
| Light Domain = | | Light Domain = [[Light Domain]] [[Cleric]] | ||
| Knowledge Domain = | | Knowledge Domain = [[Knowledge Domain]] [[Cleric]] | ||
| Trickery Domain = | | Trickery Domain = [[Trickery Domain]] [[Cleric]] | ||
| Circle of the Land = | | Circle of the Land = [[Circle of the Land]] [[Druid]] | ||
| Circle of the Moon = | | Circle of the Moon = [[Circle of the Moon]] [[Druid]] | ||
| Battle Master = | | Battle Master = [[Battle Master]] [[Fighter]] | ||
| Eldritch Knight = | | Eldritch Knight = [[Eldritch Knight]] [[Fighter]] | ||
| Oath of the Ancients = | | Oath of the Ancients = [[Oath of the Ancients]] [[Paladin]] | ||
| Oath of Devotion = | | Oath of Devotion = [[Oath of Devotion]] [[Paladin]] | ||
| Oathbreaker = | | Oathbreaker = [[Oathbreaker]] [[Paladin]] | ||
| Hunter = | | Hunter = [[Hunter]] [[Ranger]] | ||
| Beast Master = | | Beast Master = [[Beast Master]] [[Ranger]] | ||
| Arcane Trickster = | | Arcane Trickster = [[Arcane Trickster]] [[Rogue]] | ||
| Thief = | | Thief = [[Thief]] [[Rogue]] | ||
| Draconic Bloodline = | | Draconic Bloodline = [[Draconic Bloodline]] [[Sorcerer]] | ||
| Wild Magic = | | Wild Magic = [[Wild Magic]] [[Sorcerer]] | ||
| Fiend = | | Fiend = [[The Fiend|Fiend]] [[Warlock]] | ||
| Great Old One = | | Great Old One = [[The Great Old One]] [[Warlock]] | ||
| Abjuration = | | Abjuration = [[Abjuration School]] [[Wizard]] | ||
| Evocation = | | Evocation = [[Evocation School]] [[Wizard]] | ||
| {{{1|}}} | | {{{1|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
Line 44: | Line 44: | ||
Usage: | Usage: | ||
{{code|<nowiki>{{ | {{code|<nowiki>{{ClassNoIcon|Wizard}}</nowiki>}} | ||
Result: {{ | Result: {{ClassNoIcon|Wizard}} | ||
---- | ---- | ||
Line 54: | Line 54: | ||
Usage: | Usage: | ||
{{code|<nowiki>{{ | {{code|<nowiki>{{ClassNoIcon|Barbarian|35}}</nowiki>}} | ||
Result: {{ | Result: {{ClassNoIcon|Barbarian|35}} | ||
---- | ---- | ||
Line 64: | Line 64: | ||
Usage: | Usage: | ||
{{code|<nowiki>{{ | {{code|<nowiki>{{ClassNoIcon|Oath of the Ancients}}</nowiki>}} | ||
Result: {{ | Result: {{ClassNoIcon|Oath of the Ancients}} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
---- | ---- |
Revision as of 04:14, 5 August 2023
Insert a pre-formatted link and icon to a class or subclass page. See below for the full list of accepted class and subclass values. All values are case sensitive.
Usage:
{{ClassNoIcon|Wizard}}
Result: Wizard
Second parameter is optional, for adjusting the size of the icon.
Usage:
{{ClassNoIcon|Barbarian|35}}
Result: Barbarian
For subclasses, only name the subclass:
Usage:
{{ClassNoIcon|Oath of the Ancients}}
Result: Oath of the Ancients Paladin
Auto-generated TemplateData documentation follows.
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 |