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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with "{{#switch:{{#rsplit|{{#df_tagvalue:{{{{{1|{{{ns|{{NAMESPACE}}}}}:{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}}<noinclude> Returns 1 if...")
 
m (tests)
Line 1: Line 1:
{{#switch:{{#rsplit|{{#df_tagvalue:{{{{{1|{{{ns|{{NAMESPACE}}}}}:{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}}<noinclude>
+
{{#switch:{{#rsplit|{{#df_tagvalue:{{{{{1|{{{ns|{{NAMESPACE}}}}}:{{PAGENAME}}}}}/raw}}|BODY||NOT_HUMANOID}}|1}}|HUMANOID|HUMANOID_SIMPLE=1|#default=0}} (page={{{ns|{{NAMESPACE}}}}}:{{PAGENAME}}}}}/raw)<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===
 +
{{creature/is humanoid|ant}}
 +
{{creature/is humanoid|antman|ns=DF2012}}
 +
 
</noinclude>
 
</noinclude>

Revision as of 20:09, 15 April 2013

0 (page=Template:Creature/is humanoid}}}/raw) Returns 1 if the given creature is a humanoid, 0 otherwise

Examples

0 (page=Template:Creature/is humanoid}}}/raw) 0 (page=DF2012:Creature/is humanoid}}}/raw)