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
(Undo revision 121515 by 178.66.127.203 (Talk) Ups)
(added some links / added nail row / made singular AND plural stuff working)
Line 6: Line 6:
 
|good={{infocell|'''In {{L|Surroundings#Good|good}} areas of'''}}
 
|good={{infocell|'''In {{L|Surroundings#Good|good}} areas of'''}}
 
|evil={{infocell|'''In {{L|Surroundings#Evil|evil}} areas of'''}}
 
|evil={{infocell|'''In {{L|Surroundings#Evil|evil}} areas of'''}}
|savage={{infocell|'''In {{L|Surroundings#savage|savage}} areas of'''}}
+
|savage={{infocell|'''In {{L|Surroundings#Savage|savage}} areas of'''}}
 
|neutral
 
|neutral
 
|#default=
 
|#default=
 
}}
 
}}
{{infocell|{{{biome|?}}}}}
+
{{infocell|{{{biome|}}}}}
 
{{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 can not be butchered
|butcher |#default=Butchering returns}}}}
+
|butcher |#default={{L|Meat industry|Butchering returns}}}}}}
{{#if: {{{valm|}}} | (Value multiplier x{{{valm|}}})}}
+
{{#if: {{{valm|}}} | ({{L|Multiply value|Value multiplier}} x{{{valm|}}})}}
 
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
 
{{#ifeq:{{{death|}}}|item|{{infocell|{{{item|}}}}}|{{!-}}}}
 
{{#switch:{{{death|}}}
 
{{#switch:{{{death|}}}
Line 24: Line 24:
 
{{#if:{{{meat|}}}|{{inforow|{{L|Meat}}|{{{meat|}}}}}|{{!-}}}}
 
{{#if:{{{meat|}}}|{{inforow|{{L|Meat}}|{{{meat|}}}}}|{{!-}}}}
 
{{#if:{{{fat|}}}|{{inforow|{{L|Fat}}|{{{fat|}}}}}|{{!-}}}}
 
{{#if:{{{fat|}}}|{{inforow|{{L|Fat}}|{{{fat|}}}}}|{{!-}}}}
{{#if:{{{brain|}}}|{{inforow|{{L|Brain}}|{{{brain|}}}}}|{{!-}}}}
+
{{#if:{{{brain|}}}|{{inforow|{{L|Brain}}|{{{brain|}}}}}|{{#if:{{{brains|}}}|{{inforow|{{L|Brain}}|{{{brains|}}}}}|{{!-}}}}}}
{{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{!-}}}}
+
{{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{#if:{{{hearts|}}}|{{inforow|{{L|Heart}}|{{{hearts|}}}}}|{{!-}}}}}}
{{#if:{{{lung|}}}|{{inforow|{{L|Lung}}|{{{lung|}}}}}|{{!-}}}}
+
{{#if:{{{lung|}}}|{{inforow|{{L|Lung}}s|{{{lung|}}}}}|{{#if:{{{lungs|}}}|{{inforow|{{L|Lung}}s|{{{lungs|}}}}}|{{!-}}}}}}
{{#if:{{{intestines|}}}|{{inforow|{{L|Intestines}}|{{{intestines|}}}}}|{{!-}}}}
+
{{#if:{{{intestine|}}}|{{inforow|{{L|Intestines}}|{{{intestine|}}}}}|{{#if:{{{intestines|}}}|{{inforow|{{L|Intestines}}|{{{intestines|}}}}}|{{!-}}}}}}
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{!-}}}}
+
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{#if:{{{livers|}}}|{{inforow|{{L|Liver}}|{{{livers|}}}}}|{{!-}}}}}}
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}|{{{kidney|}}}}}|{{!-}}}}
+
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}s|{{{kidney|}}}}}|{{#if:{{{kidneys|}}}|{{inforow|{{L|Kidney}}s|{{{kidneys|1}}}}}|{{!-}}}}}}
{{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{!-}}}}
+
{{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{#if:{{{tripes|}}}|{{inforow|{{L|Tripe}}|{{{tripes|}}}}}|{{!-}}}}}}
{{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{!-}}}}
+
{{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{#if:{{{sweetbreads|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbreads|1}}}}}|{{!-}}}}}}
{{#if:{{{eyes|}}}|{{inforow|{{L|Eye}}s|{{{eyes|}}}}}|{{!-}}}}
+
{{#if:{{{eye|}}}|{{inforow|{{L|Eye}}s|{{{eye|}}}}}|{{#if:{{{eyes|}}}|{{inforow|{{L|Eye}}s|{{{eyes|}}}}}|{{!-}}}}}}
{{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{!-}}}}
+
{{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{#if:{{{spleens|}}}|{{inforow|{{L|Spleen}}|{{{spleens|}}}}}|{{!-}}}}}}
 
{{#switch:{{{death|}}}
 
{{#switch:{{{death|}}}
 
|nobutcher
 
|nobutcher
 
|item={{!-}}
 
|item={{!-}}
 
|#default={{infocell|'''Raw materials'''}}}}
 
|#default={{infocell|'''Raw materials'''}}}}
{{#if:{{{bones|}}}|{{inforow|{{L|Bones}}|{{{bones|}}}}}|{{!-}}}}
+
{{#if:{{{bone|}}}|{{inforow|{{L|Bones}}|{{{bone|}}}}}|{{#if:{{{bones|}}}|{{inforow|{{L|Bones}}|{{{bones|}}}}}|{{!-}}}}}}
{{#if:{{{skulls|}}}|{{inforow|{{L|Skull}}|{{{skulls|}}}}}|{{!-}}}}
+
{{#if:{{{skull|}}}|{{inforow|{{L|Skull}}|{{{skull|}}}}}|{{#if:{{{skulls|}}}|{{inforow|{{L|Skull}}|{{{skulls|}}}}}|{{!-}}}}}}
 
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
 
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
{{#if:{{{tooth|}}}|{{inforow|{{L|Tooth}}|{{{tooth|}}}}}|{{!-}}}}
+
{{#if:{{{tooth|}}}|{{inforow|{{L|Teeth}}|{{{tooth|}}}}}|{{#if:{{{Teeth|}}}|{{inforow|{{L|teeth}}|{{{teeth|}}}}}|{{!-}}}}}}
{{#if:{{{hoofs|}}}|{{inforow|{{L|Hoofs}}|{{{hoofs|}}}}}|{{!-}}}}
+
{{#if:{{{hoof|}}}|{{inforow|{{L|Hooves}}|{{{hoof|}}}}}|{{#if:{{{hooves|}}}|{{inforow|{{L|Hooves}}|{{{hooves|}}}}}|{{#if:{{{hoofs|}}}|{{inforow|{{L|Hooves}}|{{{hoofs|}}}}}|{{!-}}}}}}}}
{{#if:{{{horns|}}}|{{inforow|{{L|Horns}}|{{{horns|}}}}}|{{!-}}}}
+
{{#if:{{{nail|}}}|{{inforow|{{L|Nail}}|{{{nail|}}}}}|{{#if:{{{nail|}}}|{{inforow|{{L|Nail}}|{{{nails|}}}}}|{{!-}}}}}}
{{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|}}}|hide=Raw hide |scale=Scales |chitin=Chitin |none |#default=not skinable}}}}|{{!-}}}}
+
{{#if:{{{horn|}}}|{{inforow|{{L|Horns}}|{{{horn|}}}}}|{{#if:{{{horns|}}}|{{inforow|{{L|Horns}}|{{{horns|}}}}}|{{!-}}}}}}
{{#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:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|hide=Raw hide |scale=Scales |chitin=Chitin |none=not skinable}}}}|{{!-}}}}
 +
{{#ifeq:{{{contrib|no}}}|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={{wp|{{{wiki|{{{name}}}}}}|Wikipedia article}}}}|{{!-}}}}
 
{{infoend}}
 
{{infoend}}
  
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 07:06, 10 August 2010

{{{name}}}

?

Template:L
Template:L

Food items

Raw materials

Template:Wp