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
(more complexity)
m (×)
 
(41 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
+
{{infostart|{{{name}}}}}
|+ style="font-weight: bold" |{{{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}}
|-
+
{{infoheader|[[Biome]]}}
| colspan="2" |  
+
{{infocell|{{#if:{{{biome|}}}|{{{biome|}}}|Special}}}}
{| style="border-spacing: 0; background: black; padding: 0.2em; border: 1px solid white; margin: 0.5em auto"
+
{{#ifexpr:{{#if:{{{alignment|}}}|1|0}} or {{#ifexpr:{{{bldgdest|0}}}>0|1|0}} or {{#if:{{{attribs|}}}|1|0}}|
|-
+
{{infoheader|Attributes}}
! colspan="2" style="font-size: 200%; background: #000; padding: 0.1em 0.25em;color:{{{color}}};" | {{{symbol}}}
+
{{#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}}}}|{{!-}}}}
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[Biome]]
+
{{#ifexpr:{{#if:{{{pet|}}}|1|0}} or {{#if:{{{exotic|}}}|1|0}}|
|-
+
{{infoheader|Tamed Attributes}}
| colspan="2" style="padding: 0.25em" |
+
{{inforow|Pet value|{{formatnum:{{{petvalue|0}}}}}}}
{{{biome|?}}}
+
{{#if:{{{tame_attribs|}}}|{{infocell|{{span-hide}}{{{tame_attribs}}}{{end-span}}}}|{{!-}}}}
|-
+
{{infocell|{{#ifexpr:{{#expr:{{{train_hunt|0}}}+{{{train_war|0}}}>0}}
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | {{#ifeq:{{{butcher|yes}}}|no|Rotting leaves|Butchering returns}}
+
|[[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}}
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Bone]]s
+
{{#if:{{{childage|}}}|{{inforow|Child at:|{{{childage}}}}}}}
| style="text-align: right; padding: 0.1em 0.25em" | {{{bones|?}}}
+
{{inforow|Adult at:|{{{adultage}}}}}
|-
+
{{inforow|Max age:|{{{maxage}}}}}}}
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" |  
+
{{#if:{{{item|}}}|{{infoheader|Becomes after death}}
[[Chunk]]s
+
{{infocell|{{{item|}}}}}|
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{butcher|yes}}}|no|N/A|{{{chunks|{{{size|<noinclude>''{{{chunks}}}''</noinclude><includeonly>?</includeonly>}}}}}}}}
+
{{infoheader|{{#ifeq:{{{butcher|yes}}}|no|Rotting leaves|Butchering returns}}}}
|-
+
{{#if:{{{modvalue|}}}|([[Modvalue|Value multiplier]] ×{{{modvalue|}}})}}
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Meat]]
+
{{inforow|[[Bone]]s|{{{bones|{{{size|<noinclude>''bones''</noinclude><includeonly>?</includeonly>}}}}}}}}
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{butcher|yes}}}|no|N/A|{{{meat|{{{size|<noinclude>''{{{meat}}}''</noinclude><includeonly>?</includeonly>}}}}}}}}
+
{{#ifeq:{{{butcher|yes}}}|no||
|-
+
{{inforow|[[Chunk]]s|<noinclude>''chunks''</noinclude><includeonly>{{{chunks|{{{size|?}}}}}}</includeonly>}}
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" |
+
{{inforow|[[Meat]]|<noinclude>''meat''</noinclude><includeonly>{{{meat|{{{size|?}}}}}}</includeonly>}}
[[Fat]]
+
{{inforow|[[Fat]]|<noinclude>''fat''</noinclude><includeonly>{{{fat|?}}}</includeonly>}}
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{butcher|yes}}}|no|N/A|{{{fat|<noinclude>''{{{fat}}}''</noinclude><includeonly>?</includeonly>}}}}}
+
|{{!-}}}}
|-
+
{{inforow|[[Skull]]s|<noinclude>''skulls''</noinclude><includeonly>{{{skulls|?}}}</includeonly>}}
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" |
+
{{#ifeq:{{{butcher|yes}}}|no||{{inforow|[[Skin]]|<noinclude>''skin''</noinclude><includeonly>{{{skin|?}}}</includeonly>}}|{{!-}}}}}}
[[Skull]]s
+
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1=[[wikipedia:{{#if:{{{wiki|}}}|{{{wiki}}}|{{{name}}}}}|Wikipedia article]]}}|{{!-}}}}
| style="text-align: right; padding: 0.1em 0.25em" | {{{skulls|<noinclude>''{{{skulls}}}''</noinclude><includeonly>?</includeonly>}}}}}
+
{{infoend}}<noinclude>{{documentation}}</noinclude>
|-
 
! style="text-align: left; white-space: nowrap; font-weight: normal; padding: 0.1em 0.25em" | [[Skin]]
 
| style="text-align: right; padding: 0.1em 0.25em" | {{#ifeq:{{{butcher|yes}}}|no|N/A|{{{skin|{{{size|<noinclude>''{{{skin}}}''</noinclude><includeonly>?</includeonly>}}}}}}}}
 
{{#if:{{{modvalue|<noinclude>{{{modvalue}}}</noinclude>}}}|{{!-}}
 
{{!}} colspan="2" style="border-top:1px solid #aaa; font-size:small" {{!}} Items made from this creature's byproducts are worth {{{modvalue}}} times as much as from common animals such as donkey.}}
 
{{#ifeq: {{{wiki}}}|no||
 
{{!-}}
 
{{!}} colspan="2" style="border-top: 1px solid #aaa; border-bottom: 0px solid #aaa; background: #eee; font-size:90%; text-align:center;" {{!}} [http://en.wikipedia.org/wiki/{{anchorencode:{{{name}}}}} Wikipedia article]}}
 
|}<noinclude>
 
<br><br><br><br><br><br><br><br><br><br><br><br>
 
Usage:
 
<pre><nowiki>
 
{{CreatureInfo|name=Elephant|symbol=E|color=rgb(192, 192, 192)|
 
bones=16|chunks=16|meat=16|fat=10|skulls=1|skin=Yes|
 
biome=
 
* Any tropical forest
 
* Tropical shrubland
 
}}
 
</nowiki></pre>
 
 
 
{{CreatureInfo|name=Elephant|symbol=E|color=rgb(192, 192, 192)|
 
bones=16|chunks=16|meat=16|fat=10|skulls=1|skin=Yes
 
|biome=
 
* Any tropical forest
 
* Tropical shrubland
 
}}
 
 
 
[[Category:Templates]]
 
</noinclude>
 

Latest revision as of 16:03, 27 July 2022

{{{name}}}

?

Biome

Special

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

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