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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Documentation for the {{gamedata}} template)
 
(how to customize the title)
Line 31: Line 31:
  
 
{{gamedata|{{raw|DF2014:creature_domestic.txt|CREATURE|CAT}}}}
 
{{gamedata|{{raw|DF2014:creature_domestic.txt|CREATURE|CAT}}}}
 +
 +
 +
You can customize the title using the <code>title=</code> argument:
 +
 +
<nowiki>{{gamedata
 +
|title=Raws of [[Cat|a certain invasive species]]
 +
|{{raw|DF2014:creature_domestic.txt|CREATURE|CAT}}
 +
}}</nowiki>
 +
 +
{{gamedata
 +
|title=Raws of [[Cat|a certain invasive species]]
 +
|{{raw|DF2014:creature_domestic.txt|CREATURE|CAT}}
 +
}}

Revision as of 09:15, 15 May 2019

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]
}}


You can use the {{raw}} template as an argument:

{{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}}
}}