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 40d"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Still testing.)
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{infostart|{{{name}}}}}
 
{{infostart|{{{name}}}}}
 
{{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}}
 
{{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}}
{{infoheader|{{L|Biome}}}}
+
{{Infoportrait|Portrait}}
 +
{{infoheader|[[Biome]]}}
 
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Special}}}}
 
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Special}}}}
{{#if:{{{alignment|}}}|{{infoheader|Alignment}}
+
{{#ifexpr:{{#if:{{{alignment|}}}|1|0}} or {{#ifexpr:{{{bldgdest|0}}}>0|1|0}} or {{#if:{{{attribs|}}}|1|0}}|
{{infocell|{{{alignment}}}|style=text-align:center}}
+
{{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}}|
 +
{{infoheader|Tamed Attributes}}
 +
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
 +
{{#if:{{{tame_attribs|}}}|{{infocell|{{span-hide}}{{{tame_attribs}}}{{end-span}}}}|{{!-}}}}
 +
{{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 hunting/war [[Animal trainer|trainable]]}}}}|{{infoheader|bg=#fbb|Cannot be tamed}}}}
 +
{{#if:{{{childage|}}}{{{adultage|}}}{{{maxage|}}}|<nowiki/>
 +
{{infoheader|Age}}
 +
{{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}}
 +
{{inforow|Adult at:|{{{adultage}}}}}
 +
{{inforow|Max age:|{{{maxage}}}}}}}
 
{{#if:{{{item|}}}|{{infoheader|Becomes after death}}
 
{{#if:{{{item|}}}|{{infoheader|Becomes after death}}
 
{{infocell|{{{item|}}}}}|
 
{{infocell|{{{item|}}}}}|
 
{{infoheader|{{#ifeq:{{{butcher|yes}}}|no|Rotting leaves|Butchering returns}}}}
 
{{infoheader|{{#ifeq:{{{butcher|yes}}}|no|Rotting leaves|Butchering returns}}}}
{{inforow|{{L|Bone}}s|{{{bones|{{{size|<noinclude>''bones''</noinclude><includeonly>?</includeonly>}}}}}}}}
+
{{#if:{{{modvalue|}}}|([[Modvalue|Value multiplier]] ×{{{modvalue|}}})}}
 +
{{inforow|[[Bone]]s|{{{bones|{{{size|<noinclude>''bones''</noinclude><includeonly>?</includeonly>}}}}}}}}
 
{{#ifeq:{{{butcher|yes}}}|no||
 
{{#ifeq:{{{butcher|yes}}}|no||
{{inforow|{{L|Chunk}}s|<noinclude>''chunks''</noinclude><includeonly>{{{chunks|{{{size|?}}}}}}</includeonly>}}
+
{{inforow|[[Chunk]]s|<noinclude>''chunks''</noinclude><includeonly>{{{chunks|{{{size|?}}}}}}</includeonly>}}
{{inforow|{{L|Meat}}|<noinclude>''meat''</noinclude><includeonly>{{{meat|{{{size|?}}}}}}</includeonly>}}
+
{{inforow|[[Meat]]|<noinclude>''meat''</noinclude><includeonly>{{{meat|{{{size|?}}}}}}</includeonly>}}
{{inforow|{{L|Fat}}|<noinclude>''fat''</noinclude><includeonly>{{{fat|?}}}</includeonly>}}
+
{{inforow|[[Fat]]|<noinclude>''fat''</noinclude><includeonly>{{{fat|?}}}</includeonly>}}
 
|{{!-}}}}
 
|{{!-}}}}
{{inforow|{{L|Skull}}s|<noinclude>''skulls''</noinclude><includeonly>{{{skulls|?}}}</includeonly>}}
+
{{inforow|[[Skull]]s|<noinclude>''skulls''</noinclude><includeonly>{{{skulls|?}}}</includeonly>}}
{{#ifeq:{{{butcher|yes}}}|no||{{inforow|{{L|Skin}}|<noinclude>''skin''</noinclude><includeonly>{{{skin|?}}}</includeonly>}}|{{!-}}}}
+
{{#ifeq:{{{butcher|yes}}}|no||{{inforow|[[Skin]]|<noinclude>''skin''</noinclude><includeonly>{{{skin|?}}}</includeonly>}}|{{!-}}}}}}
{{#if:{{{modvalue|}}}:{{inforow|{{L|Modvalue}}|{{{modvalue}}}}}|{{!-}}}}}}
+
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}}
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{#if:{{{wiki|}}}|{{{wiki}}}|{{{name}}}}}|Wikipedia article}}}}|{{!-}}}}
 
 
{{infoend}}<noinclude>{{documentation}}</noinclude>
 
{{infoend}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 19:41, 24 April 2024

{{{name}}}

?

Portrait
Biome

Special

Cannot be tamed
Butchering returns
Bones bones
Chunks chunks
Meat meat
Fat fat
Skulls skulls
Skin skin

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