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
 
(14 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}}
|{{#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}}}}}}
+
|name=[[{{{namespace|{{NAMESPACE}}}}}:{{{name}}}|{{{name}}}]]
|{{#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}}
+
|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}}}}}}
|{{bodysize|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}}}
+
|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}}
|{{#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}}
+
|size={{bodysize|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}}}
|{{#eval:{{#df_foreachtag:{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BIOME|{{#delay:BiomeToken|\2}}}}}}
+
|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}}
|{{{features|}}}</includeonly>
+
|biome={{#if:{{tag|{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BIOME}}|{{#eval:{{#df_foreachtag:{{{{{namespace|{{NAMESPACE}}}}}:{{{name}}}/raw}}|BIOME|<nowiki></nowiki>
<noinclude>
+
* {{#delay:BiomeToken|\2}}}}}}|<nowiki></nowiki>
Dwarf
+
* None}}
{|
+
|note={{{features|}}}}}</includeonly>
{{Creature row|name=Dwarf|namespace=DF2012|features=Beards}}
+
<noinclude>Usage:
|}
+
 
</noinclude>
+
<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