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
(Undo revision 121515 by 178.66.127.203 (Talk) Ups)
m
 
(48 intermediate revisions by 7 users not shown)
Line 2: Line 2:
 
{{{name}}}}}
 
{{{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}}
 
{{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}}
{{infoheader|{{L|Biome}}}}
+
{{infoheader|Biome}}
{{#switch:{{{align|}}}
+
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Any location}}}}
|good={{infocell|'''In {{L|Surroundings#Good|good}} areas of'''}}
+
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
|evil={{infocell|'''In {{L|Surroundings#Evil|evil}} areas of'''}}
+
{{infoheader|Pet Attributes}}
|savage={{infocell|'''In {{L|Surroundings#savage|savage}} areas of'''}}
+
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
|neutral
+
{{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]]}}}}
|#default=
+
{{#if:{{{exotic}}}|{{infocell|Exotic - cannot be tamed}}}}|
}}
+
{{infoheader|Cannot be tamed}}}}{{
{{infocell|{{{biome|?}}}}}
+
#ifexpr:{{#expr:{{{size0|0}}}+{{{size1|0}}}+{{{size2|0}}}}}>0| 
 +
{{infoheader|Size}}
 +
{{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}}
 +
{{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 can not be butchered
+
|nobutcher=This creature cannot be butchered
|butcher |#default=Butchering returns}}}}
+
|butcher |#default=[[Meat industry|Butchering returns]]}}}}
{{#if: {{{valm|}}} | (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 22: 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}}|{{{lung|}}}}}|{{!-}}}}
+
{{#if:{{{lung|}}}|{{inforow|[[Lung]]s|{{{lung|}}}}}|{{!-}}}}
{{#if:{{{intestines|}}}|{{inforow|{{L|Intestines}}|{{{intestines|}}}}}|{{!-}}}}
+
{{#if:{{{intestine|}}}|{{inforow|[[Intestines]]|{{{intestine|}}}}}|{{!-}}}}
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{!-}}}}
+
{{#if:{{{liver|}}}|{{inforow|[[Liver]]|{{{liver|}}}}}|{{!-}}}}
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}|{{{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:{{{eyes|}}}|{{inforow|{{L|Eye}}s|{{{eyes|}}}}}|{{!-}}}}
+
{{#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:{{{bones|}}}|{{inforow|{{L|Bones}}|{{{bones|}}}}}|{{!-}}}}
+
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}}
{{#if:{{{skulls|}}}|{{inforow|{{L|Skull}}|{{{skulls|}}}}}|{{!-}}}}
+
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}}
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
+
{{#if:{{{ivory|}}}|{{inforow|[[Ivory]]|{{{ivory|}}}}}|{{!-}}}}
{{#if:{{{tooth|}}}|{{inforow|{{L|Tooth}}|{{{tooth|}}}}}|{{!-}}}}
+
{{#if:{{{tooth|}}}|{{inforow|[[Teeth]]|{{{tooth|}}}}}|{{!-}}}}
{{#if:{{{hoofs|}}}|{{inforow|{{L|Hoofs}}|{{{hoofs|}}}}}|{{!-}}}}
+
{{#if:{{{hoof|}}}|{{inforow|[[Hooves]]|{{{hoof|}}}}}|{{!-}}}}
{{#if:{{{horns|}}}|{{inforow|{{L|Horns}}|{{{horns|}}}}}|{{!-}}}}
+
{{#if:{{{horn|}}}|{{inforow|[[Horns]]|{{{horn|}}}}}|{{!-}}}}
{{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|}}}|hide=Raw hide |scale=Scales |chitin=Chitin |none |#default=not skinable}}}}|{{!-}}}}
+
{{#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:{{{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|{{{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}}
+
{{infoend}}<noinclude>{{documentation}}</noinclude>
 
 
<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]]