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
(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)
 
(41 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<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}}}}
+
<includeonly>{{Mineral|name={{ucfirst:{{#df_statedesc:{{{1|}}}|NAME|SOLID}}}}
|tile={{Icon|{{tagentry|{{{1|}}}|TILE|1}}}}
+
|sample=[[File:{{FULLPAGENAME}}Sample.png|center]]
|icon={{#tag:nowiki|{{Icon|{{#rreplace:{{tagentry|{{{1|}}}|ITEM_SYMBOL|1|notfound='•'}}|=|&#61;}}}}}}
+
<!--|sprite=[[File:{{FULLPAGENAME}} sprite.png|left]]-->
 +
|tile={{Char|{{tagentry|{{{1|}}}|TILE|1}}}}
 +
|graphic={{{graphic|}}}
 +
|icon={{#tag:nowiki|{{Char|{{#mreplace:{{tagentry|{{{1|}}}|ITEM_SYMBOL|1|notfound='•'}}|=|&#61;}}}}}}
 
|color={{tagvalue|{{{1|}}}|DISPLAY_COLOR}}
 
|color={{tagvalue|{{{1|}}}|DISPLAY_COLOR}}
 
|itemcolor={{tagvalue|{{{1|}}}|BASIC_COLOR|notfound=}}
 
|itemcolor={{tagvalue|{{{1|}}}|BASIC_COLOR|notfound=}}
|uses={{{uses|}}}{{format|{{foreachtag|{{{1|}}}|METAL_ORE|string1=<nowiki></nowiki>
+
|uses={{{uses|}}}{{#eval:{{#df_foreachtag:{{{1|}}}|METAL_ORE|<nowiki></nowiki>
* <span style="text-transform: capitalize">ore</span> of leftbracketleftbracket{{NAMESPACE}}:|capture1=2|string2={{!}}|capture2=2|string3=]] (|capture3=3|string4=%)}}}}
+
* Ore of [[{{#delay:inorganicname|\2}}]] (\3%)}}{{#df_foreachtag:{{{1|}}}|THREAD_METAL|<nowiki></nowiki>
* {{L|mason's workshop|Masonry}}
+
* Extract [[{{#delay:inorganicname|\2}}]] strands (\3%)}}}}{{#if:{{tag|{{{1}}}|IS_STONE}}|<nowiki></nowiki>
* {{L|craftsdwarf's workshop|Stone crafting}}
+
* [[mason's workshop|Masonry]]
* {{L|Construction}}{{#ifeq:{{tag|{{{1}}}|REACTION_CLASS:FLUX}}|true|<nowiki></nowiki>
+
* [[craftsdwarf's workshop|Stone crafting]]}}
* {{L|Flux}}}}{{#ifeq:{{tag|{{{1}}}|REACTION_CLASS:GYPSUM}}|true|<nowiki></nowiki>
+
* [[Construction]]{{#if:{{tag|{{{1}}}|REACTION_CLASS|1|FLUX}}|<nowiki></nowiki>
* Make {{L|plaster}}}}
+
* [[Flux]]}}{{#if:{{tag|{{{1}}}|REACTION_CLASS|1|GYPSUM}}|<nowiki></nowiki>
 +
* Make [[plaster]]}}{{#if:{{tag|{{{1}}}|REACTION_CLASS|1|CALCIUM_CARBONATE}}|<nowiki></nowiki>
 +
* Make [[quicklime]]}}
 
|location={{Stonelookup/location|{{{1}}}}}
 
|location={{Stonelookup/location|{{{1}}}}}
 
|properties={{Stonelookup/aux2|{{{1}}}}}
 
|properties={{Stonelookup/aux2|{{{1}}}}}
 
|contains={{stonelookup/contains|id={{tagentry|{{{1|}}}|INORGANIC|1}}}}
 
|contains={{stonelookup/contains|id={{tagentry|{{{1|}}}|INORGANIC|1}}}}
 
|wiki={{{wiki|}}}
 
|wiki={{{wiki|}}}
}}</includeonly><noinclude>[[category:raw templates]]</noinclude>
+
}}{{interwiki|{{FULLPAGENAME}}}}</includeonly><noinclude>[[category:raw templates]]</noinclude>

Latest revision as of 16:06, 6 May 2024