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 (cannot/can not was inconsistant; made it consistant)
m
 
(8 intermediate revisions by 4 users not shown)
Line 7: Line 7:
 
{{infoheader|Pet Attributes}}
 
{{infoheader|Pet Attributes}}
 
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
 
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
{{infocell|{{#switch:{{{train_hunt|0}}}{{{train_war|0}}}|11=Can be {{L|Kennel|trained}} for either hunting or for war|10=Can be {{L|Kennel|trained}} only for hunting|01=Can be {{L|Kennel|trained}} only for war|00=Cannot be {{L|Kennel|trained}}}}}}
+
{{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]]}}}}
{{#if:{{{exotic}}}|{{infocell|Exotic - A {{L|dungeon master}} must be present to tame this creature}}}}|
+
{{#if:{{{exotic}}}|{{infocell|Exotic - cannot be tamed}}}}|
{{infoheader|Cannot be tamed}}}}
+
{{infoheader|Cannot be tamed}}}}{{
 +
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0| 
 
{{infoheader|Size}}
 
{{infoheader|Size}}
{{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>}}}}}}
+
{{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Birth:'''|{{formatnum:{{{size0}}} cm<sup>3</sup> }}}}
 +
{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Mid:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}
 +
|{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Birth:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}}}
 +
{{#ifexpr:{{{size2|0}}}>0|{{inforow|'''Max:'''|{{formatnum:{{{size2}}} cm<sup>3</sup> }}}}}}}}||}}
 
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
 
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
{{infocell|{{{alignment}}}|style=text-align:center}}}}
+
{{infocell|{{{alignment}}}|style=text-align:center}}}}{{
 +
#if:{{{childage|}}}{{{adultage|}}}{{{maxage|}}}|<nowiki/>
 +
{{infoheader|Age}}
 +
{{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}}
 +
{{inforow|Adult at:|{{{adultage}}}}}
 +
{{inforow|Max age:|{{{maxage}}}}}}}
 
{{infoheader|{{#switch:{{{death|}}}
 
{{infoheader|{{#switch:{{{death|}}}
 
|rot=Rotting leaves
 
|rot=Rotting leaves
 
|item=Becomes after death
 
|item=Becomes after death
 
|nobutcher=This creature cannot be butchered
 
|nobutcher=This creature cannot be butchered
|butcher |#default={{L|Meat industry|Butchering returns}}}}}}
+
|butcher |#default=[[Meat industry|Butchering returns]]}}}}
{{#if:{{{valm|}}}|({{L|Multiply value|Value multiplier}} x{{{valm|}}})}}
+
{{#if:{{{valm|}}}|([[Multiply value|Value multiplier]] ×{{{valm|}}})}}
 
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
 
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
 
{{#switch:{{{death|}}}
 
{{#switch:{{{death|}}}
Line 25: Line 34:
 
|item={{!-}}
 
|item={{!-}}
 
|#default={{infocell|'''Food items'''}}}}
 
|#default={{infocell|'''Food items'''}}}}
{{#if:{{{meat|}}}|{{inforow|{{L|Meat}}|{{{meat|}}}}}|{{!-}}}}
+
{{#if:{{{meat|}}}|{{inforow|[[Meat]]|{{{meat|}}}}}|{{!-}}}}
{{#if:{{{fat|}}}|{{inforow|{{L|Fat}}|{{{fat|}}}}}|{{!-}}}}
+
{{#if:{{{fat|}}}|{{inforow|[[Fat]]|{{{fat|}}}}}|{{!-}}}}
{{#if:{{{brain|}}}|{{inforow|{{L|Brain}}|{{{brain|}}}}}|{{!-}}}}
+
{{#if:{{{brain|}}}|{{inforow|[[Brain]]|{{{brain|}}}}}|{{!-}}}}
{{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{!-}}}}
+
{{#if:{{{heart|}}}|{{inforow|[[Heart]]|{{{heart|}}}}}|{{!-}}}}
{{#if:{{{lung|}}}|{{inforow|{{L|Lung}}s|{{{lung|}}}}}|{{!-}}}}
+
{{#if:{{{lung|}}}|{{inforow|[[Lung]]s|{{{lung|}}}}}|{{!-}}}}
{{#if:{{{intestine|}}}|{{inforow|{{L|Intestines}}|{{{intestine|}}}}}|{{!-}}}}
+
{{#if:{{{intestine|}}}|{{inforow|[[Intestines]]|{{{intestine|}}}}}|{{!-}}}}
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{!-}}}}
+
{{#if:{{{liver|}}}|{{inforow|[[Liver]]|{{{liver|}}}}}|{{!-}}}}
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}s|{{{kidney|}}}}}|{{!-}}}}
+
{{#if:{{{kidney|}}}|{{inforow|[[Kidney]]s|{{{kidney|}}}}}|{{!-}}}}
{{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{!-}}}}
+
{{#if:{{{tripe|}}}|{{inforow|[[Tripe]]|{{{tripe|}}}}}|{{!-}}}}
{{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{!-}}}}
+
{{#if:{{{sweetbread|}}}|{{inforow|[[Sweetbread]]|{{{sweetbread|}}}}}|{{!-}}}}
{{#if:{{{eye|}}}|{{inforow|{{L|Eye}}s|{{{eye|}}}}}|{{!-}}}}
+
{{#if:{{{eye|}}}|{{inforow|[[Eye]]s|{{{eye|}}}}}|{{!-}}}}
{{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{!-}}}}
+
{{#if:{{{spleen|}}}|{{inforow|[[Spleen]]|{{{spleen|}}}}}|{{!-}}}}
 
{{#switch:{{{death|}}}
 
{{#switch:{{{death|}}}
 
|nobutcher
 
|nobutcher
 
|item={{!-}}
 
|item={{!-}}
 
|#default={{infocell|'''Raw materials'''}}}}
 
|#default={{infocell|'''Raw materials'''}}}}
{{#if:{{{bone|}}}|{{inforow|{{L|Bones}}|{{{bone|}}}}}|{{!-}}}}
+
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}}
{{#if:{{{skull|}}}|{{inforow|{{L|Skull}}|{{{skull|}}}}}|{{!-}}}}
+
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}}
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
+
{{#if:{{{ivory|}}}|{{inforow|[[Ivory]]|{{{ivory|}}}}}|{{!-}}}}
{{#if:{{{tooth|}}}|{{inforow|{{L|Teeth}}|{{{tooth|}}}}}|{{!-}}}}
+
{{#if:{{{tooth|}}}|{{inforow|[[Teeth]]|{{{tooth|}}}}}|{{!-}}}}
{{#if:{{{hoof|}}}|{{inforow|{{L|Hooves}}|{{{hoof|}}}}}|{{!-}}}}
+
{{#if:{{{hoof|}}}|{{inforow|[[Hooves]]|{{{hoof|}}}}}|{{!-}}}}
{{#if:{{{horn|}}}|{{inforow|{{L|Horns}}|{{{horn|}}}}}|{{!-}}}}
+
{{#if:{{{horn|}}}|{{inforow|[[Horns]]|{{{horn|}}}}}|{{!-}}}}
{{#if:{{{shell|}}}|{{inforow|{{L|Shell}}|{{{shell|}}}}}|{{!-}}}}
+
{{#if:{{{shell|}}}|{{inforow|[[Shell]]|{{{shell|}}}}}|{{!-}}}}
{{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default='''Unknown'''}}}}|{{!-}}}}
+
{{#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:{{{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={{wp|{{#if:{{{wiki|}}}|{{{wiki|}}}|{{{name}}}}}|Wikipedia article}}}}|{{!-}}}}
+
{{#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>
 
{{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]]