Difference between revisions of "Template:Creature/is humanoid"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (I think I found the problem)
m (test)
Line 1: Line 1:
{{#switch:{{#rsplit|{{#df_tagvalue:{{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|:|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}} (page={{{ns|{{NAMESPACE}}}}}:{{PAGENAME}}/raw)<noinclude>
+
{{#switch:{{#rsplit|{{#df_tagvalue:{{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|:|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}} (1={{{1}}})<noinclude>
 
Returns 1 if the given creature is a humanoid, 0 otherwise
 
Returns 1 if the given creature is a humanoid, 0 otherwise
 
===Examples===
 
===Examples===

Revision as of 20:19, 15 April 2013

0 (1={{{1}}}) Returns 1 if the given creature is a humanoid, 0 otherwise

Examples

0 (1=ant) 0 (1=antman)