Aller au contenu

Modèle:MainRace

De AiahWiki
Version datée du 26 août 2023 à 17:41 par Elbry (discussion | contributions) (Page créée avec « <includeonly>{{#switch:{{{1|}}} | Hill Dwarf = Dwarf | Mountain Dwarf = Dwarf | Duergar = Dwarf | High Elf = Elf | Wood Elf = Elf | Seldarine Drow = Drow | Lolth-Sworn Drow = Drow | Asmodeus Tiefling = Tiefling | Mephistopheles Tiefling = Tiefling | Zariel Tiefling = Tiefling | Lightfoot Halfling = Halfling | Strongheart Halfling = Halfling | Wood Half-Elf = Half-Elf | High Half-Elf = Half-Elf | Drow Half-Elf = Half-Elf | Rock Gnome = Gnome | Deep Gnome = Gnome |... »)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

Returns the main race based on a subrace. Useful for auto-generation, sometimes. Note that it is sensitive to capitalisation!

Usage:

Modèle:Code
Modèle:Code

Result:
Half-Elf
Dwarf

It doesn't do anything if the entered value does not match to a subrace.

Modèle:Code → Lae'zel