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:Layertype"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (want the layer type only using one match)
 
(this one's only for layer stones, to determine their primary environment - it can be used either with layername (which can also be used with ENVIRONMENT tags) or layername/upper)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#rmatch:{{{1}}}|\[(SEDIMENTARY{{!}}METAMORPHIC{{!}}IGNEOUS_EXTRUSIVE{{!}}IGNEOUS_INTRUSIVE)\]|\1}}<noinclude>[[category:raw templates]]</noinclude>
+
<includeonly>{{#rmatch:{{{1}}}|\[(SEDIMENTARY{{!}}METAMORPHIC{{!}}IGNEOUS_EXTRUSIVE{{!}}IGNEOUS_INTRUSIVE{{!}}SOIL{{!}}SOIL_OCEAN)\]|\1}}</includeonly><noinclude>[[category:raw templates]]</noinclude>

Latest revision as of 15:08, 30 March 2011