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.

Template:RawToTable/doc

From Dwarf Fortress Wiki
Jump to navigation Jump to search

Usage:

  {{ RawToTable | <single creature raw file> | mode=<table mode>}}


This template will automatically fill in most values of the creature table, reading the raws and then providing you with a preview and source. This should not actually be used outside of preview.


Warning: May be somewhat inaccurate in the meat column. Adult body size cannot be found from a raw file, as multiple body size tags exist and it is impossible to automatically distinguish between them.


Ex:

  • {{RawToTable|{{v0.31:Cow/raw}}|mode=1}}


RawToTable: Copying the text below will yield a specialized hostility table row as a result: {{CreatureWorking table row|1|name=[[not found]]|symbol=|color=not found|hostile=N|fighter=N}}


  • {{RawToTable|{{v0.31:Dragon/raw}}|mode=2}}


RawToTable: Copying the text below will yield a specialized nutrition table row as a result: {{CreatureWorking table row|1|name=[[not found]]|symbol=|color=not found|egg=Y|milk=N|meat=N/A}}


  • {{RawToTable|{{v0.31:Longfin mako shark/raw}}}}


RawToTable: {{CreatureWorking table row|name={{L|not found}}|symbol=|color=not found|hostile=Y|swims=Y|flies=N|egg=N|milk=N|meat=Y|size=|value=500|alignment=Neutral}}