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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
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}} ({{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}})<noinclude>
+
{{#switch:{{#rsplit|{{#df_tagvalue:{{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|:|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}} ({{#df_tagvalue:{{{{{ns|{{NAMESPACE}}}}}:{{{1|{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}})<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:20, 15 April 2013

0 (NOT_HUMANOID) Returns 1 if the given creature is a humanoid, 0 otherwise

Examples

0 () 0 ()