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
(remove all plural parameters - stick with singular, and categorize all pages that use the plurals (using the "Unknown Quality Articles" category for now))
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:{{{brains|}}}|{{inforow|{{L|Brain}}|{{{brains|}}}}}|{{!-}}}}}}
+
{{#if:{{{brain|}}}|{{inforow|{{L|Brain}}|{{{brain|}}}}}|{{!-}}}}
{{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{#if:{{{hearts|}}}|{{inforow|{{L|Heart}}|{{{hearts|}}}}}|{{!-}}}}}}
+
{{#if:{{{heart|}}}|{{inforow|{{L|Heart}}|{{{heart|}}}}}|{{!-}}}}
{{#if:{{{lung|}}}|{{inforow|{{L|Lung}}s|{{{lung|}}}}}|{{#if:{{{lungs|}}}|{{inforow|{{L|Lung}}s|{{{lungs|}}}}}|{{!-}}}}}}
+
{{#if:{{{lung|}}}|{{inforow|{{L|Lung}}s|{{{lung|}}}}}|{{!-}}}}
{{#if:{{{intestine|}}}|{{inforow|{{L|Intestines}}|{{{intestine|}}}}}|{{#if:{{{intestines|}}}|{{inforow|{{L|Intestines}}|{{{intestines|}}}}}|{{!-}}}}}}
+
{{#if:{{{intestine|}}}|{{inforow|{{L|Intestines}}|{{{intestine|}}}}}|{{!-}}}}
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{#if:{{{livers|}}}|{{inforow|{{L|Liver}}|{{{livers|}}}}}|{{!-}}}}}}
+
{{#if:{{{liver|}}}|{{inforow|{{L|Liver}}|{{{liver|}}}}}|{{!-}}}}
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}s|{{{kidney|}}}}}|{{#if:{{{kidneys|}}}|{{inforow|{{L|Kidney}}s|{{{kidneys|1}}}}}|{{!-}}}}}}
+
{{#if:{{{kidney|}}}|{{inforow|{{L|Kidney}}s|{{{kidney|}}}}}|{{!-}}}}
{{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{#if:{{{tripes|}}}|{{inforow|{{L|Tripe}}|{{{tripes|}}}}}|{{!-}}}}}}
+
{{#if:{{{tripe|}}}|{{inforow|{{L|Tripe}}|{{{tripe|}}}}}|{{!-}}}}
{{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{#if:{{{sweetbreads|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbreads|1}}}}}|{{!-}}}}}}
+
{{#if:{{{sweetbread|}}}|{{inforow|{{L|Sweetbread}}|{{{sweetbread|}}}}}|{{!-}}}}
{{#if:{{{eye|}}}|{{inforow|{{L|Eye}}s|{{{eye|}}}}}|{{#if:{{{eyes|}}}|{{inforow|{{L|Eye}}s|{{{eyes|}}}}}|{{!-}}}}}}
+
{{#if:{{{eye|}}}|{{inforow|{{L|Eye}}s|{{{eye|}}}}}|{{!-}}}}
{{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{#if:{{{spleens|}}}|{{inforow|{{L|Spleen}}|{{{spleens|}}}}}|{{!-}}}}}}
+
{{#if:{{{spleen|}}}|{{inforow|{{L|Spleen}}|{{{spleen|}}}}}|{{!-}}}}
 
{{#switch:{{{death|}}}
 
{{#switch:{{{death|}}}
 
|nobutcher
 
|nobutcher
 
|item={{!-}}
 
|item={{!-}}
 
|#default={{infocell|'''Raw materials'''}}}}
 
|#default={{infocell|'''Raw materials'''}}}}
{{#if:{{{bone|}}}|{{inforow|{{L|Bones}}|{{{bone|}}}}}|{{#if:{{{bones|}}}|{{inforow|{{L|Bones}}|{{{bones|}}}}}|{{!-}}}}}}
+
{{#if:{{{bone|}}}|{{inforow|{{L|Bones}}|{{{bone|}}}}}|{{!-}}}}
{{#if:{{{skull|}}}|{{inforow|{{L|Skull}}|{{{skull|}}}}}|{{#if:{{{skulls|}}}|{{inforow|{{L|Skull}}|{{{skulls|}}}}}|{{!-}}}}}}
+
{{#if:{{{skull|}}}|{{inforow|{{L|Skull}}|{{{skull|}}}}}|{{!-}}}}
 
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
 
{{#if:{{{ivory|}}}|{{inforow|{{L|Ivory}}|{{{ivory|}}}}}|{{!-}}}}
{{#if:{{{tooth|}}}|{{inforow|{{L|Teeth}}|{{{tooth|}}}}}|{{#if:{{{Teeth|}}}|{{inforow|{{L|teeth}}|{{{teeth|}}}}}|{{!-}}}}}}
+
{{#if:{{{tooth|}}}|{{inforow|{{L|Teeth}}|{{{tooth|}}}}}|{{!-}}}}
{{#if:{{{hoof|}}}|{{inforow|{{L|Hooves}}|{{{hoof|}}}}}|{{#if:{{{hooves|}}}|{{inforow|{{L|Hooves}}|{{{hooves|}}}}}|{{#if:{{{hoofs|}}}|{{inforow|{{L|Hooves}}|{{{hoofs|}}}}}|{{!-}}}}}}}}
+
{{#if:{{{hoof|}}}|{{inforow|{{L|Hooves}}|{{{hoof|}}}}}|{{!-}}}}
{{#if:{{{horn|}}}|{{inforow|{{L|Horns}}|{{{horn|}}}}}|{{#if:{{{horns|}}}|{{inforow|{{L|Horns}}|{{{horns|}}}}}|{{!-}}}}}}
+
{{#if:{{{horn|}}}|{{inforow|{{L|Horns}}|{{{horn|}}}}}|{{!-}}}}
 
{{#if:{{{shell|}}}|{{inforow|{{L|Shell}}|{{{shell|}}}}}|{{!-}}}}
 
{{#if:{{{shell|}}}|{{inforow|{{L|Shell}}|{{{shell|}}}}}|{{!-}}}}
{{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable}}}}|{{!-}}}}
+
{{#if:{{{skin|}}}|{{inforow|{{L|Skin}}|{{#switch:{{{skin|hide}}}|hide=Raw hide|scale=Scales|chitin=Chitin|none=not skinnable|#default='''Unknown'''}}}}|{{!-}}}}
 
{{#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!''}}|{{!-}}}}
 
{{#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!''}}|{{!-}}}}
 
{{#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}}
 +
{{#if:{{{brains|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{hearts|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{lungs|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{intestines|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{livers|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{kidneys|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{tripes|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{sweetbreads|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{eyes|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{spleens|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{bones|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{skulls|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{Teeth|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{hooves|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{hoofs|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{horns|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{nail|}}|[[Category:DF2010:Unknown Quality Articles]]}}
 +
{{#if:{{{nails|}}|[[Category:DF2010:Unknown Quality Articles]]}}
  
 
<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Revision as of 03:52, 7 November 2010

{{{name}}}

?

Template:L
Template:L

Food items

Raw materials

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

Template:Wp