Difference between revisions of "Template:Creature/basename"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (try adding spaces to see if it fixes "Giant mantis" problem)
(update)
Line 1: Line 1:
{{ucfirst:{{#mreplace:{{{1}}}|Giant || man||Large ||Gigantic ||}}|}}<noinclude>
+
{{Creature/basename/0|{{lc:{{{1|}}}}}}}<noinclude>
 
Strips a creature name of "man", "Giant", "Large", and "Gigantic" - essentially, gives the name of the basic creature
 
Strips a creature name of "man", "Giant", "Large", and "Gigantic" - essentially, gives the name of the basic creature
 
</noinclude>
 
</noinclude>

Revision as of 18:01, 9 March 2013

Strips a creature name of "man", "Giant", "Large", and "Gigantic" - essentially, gives the name of the basic creature