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

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

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

Examples

0 1