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:Stonelookup/aux"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(It should not have been possible for this to work at all, since {{{1}}} is the actual raws itself, not just a page name)
(this is a bit of a mess, but it's the best I can manage - the way it SHOULD work is to read them in order, treat STATE_NAME_ADJ as STATE_NAME and ALL_SOLID as SOLID, and take the very last one)
Line 1: Line 1:
<includeonly>{{Mineral|name={{ucfirst:{{tagentry|{{{1|}}}|STATE_NAME_ADJ|2}}}}
+
<includeonly>{{Mineral|name={{ucfirst:{{tagentry|{{{1|}}}|STATE_NAME_ADJ|2|req=ALL_SOLID|reqoffset=1}}{{tagentry|{{{1|}}}|STATE_NAME_ADJ|2|req=SOLID|reqoffset=1}}{{tagentry|{{{1|}}}|STATE_NAME|2|req=ALL_SOLID|reqoffset=1}}{{tagentry|{{{1|}}}|STATE_NAME|2|req=SOLID|reqoffset=1}}}}
 
|tile={{Icon|{{tagentry|{{{1|}}}|TILE|1}}}}
 
|tile={{Icon|{{tagentry|{{{1|}}}|TILE|1}}}}
 
|icon={{#tag:nowiki|{{Icon|{{#rreplace:{{tagentry|{{{1|}}}|ITEM_SYMBOL|1|notfound='•'}}|=|&#61;}}}}}}
 
|icon={{#tag:nowiki|{{Icon|{{#rreplace:{{tagentry|{{{1|}}}|ITEM_SYMBOL|1|notfound='•'}}|=|&#61;}}}}}}

Revision as of 17:36, 15 September 2010