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.40
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 1: | Line 1: | ||
− | {{infostart|{{{name}}}}} | + | {{infostart| |
− | {{infocell| | + | {{{name}}}}} |
− | {{ | + | {{infocell|{{char|{{{symbol|?}}}}}|style=color: {{fgcolor|{{{color|7:0:1}}}}}; background: black; font-size:x-large; font-weight: bold; font-family: 'Courier New', 'Quicktype Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', 'Lucida Sans Typewriter', monospace; text-align:center; vertical-align:center}} |
− | |||
− | |||
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}} | {{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}} | ||
− | |||
− | |||
− | |||
{{infoheader|Biome}} | {{infoheader|Biome}} | ||
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Any location}}}} | {{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Any location}}}} | ||
Line 24: | Line 19: | ||
{{#if:{{{tame_attribs|}}}|{{infocell|{{span-hide}}{{{tame_attribs}}}{{end-span}}}}|{{!-}}}} | {{#if:{{{tame_attribs|}}}|{{infocell|{{span-hide}}{{{tame_attribs}}}{{end-span}}}}|{{!-}}}} | ||
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}} | {{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}} | ||
− | |[[Animal trainer|Trainable]]: {{#ifexpr:{{{train_hunt|0}}}>0|Hunting {{Category|Hunting | + | |[[Animal trainer|Trainable]]: {{#ifexpr:{{{train_hunt|0}}}>0|Hunting {{Category|Hunting Animals}}|}} {{#ifexpr:{{{train_war|0}}}>0|War {{Category|War Animals}}|}}|Not [[Animal trainer|trainable]]}}}}|{{infoheader|bg=#fbb|Cannot be tamed}}}}{{ |
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0| | #ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0| | ||
− | {{infoheader| | + | {{infoheader|Size}} |
− | {{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|''' | + | {{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Child:'''|{{formatnum:{{{size0}}} cm<sup>3</sup> }}}} |
− | {{#ifexpr:{{{size1|0}}}>0|{{inforow|''' | + | {{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Adolescent:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}} |
− | |{{#ifexpr:{{{size1|0}}}>0|{{inforow|''' | + | |{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Child:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}}} |
− | {{#ifexpr:{{{size2|0}}}>0|{{inforow|''' | + | {{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Adult:'''|{{formatnum:{{{size2}}} cm<sup>3</sup> }}}}}}}}||}} |
{{#if:{{{eggs|}}}|{{infoheader|[[Food|Food products]]}} | {{#if:{{{eggs|}}}|{{infoheader|[[Food|Food products]]}} | ||
{{#if:{{{eggs|}}}|{{inforow|[[Egg]]s|{{{eggs}}}}}}}}}{{ | {{#if:{{{eggs|}}}|{{inforow|[[Egg]]s|{{{eggs}}}}}}}}}{{ | ||
− | #if:{{{childage|}}}{{{adultage|}}}{{{maxage|}}}| | + | #if:{{{childage|}}}{{{adultage|}}}{{{maxage|}}}| |
{{infoheader|Age}} | {{infoheader|Age}} | ||
{{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}} | {{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}} | ||
Line 43: | Line 38: | ||
|nobutcher=Cannot be butchered | |nobutcher=Cannot be butchered | ||
|butcher |#default=[[Meat industry|Butchering returns]]}}}} | |butcher |#default=[[Meat industry|Butchering returns]]}}}} | ||
− | {{#if:{{{valm|}}}|([[Multiply value|Value multiplier]] | + | {{#if:{{{valm|}}}|([[Multiply value|Value multiplier]] x{{{valm|}}})}} |
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}} | {{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}} | ||
{{#switch:{{{death|}}} | {{#switch:{{{death|}}} | ||
Line 65: | Line 60: | ||
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}} | {{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}} | ||
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}} | {{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}} | ||
− | {{#if:{{{ivory|}}}|{{inforow|[[Ivory]]|{{{ivory|} | + | {{#if:{{{ivory|}}}|{{inforow|[[Ivory]]|{{{ivory|}}}}}|{{!-}}}} |
− | {{#if:{{{tooth|}}}|{{inforow|[[Teeth]]|{{{tooth|} | + | {{#if:{{{tooth|}}}|{{inforow|[[Teeth]]|{{{tooth|}}}}}|{{!-}}}} |
− | {{#if:{{{hoof|}}}|{{inforow|[[Hooves]]|{{{hoof|} | + | {{#if:{{{hoof|}}}|{{inforow|[[Hooves]]|{{{hoof|}}}}}|{{!-}}}} |
− | {{#if:{{{horn|}}}|{{inforow|[[Horns]]|{{{horn|} | + | {{#if:{{{horn|}}}|{{inforow|[[Horns]]|{{{horn|}}}}}|{{!-}}}} |
{{#if:{{{shell|}}}|{{inforow|[[Shell]]|{{{shell|}}}}}|{{!-}}}} | {{#if:{{{shell|}}}|{{inforow|[[Shell]]|{{{shell|}}}}}|{{!-}}}} | ||
− | {{#if:{{{skin|}}}|{{inforow|[[Skin]]|{{#switch:{{{skin|}}}|hide=Raw hide | + | {{#if:{{{skin|}}}|{{inforow|[[Skin]]|{{#switch:{{{skin|}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default={{{skin|}}}}}}}|{{!-}}}} |
{{#if:{{{wool|}}}|{{inforow|[[Wool]]|{{{wool|}}}}}|{{!-}}}} | {{#if:{{{wool|}}}|{{inforow|[[Wool]]|{{{wool|}}}}}|{{!-}}}} | ||
{{#if:{{{feather|}}}|{{inforow|[[Feather]]|{{{feather|}}}}}|{{!-}}}} | {{#if:{{{feather|}}}|{{inforow|[[Feather]]|{{{feather|}}}}}|{{!-}}}} | ||
Line 77: | Line 72: | ||
}} | }} | ||
{{#ifexpr:{{#if:{{{wiki|}}}|1|0}} and {{#ifeq:{{{wiki|}}}|no|0|1}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#ifeq:{{{wiki|}}}|yes|{{{name}}}|{{{wiki|}}}}}|Wikipedia article]]}}|{{!-}}}} | {{#ifexpr:{{#if:{{{wiki|}}}|1|0}} and {{#ifeq:{{{wiki|}}}|no|0|1}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#ifeq:{{{wiki|}}}|yes|{{{name}}}|{{{wiki|}}}}}|Wikipedia article]]}}|{{!-}}}} | ||
− | {{infoend}}<noinclude>{{documentation}} | + | {{infoend}}<noinclude>{{documentation}}</noinclude> |