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.

Editing User talk:VengefulDonut

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 24: Line 24:
 
== Template:Raw ==
 
== Template:Raw ==
  
I've just adapted {{tl|gamedata}} to attempt to fetch creature raws from "raws" pages similar to the stone/gem templates (except using an extra pair of templates to transform the page name into a CREATURE id and the name of the file that contains the raws, though the former could probably be skipped by just matching against "[NAME:'''foo''':bar:baz]") - it works, but {{tl|raw}} strips out all of the linebreaks and spaces between tokens. How hard would it be to make a version of {{tl|raw}} (or add a parameter) that doesn't do that? --[[User:Quietust|Quietust]] 18:11, 4 May 2010 (UTC)
+
I've just adapted {{tl|Game Data}} to attempt to fetch creature raws from "raws" pages similar to the stone/gem templates (except using an extra pair of templates to transform the page name into a CREATURE id and the name of the file that contains the raws, though the former could probably be skipped by just matching against "[NAME:'''foo''':bar:baz]") - it works, but {{tl|raw}} strips out all of the linebreaks and spaces between tokens. How hard would it be to make a version of {{tl|raw}} (or add a parameter) that doesn't do that? --[[User:Quietust|Quietust]] 18:11, 4 May 2010 (UTC)
:Never mind, figured it out myself and saved it as {{tl|raw2}}. Of course, now the trick will be to make it so {{tl|gamedata}} supports raw lookups for things other than creatures (possibly by simply giving it a "type" parameter - CREATURE, MATGLOSS, INORGANIC, PLANT, etc.)... --[[User:Quietust|Quietust]] 18:29, 4 May 2010 (UTC)
+
:Never mind, figured it out myself and saved it as {{tl|raw2}}. Of course, now the trick will be to make it so {{tl|Game Data}} supports raw lookups for things other than creatures (possibly by simply giving it a "type" parameter - CREATURE, MATGLOSS, INORGANIC, PLANT, etc.)... --[[User:Quietust|Quietust]] 18:29, 4 May 2010 (UTC)
 
::It already has a type parameter Oo [[User:VengefulDonut|VengefulDonut]] 23:16, 4 May 2010 (UTC)
 
::It already has a type parameter Oo [[User:VengefulDonut|VengefulDonut]] 23:16, 4 May 2010 (UTC)
:::I was referring to {{tl|gamedata}} (which I've currently hardcoded to CREATURE because it doesn't take any parameters), not {{tl|Raw}}. I'll probably just split it into several different templates and have the various infobox templates include the appropriate one. --[[User:Quietust|Quietust]] 23:29, 4 May 2010 (UTC)
+
:::I was referring to {{tl|Game Data}} (which I've currently hardcoded to CREATURE because it doesn't take any parameters), not {{tl|Raw}}. I'll probably just split it into several different templates and have the various infobox templates include the appropriate one. --[[User:Quietust|Quietust]] 23:29, 4 May 2010 (UTC)
  
 
== RAWs ==
 
== RAWs ==

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Please sign comments with ~~~~

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page: