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
(age params) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{#var:evan}}{{#var:emw}}|<!-- av included already, should be AFTER this template --> | <includeonly>{{#if:{{#var:evan}}{{#var:emw}}|<!-- av included already, should be AFTER this template --> | ||
− | [[Category:Pages with incorrectly-ordered templates]]}}{{CreatureInfo {{#switch:{{NAMESPACE}}|DF2012|v0.34=v0.34|Masterwork=Masterwork|v0.31|40d|23a=v0.31|#default=v0. | + | [[Category:Pages with incorrectly-ordered templates]]}}{{CreatureInfo {{#switch:{{NAMESPACE}}|DF2014|v0.40=v0.40|DF2012|v0.34=v0.34|Masterwork=Masterwork|v0.31|40d|23a=v0.31|#default=v0.40}}| |
name={{ucfirst:{{tagentry|{{/raw}}|NAME|1}}}}| | name={{ucfirst:{{tagentry|{{/raw}}|NAME|1}}}}| | ||
pref={{prefstring|{{/raw}}}}| | pref={{prefstring|{{/raw}}}}| | ||
symbol={{tagvalue|{{/raw}}|CREATURE_TILE}}| | symbol={{tagvalue|{{/raw}}|CREATURE_TILE}}| | ||
+ | image={{{image|}}}| | ||
+ | portrait={{{portrait|}}}| | ||
color={{tagvalue|{{/raw}}|COLOR}}| | color={{tagvalue|{{/raw}}|COLOR}}| | ||
biome={{#if:{{{biome|}}}|{{{biome}}}|{{biomelist/aux|{{/raw}}}}}}| | biome={{#if:{{{biome|}}}|{{{biome}}}|{{biomelist/aux|{{/raw}}}}}}| | ||
Line 21: | Line 23: | ||
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}}}}| | ||
− | childage={{tagvalue|{{/raw}}|BABY|notfound=}} | + | childage={{tagvalue|{{/raw}}|BABY|notfound=}}| |
− | adultage={{tagvalue|{{/raw}}|CHILD|notfound=Birth}} | + | adultage={{tagvalue|{{/raw}}|CHILD|notfound=Birth}}| |
maxage={{#mreplace:{{tagvalue|{{/raw}}|MAXAGE|notfound=Immortal}}|:|-}}| | maxage={{#mreplace:{{tagvalue|{{/raw}}|MAXAGE|notfound=Immortal}}|:|-}}| | ||
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}}}}| | 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}}}}| | ||
Line 42: | Line 44: | ||
bone={{#param:bone|bones|}}| | bone={{#param:bone|bones|}}| | ||
skull={{#param:skull|skulls|}}| | skull={{#param:skull|skulls|}}| | ||
− | ivory={{#param:ivory|ivories|}}| | + | ivory={{#param:ivory|ivories|tusk|tusks|}}| |
tooth={{#param:tooth|teeth|}}| | tooth={{#param:tooth|teeth|}}| | ||
hoof={{#param:hoof|hooves|}}| | hoof={{#param:hoof|hooves|}}| |
Latest revision as of 21:22, 24 April 2024
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.