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:Creaturelookup/0"
Jump to navigation
Jump to search
(include "intelligent" in sentient too) |
(move sentience check to set "death" parameter) |
||
Line 7: | Line 7: | ||
bldgdest={{tagvalue|{{/raw}}|BUILDINGDESTROYER|notfound=0}}| | bldgdest={{tagvalue|{{/raw}}|BUILDINGDESTROYER|notfound=0}}| | ||
attribs={{attrib_proc|{{/raw}}}}| | attribs={{attrib_proc|{{/raw}}}}| | ||
− | |||
pet={{tag|{{/raw|}}|PET}}| | pet={{tag|{{/raw|}}|PET}}| | ||
exotic={{tag|{{/raw|}}|PET_EXOTIC}}| | exotic={{tag|{{/raw|}}|PET_EXOTIC}}| | ||
Line 21: | Line 20: | ||
size1={{#if:{{{size1|}}}|{{{size1|}}}|{{bodysize|{{/raw}}|1}}}}| | size1={{#if:{{{size1|}}}|{{{size1|}}}|{{bodysize|{{/raw}}|1}}}}| | ||
size2={{#if:{{{size2|}}}|{{{size2|}}}|{{bodysize|{{/raw}}|2}}}}| | size2={{#if:{{{size2|}}}|{{{size2|}}}|{{bodysize|{{/raw}}|2}}}}| | ||
− | death={{{death|{{#if:{{tag|{{/raw}}|NOT_BUTCHERABLE}}|nobutcher | + | death={{#if:{{{death|}}}|{{{death}}}|{{#ifexpr:{{#if:{{tag|{{/raw}}|INTELLIGENT}}|1|0}} or {{#if:{{tag|{{/raw}}|CAN_LEARN}}|1|0}} or {{#if:{{tag|{{/raw}}|NOT_BUTCHERABLE}}|1|0}}|nobutcher}}}}| |
item={{{item|}}}| | item={{{item|}}}| | ||
meat={{{meat|}}}| | meat={{{meat|}}}| |
Revision as of 04:38, 4 January 2013
This is an intermediary template which pulls necessary details from the creature's raws and passes the results on to the proper CreatureInfo template for display.