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.
Editing Template:CreatureInfo v0.31
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}| | {{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}| | ||
{{infoheader|Pet Attributes}} | {{infoheader|Pet Attributes}} | ||
− | {{inforow|Pet value| | + | {{#if:{{{exotic}}}|{{infocell|Exotic - need {{L|dungeon master}} to tame}}}} |
− | {{infocell|{{#switch:{{{train_hunt|0}}}{{{train_war|0}}}|11=Can be | + | {{inforow|Pet value|{{{petvalue|0}}}}} |
− | + | {{infocell|{{#switch:{{{train_hunt|0}}}{{{train_war|0}}}|11=Can be trained for hunting or war|10=Can be trained for hunting|01=Can be trained for war|00=Cannot be trained}}}}| | |
− | {{infoheader|Cannot be tamed}}}} | + | {{infoheader|Cannot be tamed}}}} |
− | |||
{{infoheader|Size}} | {{infoheader|Size}} | ||
− | {{infocell|{{# | + | {{infocell|{{#if: {{CSizeInventory|{{lc:{{{name}}}}}|1}}|'''Child body size'''<br>{{formatnum:{{CSizeInventory|{{lc:{{{name}}}}}|1}} cm<sup>3</sup><br>}}}}{{#if: {{CSizeInventory|{{lc:{{{name}}}}}|2}}|'''Adolescent body size'''<br>{{formatnum:{{CSizeInventory|{{lc:{{{name}}}}}|2}} cm<sup>3</sup><br>}}}}{{#if: {{CSizeInventory|{{lc:{{{name}}}}}|3}}|'''Adult body size'''<br>{{formatnum:{{CSizeInventory|{{lc:{{{name}}}}}|3}} cm<sup>3</sup>}}}}}} |
− | {{# | ||
− | |||
− | |||
{{#if:{{{alignment|}}}|{{infoheader|Alignment}} | {{#if:{{{alignment|}}}|{{infoheader|Alignment}} | ||
− | {{infocell|{{{alignment}}}|style=text-align:center | + | {{infocell|{{{alignment}}}|style=text-align:center}}}} |
− | |||
− | |||
− | |||
− | |||
− | |||
{{infoheader|{{#switch:{{{death|}}} | {{infoheader|{{#switch:{{{death|}}} | ||
|rot=Rotting leaves | |rot=Rotting leaves | ||
|item=Becomes after death | |item=Becomes after death | ||
− | |nobutcher=This creature | + | |nobutcher=This creature can not be butchered |
− | |butcher |#default= | + | |butcher |#default={{L|Meat industry|Butchering returns}}}}}} |
− | {{#if:{{{valm|}}}|( | + | {{#if:{{{valm|}}}|({{L|Multiply value|Value multiplier}} x{{{valm|}}})}} |
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}} | {{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}} | ||
{{#switch:{{{death|}}} | {{#switch:{{{death|}}} | ||
Line 34: | Line 25: | ||
|item={{!-}} | |item={{!-}} | ||
|#default={{infocell|'''Food items'''}}}} | |#default={{infocell|'''Food items'''}}}} | ||
− | {{#if:{{{meat|}}}|{{inforow| | + | {{#if:{{{meat|}}}|{{inforow|{{L|Meat}}|{{{meat|}}}}}|{{!-}}}} |
− | {{#if:{{{fat|}}}|{{inforow| | + | {{#if:{{{fat|}}}|{{inforow|{{L|Fat}}|{{{fat|}}}}}|{{!-}}}} |
− | {{#if:{{{brain|}}}|{{inforow| | + | {{#if:{{{brain|}}}|{{inforow|{{L|Brain}}|{{{brain|}}}}}|{{!-}}}} |
− | {{#if:{{{heart|}}}|{{inforow| | + | {{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{!-}}}} |
− | {{#if:{{{lung|}}}|{{inforow| | + | {{#if:{{{lung|}}}|{{inforow|{{L|Lung}}s|{{{lung|}}}}}|{{!-}}}} |
− | {{#if:{{{intestine|}}}|{{inforow| | + | {{#if:{{{intestine|}}}|{{inforow|{{L|Intestines}}|{{{intestine|}}}}}|{{!-}}}} |
− | {{#if:{{{liver|}}}|{{inforow| | + | {{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{!-}}}} |
− | {{#if:{{{kidney|}}}|{{inforow| | + | {{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}s|{{{kidney|}}}}}|{{!-}}}} |
− | {{#if:{{{tripe|}}}|{{inforow| | + | {{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{!-}}}} |
− | {{#if:{{{sweetbread|}}}|{{inforow| | + | {{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{!-}}}} |
− | {{#if:{{{eye|}}}|{{inforow| | + | {{#if:{{{eye|}}}|{{inforow|{{L|Eye}}s|{{{eye|}}}}}|{{!-}}}} |
− | {{#if:{{{spleen|}}}|{{inforow| | + | {{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{!-}}}} |
{{#switch:{{{death|}}} | {{#switch:{{{death|}}} | ||
|nobutcher | |nobutcher | ||
|item={{!-}} | |item={{!-}} | ||
|#default={{infocell|'''Raw materials'''}}}} | |#default={{infocell|'''Raw materials'''}}}} | ||
− | {{#if:{{{bone|}}}|{{inforow| | + | {{#if:{{{bone|}}}|{{inforow|{{L|Bones}}|{{{bone|}}}}}|{{!-}}}} |
− | {{#if:{{{skull|}}}|{{inforow| | + | {{#if:{{{skull|}}}|{{inforow|{{L|Skull}}|{{{skull|}}}}}|{{!-}}}} |
− | {{#if:{{{ivory|}}}|{{inforow| | + | {{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}} |
− | {{#if:{{{tooth|}}}|{{inforow| | + | {{#if:{{{tooth|}}}|{{inforow|{{L|Teeth}}|{{{tooth|}}}}}|{{!-}}}} |
− | {{#if:{{{hoof|}}}|{{inforow| | + | {{#if:{{{hoof|}}}|{{inforow|{{L|Hooves}}|{{{hoof|}}}}}|{{!-}}}} |
− | {{#if:{{{horn|}}}|{{inforow| | + | {{#if:{{{horn|}}}|{{inforow|{{L|Horns}}|{{{horn|}}}}}|{{!-}}}} |
− | {{#if:{{{shell|}}}|{{inforow| | + | {{#if:{{{shell|}}}|{{inforow|{{L|Shell}}|{{{shell|}}}}}|{{!-}}}} |
− | {{#if:{{{skin|}}}|{{inforow| | + | {{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default='''Unknown'''}}}}|{{!-}}}} |
{{#ifeq:{{{contrib|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There is too little information about this creature.<br /> Please contribute if you can!''}}|{{!-}}}} | {{#ifeq:{{{contrib|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There is too little information about this creature.<br /> Please contribute if you can!''}}|{{!-}}}} | ||
− | {{#ifeq:{{{wiki|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1= | + | {{#ifeq:{{{wiki|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{#if:{{{wiki|}}}|{{{wiki|}}}|{{{name}}}}}|Wikipedia article}}}}|{{!-}}}} |
{{infoend}}<noinclude>{{documentation}}</noinclude> | {{infoend}}<noinclude>{{documentation}}</noinclude> |