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
 
(41 intermediate revisions by 6 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={{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 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}}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'''[[Category:DF2010:Unknown Quality Articles]]}}}}|{{!-}}}}
+
{{#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>
{{#if:{{{brains|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{hearts|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{lungs|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{intestines|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{livers|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{kidneys|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{tripes|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{sweetbreads|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{eyes|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{spleens|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{bones|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{skulls|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{teeth|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{Teeth|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{hooves|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{hoofs|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{horns|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{nail|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
{{#if:{{{nails|}}}|[[Category:DF2010:Unknown Quality Articles]]}}
 
 
 
<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]]