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.34"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (×)
 
(65 intermediate revisions by 10 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}}
 +
{{#if:{{{pref|}}}|{{infopref|{{{pref}}}}}}}
 
{{infoheader|Biome}}
 
{{infoheader|Biome}}
 
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Any location}}}}
 
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Any location}}}}
 +
{{#ifeq:{{{vary|no}}}|no|{{!-}}|
 +
{{infoheader|Variations}}
 +
{{infocell|{{{vary|unknown}}} }} }}
 +
{{#ifexpr:{{#if:{{{alignment|}}}|1|0}} or {{#ifexpr:{{{bldgdest|0}}}>0|1|0}} or {{#if:{{{attribs|}}}|1|0}}|
 +
{{infoheader|Attributes}}
 +
{{#if:{{{alignment|}}}|{{inforow|Alignment:|{{{alignment}}} }}|{{!-}}}}
 +
{{#ifexpr:{{{bldgdest|0}}}>0|{{infocell|[[Building destroyer]]: Level {{{bldgdest}}}{{Category|Building destroyer}}}}|{{!-}}}}}}
 +
{{#if:{{{attribs|}}}|{{infocell|{{span-hide}}{{{attribs}}}{{end-span}}}}|{{!-}}}}
 
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
 
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
{{infoheader|Pet Attributes}}
+
{{infoheader|Tamed Attributes}}
 
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
 
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
{{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:{{{grazer|}}}|{{inforow|[[Grazer]]:|{{{grazer}}} {{Category|Grazer}}}}|{{!-}}}}
{{#if:{{{exotic}}}|{{infocell|Exotic - Requires special knowledge for training}}}}|
+
{{#if:{{{tame_attribs|}}}|{{infocell|{{span-hide}}{{{tame_attribs}}}{{end-span}}}}|{{!-}}}}
{{infoheader|Can be tamed}}}}
+
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}}
 +
|[[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| 
 
{{infoheader|Size}}
 
{{infoheader|Size}}
{{infocell|{{#if:{{{size0|}}}|'''Child body size'''<br />{{formatnum:{{{size0|}}} cm<sup>3</sup><br />}}}}{{#if:{{{size1|}}}|'''Adolescent body size'''<br />{{formatnum:{{{size1|}}} cm<sup>3</sup><br />}}}}{{#if:{{{size2|}}}|'''Adult body size'''<br />{{formatnum:{{{size2|}}} cm<sup>3</sup>}}}}}}
+
{{infocell|{{#ifexpr:{{{size0|0}}}>0|{{inforow|'''Birth:'''|{{formatnum:{{{size0}}} cm<sup>3</sup> }}}}
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
+
{{#ifexpr:{{{size1|0}}}>0|{{inforow|'''Mid:'''|{{formatnum:{{{size1}}} cm<sup>3</sup> }}}}}}
{{infocell|{{{alignment}}}|style=text-align:center}}}}
+
|{{#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:{{{eggs|}}}|{{infoheader|[[Food|Food products]]}}
 +
{{#if:{{{eggs|}}}|{{inforow|[[Egg]]s|{{{eggs}}}}}}}}}{{
 +
#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=Cannot be butchered
 
|butcher |#default=[[Meat industry|Butchering returns]]}}}}
 
|butcher |#default=[[Meat industry|Butchering returns]]}}}}
{{#if:{{{valm|}}}|([[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|}}}
 
|nobutcher
 
|nobutcher
 
|item={{!-}}
 
|item={{!-}}
|#default={{infocell|'''Food items'''}}}}
+
|#default={{infocell|'''Food items'''}}
 
{{#if:{{{meat|}}}|{{inforow|[[Meat]]|{{{meat|}}}}}|{{!-}}}}
 
{{#if:{{{meat|}}}|{{inforow|[[Meat]]|{{{meat|}}}}}|{{!-}}}}
 
{{#if:{{{fat|}}}|{{inforow|[[Fat]]|{{{fat|}}}}}|{{!-}}}}
 
{{#if:{{{fat|}}}|{{inforow|[[Fat]]|{{{fat|}}}}}|{{!-}}}}
 
{{#if:{{{brain|}}}|{{inforow|[[Brain]]|{{{brain|}}}}}|{{!-}}}}
 
{{#if:{{{brain|}}}|{{inforow|[[Brain]]|{{{brain|}}}}}|{{!-}}}}
 +
{{#if:{{{gizzard|}}}|{{inforow|[[Gizzard]]|{{{gizzard|}}}}}|{{!-}}}}
 
{{#if:{{{heart|}}}|{{inforow|[[Heart]]|{{{heart|}}}}}|{{!-}}}}
 
{{#if:{{{heart|}}}|{{inforow|[[Heart]]|{{{heart|}}}}}|{{!-}}}}
 
{{#if:{{{lung|}}}|{{inforow|[[Lung]]s|{{{lung|}}}}}|{{!-}}}}
 
{{#if:{{{lung|}}}|{{inforow|[[Lung]]s|{{{lung|}}}}}|{{!-}}}}
Line 37: Line 57:
 
{{#if:{{{eye|}}}|{{inforow|[[Eye]]s|{{{eye|}}}}}|{{!-}}}}
 
{{#if:{{{eye|}}}|{{inforow|[[Eye]]s|{{{eye|}}}}}|{{!-}}}}
 
{{#if:{{{spleen|}}}|{{inforow|[[Spleen]]|{{{spleen|}}}}}|{{!-}}}}
 
{{#if:{{{spleen|}}}|{{inforow|[[Spleen]]|{{{spleen|}}}}}|{{!-}}}}
{{#switch:{{{death|}}}
+
{{infocell|'''Raw materials'''}}
|nobutcher
 
|item={{!-}}
 
|#default={{infocell|'''Raw materials'''}}}}
 
 
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}}
 
{{#if:{{{bone|}}}|{{inforow|[[Bones]]|{{{bone|}}}}}|{{!-}}}}
 
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}}
 
{{#if:{{{skull|}}}|{{inforow|[[Skull]]|{{{skull|}}}}}|{{!-}}}}
Line 48: Line 65:
 
{{#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}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default='''Unknown'''}}}}|{{!-}}}}
+
{{#if:{{{skin|}}}|{{inforow|[[Skin]]|{{#switch:{{{skin|}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default={{{skin|}}}}}}}|{{!-}}}}
{{#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!''}}|{{!-}}}}
+
{{#if:{{{wool|}}}|{{inforow|[[Wool]]|{{{wool|}}}}}|{{!-}}}}
{{#ifeq:{{{wiki|}}}|no|{{!-}}|{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki|}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}}
+
{{#if:{{{feather|}}}|{{inforow|[[Feather]]|{{{feather|}}}}}|{{!-}}}}
 +
{{#if:{{{gizzard_stone|}}}|{{inforow|[[Gizzard stone]]|{{{gizzard_stone|}}}}}|{{!-}}}}
 +
{{#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!''{{Category|Incomplete butchering returns|{{PAGENAME}}}}}}|{{!-}}}}
 +
}}
 +
{{#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}}</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!