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
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|-
+
<includeonly>{{CreatureCurrent table row
|style="bgcolor:black"|{{Raw Tile|{{char|{{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|CREATURE_TILE}}}}|{{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|COLOR}}}}
+
|symbol={{char|{{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|CREATURE_TILE}}}}|
|[[{{{namespace|{{NAMESPACE}}}}}:{{{name}}}|{{{name}}}]]
+
|color={{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|COLOR}}
|{{#ifeq {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|PRONE_TO_RAGE}}|1|Yes|{{#ifeq {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|LARGE_PREDATOR}}|1|Yes|{{#ifeq {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|PRONE_TO_RAGE}}|1|Yes|{{#ifeq {{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BENIGN}}|1|No|Variable}}}}}}}}
+
|name=[[{{{namespace|{{NAMESPACE}}}}}:{{{name}}}|{{{name}}}]]
|{{{features|}}}</includeonly>
+
|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}}}}}}
<noinclude>
+
|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}}
Dwarf
+
|size={{bodysize|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}}}
{|
+
|value={{#ifexpr:{{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|PET}}|1|0}} or {{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|PET_EXOTIC}}|1|0}}|{{tagvalue|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|PETVALUE}}|Not tameable}}
{{Creature row|name=Dwarf|namespace=DF2012|features=Beards}}
+
|biome={{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BIOME}}|{{#eval:{{#df_foreachtag:{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BIOME|<nowiki></nowiki>
|}
+
* {{#delay:BiomeToken|\2}}}}}}|<nowiki></nowiki>
</noinclude>
+
* None}}
 +
|note={{{features|}}}}}</includeonly>
 +
<noinclude>Usage:
 +
 
 +
<nowiki>{{CreatureCurrent table head}}</nowiki>
 +
 
 +
<nowiki>{{Creature row|name=Dwarf|namespace=DF2012|features=Beards}}</nowiki>
 +
 
 +
namespace is optional as long as the current page resides in the target namespace
 +
 
 +
features is optional
 +
 
 +
{{CreatureCurrent table head}}
 +
{{Creature row|name=Dwarf|namespace=DF2012|features=Beards}}</noinclude>

Latest revision as of 18:37, 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
Dwarf No No 60000 Not tameable
  • None
Beards