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
(rebuild the whole thing - please read the dokumentation)
Line 1: Line 1:
{{infostart|{{{name}}}}}
+
{{infostart|
{{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}}
+
{{{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}}
 
{{infoheader|{{L|Biome}}}}
 
{{infoheader|{{L|Biome}}}}
 +
{{#switch:{{{algin|}}}
 +
|good={{infocell|'''In {{L|Surroundings#Good|good}} areas of'''}}
 +
|evil={{infocell|'''In {{L|Surroundings#Evil|evil}} areas of'''}}
 +
|savage={{infocell|'''In {{L|Surroundings#savage|savage}} areas of'''}}
 +
|neutral
 +
|#default=
 +
}}
 
{{infocell|{{{biome|?}}}}}
 
{{infocell|{{{biome|?}}}}}
{{infoheader|{{#ifeq:{{{butcher|yes}}}|no|Rotting leaves|Butchering returns}}}}
+
{{infoheader|{{#switch:{{{death|}}} |rot=Rotting leaves |item=Turns after death to |butcher |#default=Butchering returns}}}}
{{infocell|'''Food'''}}
+
{{#if: {{{valm|}}} | (Value multiplier x{{{valm|}}})}}
{{inforow|{{L|Meat}}|<noinclude>''meat''</noinclude><includeonly>{{{meat|{{{size|?}}}}}}</includeonly>}}
+
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
{{inforow|{{L|Fat}}|<noinclude>''fat''</noinclude><includeonly>{{{fat|{{{size|?}}}}}}</includeonly>}}
+
{{#ifeq:{{{death|}}}|item|{{!-}}|{{infocell|'''Food items'''}}}}
{{inforow|{{L|Eye}}s|<noinclude>''eyes''</noinclude><includeonly>{{{eyes|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{meat|}}}|{{inforow|{{L|Meat}}|{{{meat|}}}}}|{{!-}}}}
{{inforow|{{L|Lung}}|<noinclude>''lung''</noinclude><includeonly>{{{lung|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{fat|}}}|{{inforow|{{L|Fat}}|{{{fat|}}}}}|{{!-}}}}
{{inforow|{{L|Heart}}|<noinclude>''heart''</noinclude><includeonly>{{{heart|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{brain|}}}|{{inforow|{{L|Brain}}|{{{brain|}}}}}|{{!-}}}}
{{inforow|{{L|Intestine}}s|<noinclude>''intestines''</noinclude><includeonly>{{{intestines|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{!-}}}}
{{inforow|{{L|Liver}}|<noinclude>''liver''</noinclude><includeonly>{{{liver|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{lung|}}}|{{inforow|{{L|Lung}}|{{{lung|}}}}}|{{!-}}}}
{{inforow|{{L|Tripe}}|<noinclude>''tripe''</noinclude><includeonly>{{{tripe|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{intestines|}}}|{{inforow|{{L|Intestines}}|{{{intestines|}}}}}|{{!-}}}}
{{inforow|{{L|Sweetbread}}|<noinclude>''sweetbread''</noinclude><includeonly>{{{sweetbread|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{!-}}}}
{{inforow|{{L|Spleen}}|<noinclude>''spleen''</noinclude><includeonly>{{{spleen|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}|{{{kidney|}}}}}|{{!-}}}}
{{inforow|{{L|Kidney}}|<noinclude>''kidney''</noinclude><includeonly>{{{kidney|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{!-}}}}
{{inforow|{{L|Brain}}|<noinclude>''brain''</noinclude><includeonly>{{{brain|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{!-}}}}
{{infocell|'''Raw materials'''}}
+
{{#if:{{{eyes|}}}|{{inforow|{{L|Eyes}}|{{{eyes|}}}}}|{{!-}}}}
{{inforow|{{L|Bone}}s|<noinclude>''bones''</noinclude><includeonly>{{{bones|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{!-}}}}
{{inforow|{{L|Ivory|Ivory/Tooth}}|<noinclude>''ivory''</noinclude><includeonly>{{{ivory|{{{size|?}}}}}}</includeonly>}}
+
{{#ifeq:{{{death|}}}|item|{{!-}}|{{infocell|'''Raw materials'''}}}}
{{inforow|{{L|Skull}}s|<noinclude>''skulls''</noinclude><includeonly>{{{skulls|?}}}</includeonly>}}
+
{{#if:{{{bones|}}}|{{inforow|{{L|Bones}}|{{{bones|}}}}}|{{!-}}}}
{{inforow|{{L|Hoofs}}|<noinclude>''hoofs''</noinclude><includeonly>{{{hoofs|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{skulls|}}}|{{inforow|{{L|Skull}}|{{{skulls|}}}}}|{{!-}}}}
{{inforow|{{L|Horns}}|<noinclude>''horns''</noinclude><includeonly>{{{horns|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
{{#ifeq:{{{butcher|yes}}}|no||{{inforow|{{L|Skin|Raw hides}}|<noinclude>''raw hides''</noinclude><includeonly>{{{hide|?}}}</includeonly>}}|{{!-}}}}
+
{{#if:{{{tooth|}}}|{{inforow|{{L|Tooth}}|{{{tooth|}}}}}|{{!-}}}}
{{infocell|'''Value multiplier'''}}
+
{{#if:{{{hoofes|}}}|{{inforow|{{L|Hoofes}}|{{{hoofes|}}}}}|{{!-}}}}
{{inforow|{{L|value|Modvalue}}|<noinclude>''modvalue''</noinclude><includeonly>{{{modvalue|{{{size|?}}}}}}</includeonly>}}
+
{{#if:{{{horns|}}}|{{inforow|{{L|Horns}}|{{{horns|}}}}}|{{!-}}}}
{{#if:{{{modvalue|}}}:{{inforow|{{L|Modvalue}}|{{{modvalue}}}}}|{{!-}}}}
+
{{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|}}}|hide=Raw hide |scale=Scales |chitin=Chitin |none |#default=not skinable}}}}|{{!-}}}}
{{#ifeq:{{{wiki}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|1={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}}
+
{{#ifeq:{{{contrib|}}}|no||{{infocell|style=text-align:center; background-color: #eee; border-top: 1px solid #aaa|''There are 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}}}}|{{!-}}}}
 
{{infoend}}
 
{{infoend}}
  
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 06:56, 28 June 2010

{{{name}}}

?

Template:L

?

Butchering returns

Food items

Raw materials

There are too little information about this creature.
Please contribute if you can!

Template:Wp