v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "Template:Creature/basename"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page)
 
m (tests)
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ucfirst:{{#mreplace:{{{1}}}|Giant||man||}}|}}<noinclude>
+
{{Creature/basename/0|{{lc:{{{1|}}}}}}}<noinclude>
Strips a creature name of "man" or "giant" - 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
 +
 
 +
'''New''': no longer case-sensitive
 +
 
 +
<!-- when updating, make sure no spaces appear between the names in the preview. -->
 +
-{{creature/basename|Lion}}--{{creature/basename|Lion}}--{{creature/basename|gigantic panda}}--{{creature/basename|large rat}}--{{creature/basename|AaRdVaRk man}}-
 
</noinclude>
 
</noinclude>

Revision as of 18:07, 9 March 2013

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

New: no longer case-sensitive

-Lion--Lion--Panda--Rat--Aardvark-