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:CreatureInfo v0.31"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
m
 
(63 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{infostart|{{{name}}}}}
+
{{infostart|
{{infocell|{{char|{{{symbol|?}}}}}|style=color: {{fgcolor|{{{color|5: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}}
+
{{{name}}}}}
{{infoheader|{{L|Biome}}}}
+
{{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}}
{{infocell|{{{biome|?}}}}}
+
{{infoheader|Biome}}
{{infoheader|Alignment}}
+
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Any location}}}}
{{infocell|{{{algin|?}}}|style=text-align:center}}
+
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
{{infoheader|{{#ifeq:{{{butcher|yes}}}|no|Rotting leaves|Butchering returns}}}}
+
{{infoheader|Pet Attributes}}
{{infocell|'''Food'''}}
+
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
{{inforow|{{L|Meat}}|<noinclude>''meat''</noinclude><includeonly>{{{meat|{{{size|?}}}}}}</includeonly>}}
+
{{infocell|{{#switch:{{{train_hunt|0}}}{{{train_war|0}}}|11=Can be [[Kennel|trained]] for either hunting or for war|10=Can be [[Kennel|trained]] only for hunting|01=Can be [[Kennel|trained]] only for war|00=Cannot be [[Kennel|trained]]}}}}
{{inforow|{{L|Fat}}|<noinclude>''fat''</noinclude><includeonly>{{{fat|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{exotic}}}|{{infocell|Exotic - cannot be tamed}}}}|
{{inforow|{{L|Eye}}s|<noinclude>''eyes''</noinclude><includeonly>{{{eyes|{{{size|?}}}}}}</includeonly>}}
+
{{infoheader|Cannot be tamed}}}}{{
{{inforow|{{L|Lung}}|<noinclude>''lung''</noinclude><includeonly>{{{lung|{{{size|?}}}}}}</includeonly>}}
+
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0|&nbsp;
{{inforow|{{L|Heart}}|<noinclude>''heart''</noinclude><includeonly>{{{heart|{{{size|?}}}}}}</includeonly>}}
+
{{infoheader|Size}}
{{inforow|{{L|Intestine}}s|<noinclude>''intestines''</noinclude><includeonly>{{{intestines|{{{size|?}}}}}}</includeonly>}}
+
{{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Birth:'''|{{formatnum:{{{size0}}} cm<sup>3</sup> }}}}
{{inforow|{{L|Liver}}|<noinclude>''liver''</noinclude><includeonly>{{{liver|{{{size|?}}}}}}</includeonly>}}
+
{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Mid:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}
{{inforow|{{L|Tripe}}|<noinclude>''tripe''</noinclude><includeonly>{{{tripe|{{{size|?}}}}}}</includeonly>}}
+
|{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Birth:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}}}
{{inforow|{{L|Sweetbread}}|<noinclude>''sweetbread''</noinclude><includeonly>{{{sweetbread|{{{size|?}}}}}}</includeonly>}}
+
{{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Max:'''|{{formatnum:{{{size2}}} cm<sup>3</sup> }}}}}}}}||}}
{{inforow|{{L|Spleen}}|<noinclude>''spleen''</noinclude><includeonly>{{{spleen|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
{{inforow|{{L|Kidney}}|<noinclude>''kidney''</noinclude><includeonly>{{{kidney|{{{size|?}}}}}}</includeonly>}}
+
{{infocell|{{{alignment}}}|style=text-align:center}}}}{{
{{inforow|{{L|Brain}}|<noinclude>''brain''</noinclude><includeonly>{{{brain|{{{size|?}}}}}}</includeonly>}}
+
#if:{{{childage|}}}{{{adultage|}}}{{{maxage|}}}|<nowiki/>
{{infocell|'''Raw materials'''}}
+
{{infoheader|Age}}
{{inforow|{{L|Bone}}s|<noinclude>''bones''</noinclude><includeonly>{{{bones|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}}
{{inforow|{{L|Skull}}s|<noinclude>''skulls''</noinclude><includeonly>{{{skulls|?}}}</includeonly>}}
+
{{inforow|Adult at:|{{{adultage}}}}}
{{inforow|{{L|Hoofs}}|<noinclude>''hoofs''</noinclude><includeonly>{{{hoofs|{{{size|?}}}}}}</includeonly>}}
+
{{inforow|Max age:|{{{maxage}}}}}}}
{{inforow|{{L|Horns}}|<noinclude>''horns''</noinclude><includeonly>{{{horns|{{{size|?}}}}}}</includeonly>}}
+
{{infoheader|{{#switch:{{{death|}}}
{{#ifeq:{{{butcher|yes}}}|no||{{inforow|{{L|Skin|Raw hides}}|<noinclude>''raw hides''</noinclude><includeonly>{{{hides|?}}}</includeonly>}}|{{!-}}}}
+
|rot=Rotting leaves
{{infocell|'''Value multiplier'''}}
+
|item=Becomes after death
{{inforow|{{L|value|Modvalue}}|<noinclude>''modvalue''</noinclude><includeonly>{{{modvalue|{{{size|?}}}}}}</includeonly>}}
+
|nobutcher=This creature cannot be butchered
{{#if:{{{modvalue|}}}:{{inforow|{{L|Modvalue}}|{{{modvalue}}}}}|{{!-}}}}
+
|butcher |#default=[[Meat industry|Butchering returns]]}}}}
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}}
+
{{#if:{{{valm|}}}|([[Multiply value|Value multiplier]] ×{{{valm|}}})}}
{{infoend}}
+
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
 
+
{{#switch:{{{death|}}}
<noinclude>{{documentation}}</noinclude>
+
|nobutcher
 +
|item={{!-}}
 +
|#default={{infocell|'''Food items'''}}}}
 +
{{#if:{{{meat|}}}|{{inforow|[[Meat]]|{{{meat|}}}}}|{{!-}}}}
 +
{{#if:{{{fat|}}}|{{inforow|[[Fat]]|{{{fat|}}}}}|{{!-}}}}
 +
{{#if:{{{brain|}}}|{{inforow|[[Brain]]|{{{brain|}}}}}|{{!-}}}}
 +
{{#if:{{{heart|}}}|{{inforow|[[Heart]]|{{{heart|}}}}}|{{!-}}}}
 +
{{#if:{{{lung|}}}|{{inforow|[[Lung]]s|{{{lung|}}}}}|{{!-}}}}
 +
{{#if:{{{intestine|}}}|{{inforow|[[Intestines]]|{{{intestine|}}}}}|{{!-}}}}
 +
{{#if:{{{liver|}}}|{{inforow|[[Liver]]|{{{liver|}}}}}|{{!-}}}}
 +
{{#if:{{{kidney|}}}|{{inforow|[[Kidney]]s|{{{kidney|}}}}}|{{!-}}}}
 +
{{#if:{{{tripe|}}}|{{inforow|[[Tripe]]|{{{tripe|}}}}}|{{!-}}}}
 +
{{#if:{{{sweetbread|}}}|{{inforow|[[Sweetbread]]|{{{sweetbread|}}}}}|{{!-}}}}
 +
{{#if:{{{eye|}}}|{{inforow|[[Eye]]s|{{{eye|}}}}}|{{!-}}}}
 +
{{#if:{{{spleen|}}}|{{inforow|[[Spleen]]|{{{spleen|}}}}}|{{!-}}}}
 +
{{#switch:{{{death|}}}
 +
|nobutcher
 +
|item={{!-}}
 +
|#default={{infocell|'''Raw materials'''}}}}
 +
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}}
 +
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}}
 +
{{#if:{{{ivory|}}}|{{inforow|[[Ivory]]|{{{ivory|}}}}}|{{!-}}}}
 +
{{#if:{{{tooth|}}}|{{inforow|[[Teeth]]|{{{tooth|}}}}}|{{!-}}}}
 +
{{#if:{{{hoof|}}}|{{inforow|[[Hooves]]|{{{hoof|}}}}}|{{!-}}}}
 +
{{#if:{{{horn|}}}|{{inforow|[[Horns]]|{{{horn|}}}}}|{{!-}}}}
 +
{{#if:{{{shell|}}}|{{inforow|[[Shell]]|{{{shell|}}}}}|{{!-}}}}
 +
{{#if:{{{skin|}}}|{{inforow|[[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:{{{wiki|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki|}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}}
 +
{{infoend}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 16:05, 27 July 2022

{{{name}}}

?

Biome

Any location

Cannot be tamed
Butchering returns

Food items

Raw materials

There is too little information about this creature.
Please contribute if you can!

[[wikipedia:{{{name}}}|Wikipedia article]]