Jump to content

Template:MainRace: Difference between revisions

From AiahWiki
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 |... »
 
m 1 revision imported
 
(No difference)

Latest revision as of 21:05, 8 November 2026

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

Usage:

Template:Code
Template:Code

Result:
Half-Elf
Dwarf

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

Template:Code → Lae'zel