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/is humanoid"
Jump to navigation
Jump to search
m (try, try again) |
m (finally found it) |
||
Line 1: | Line 1: | ||
− | {{#switch:{{#rsplit | + | {{#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> |
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 (NOT_HUMANOID) Returns 1 if the given creature is a humanoid, 0 otherwise
Examples
0 (INSECT) 1 (HUMANOID_4ARMS)