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:Creature row"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 2: Line 2:
 
|symbol={{char|{{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|CREATURE_TILE}}}}|
 
|symbol={{char|{{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|CREATURE_TILE}}}}|
 
|color={{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|COLOR}}
 
|color={{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|COLOR}}
|name={{{name}}}
+
|name=[[{{{namespace|{{NAMESPACE}}}}}:{{{name}}}|{{{name}}}
 
|hostile={{#if: {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|PRONE_TO_RAGE}}|Yes|{{#if: {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|LARGE_PREDATOR}}|Yes|{{#if: {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BENIGN}}|No|Variable}}}}}}
 
|hostile={{#if: {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|PRONE_TO_RAGE}}|Yes|{{#if: {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|LARGE_PREDATOR}}|Yes|{{#if: {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BENIGN}}|No|Variable}}}}}}
 
|food={{#ifexpr:{{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|INTELLIGENT}}|1|0}} or {{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|CAN_LEARN}}|1|0}} or {{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|NOT_BUTCHERABLE}}|1|0}}|No|Yes}}
 
|food={{#ifexpr:{{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|INTELLIGENT}}|1|0}} or {{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|CAN_LEARN}}|1|0}} or {{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|NOT_BUTCHERABLE}}|1|0}}|No|Yes}}

Revision as of 18:32, 10 July 2013

Usage:

{{CreatureCurrent table head}}

{{Creature row|name=Dwarf|namespace=DF2012|features=Beards}}

namespace is optional as long as the current page resides in the target namespace

features is optional

Tile Name Playable Hostile Food Source Adult Body Size Pet Value (×) Biome Features

{{CreatureCurrent table row

color=3:0:0 name=[[DF2012:Dwarf|Dwarf hostile=No food=No size=60000 value=Not tameable biome=None note=Beards}}