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
(pull BUILDINGDESTROYER from creature raws) |
(add "interesting" attributes and egglaying to template) |
||
Line 6: | Line 6: | ||
alignment={{#if:{{tag|{{/raw}}|GOOD}}|Good<br />}}{{#if:{{tag|{{/raw}}|EVIL}}|Evil<br />}}{{#if:{{tag|{{/raw}}|SAVAGE}}|Savage}}| | alignment={{#if:{{tag|{{/raw}}|GOOD}}|Good<br />}}{{#if:{{tag|{{/raw}}|EVIL}}|Evil<br />}}{{#if:{{tag|{{/raw}}|SAVAGE}}|Savage}}| | ||
bldgdest={{tagvalue|{{/raw}}|BUILDINGDESTROYER|notfound=0}}| | bldgdest={{tagvalue|{{/raw}}|BUILDINGDESTROYER|notfound=0}}| | ||
+ | attribs={{attrib_proc|{{/raw}}}}| | ||
pet={{tag|{{/raw|}}|PET}}| | pet={{tag|{{/raw|}}|PET}}| | ||
exotic={{tag|{{/raw|}}|PET_EXOTIC}}| | exotic={{tag|{{/raw|}}|PET_EXOTIC}}| | ||
Line 12: | Line 13: | ||
milkable={{#if:{{tag|{{/raw}}|MILKABLE}}|[[Milk]]able|}}| | milkable={{#if:{{tag|{{/raw}}|MILKABLE}}|[[Milk]]able|}}| | ||
shearable={{#if:{{tag|{{/raw}}|YARN}}|[[Shear]]able|}}| | shearable={{#if:{{tag|{{/raw}}|YARN}}|[[Shear]]able|}}| | ||
+ | egglaying={{#if:{{tag|{{/raw}}|LAYS_EGGS}}|[[Egg]]laying|}}| | ||
train_hunt={{#expr:{{#if:{{tag|{{/raw}}|TRAINABLE}}|1|0}} or {{#if:{{tag|{{/raw}}|TRAINABLE_HUNTING}}|1|0}}}}| | train_hunt={{#expr:{{#if:{{tag|{{/raw}}|TRAINABLE}}|1|0}} or {{#if:{{tag|{{/raw}}|TRAINABLE_HUNTING}}|1|0}}}}| | ||
train_war={{#expr:{{#if:{{tag|{{/raw}}|TRAINABLE}}|1|0}} or {{#if:{{tag|{{/raw}}|TRAINABLE_WAR}}|1|0}}}}| | train_war={{#expr:{{#if:{{tag|{{/raw}}|TRAINABLE}}|1|0}} or {{#if:{{tag|{{/raw}}|TRAINABLE_WAR}}|1|0}}}}| |
Revision as of 21:48, 17 December 2012
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.