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:Gamedata/doc

From Dwarf Fortress Wiki
< Template:Gamedata
Revision as of 16:06, 19 May 2019 by DarklingArcher (talk | contribs) (about {{raw}} usage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Displays the raws from the Page name/raw directory.

Can be given custom raws to display instead:

{{gamedata|[ITEM_WEAPON:ITEM_WEAPON_HAMMER_WAR]
[NAME:war hammer:war hammers]
[SIZE:400]
[SKILL:HAMMER]
[TWO_HANDED:37500]
[MINIMUM_SIZE:32500]
[MATERIAL_SIZE:3]
[ATTACK:BLUNT:10:200:bash:bashes:NO_SUB:2000]
	[ATTACK_PREPARE_AND_RECOVER:3:3]
}}


It is preferred to use the {{raw}} template to pull the raws directly from the game files instead of copying and pasting them manually:

{{gamedata|{{raw|DF2014:creature_domestic.txt|CREATURE|CAT}}}}


You can customize the title using the title= argument:

{{gamedata
|title=Raws of [[Cat|a certain invasive species]]
|{{raw|DF2014:creature_domestic.txt|CREATURE|CAT}}
}}