- 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.
Difference between revisions of "Template:RawToTable/doc"
m (more warning) |
m |
||
Line 5: | Line 5: | ||
− | '''Warning:''' May be somewhat inaccurate in | + | '''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. |
Revision as of 18:11, 16 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 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|{{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}}