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:RawToTable/doc"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (more examples)
m
Line 3: Line 3:
 
   {{ RawToTable | <single creature raw file> }}</pre><br>
 
   {{ RawToTable | <single creature raw file> }}</pre><br>
 
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.
 
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 food source column
  
  

Revision as of 21:11, 10 April 2011

Usage:

  {{ RawToTable | <single creature raw file> }}


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 food source column


Ex:

  • {{RawToTable|{{raw|DF2010:creature_domestic.txt|CREATURE|COW}}}}


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


  • {{RawToTable|{{raw|DF2010:creature_standard_2.txt|CREATURE|DRAGON}}}}


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


  • {{RawToTable|{{raw|DF2010:creature_large_ocean.txt|CREATURE|SHARK_MAKO_LONGFIN}}}}


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