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:Material-specific building labors"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
Previously, certain buildings required [[Architecture]] and a material-specific labor. Now only the latter is required. These labor requirements are reused in the infoboxes for many buildings.
 
Previously, certain buildings required [[Architecture]] and a material-specific labor. Now only the latter is required. These labor requirements are reused in the infoboxes for many buildings.
</noinclude>
 
  
* Stone: [[Masonry]]
+
Include all: <code><nowiki>{{Material-specific building labors}}</nowiki></code>
* Wood: [[Carpentry]]
+
 
* Metal: [[Blacksmithing]], [[Weaponsmithing]], [[Armoring]], or [[Metalcrafting]]
+
Include some: <code><nowiki>{{Material-specific building labors|stone,metal}}</nowiki></code>
 +
</noinclude>{{
 +
#if:{{#stripos:{{{1|stone,wood,metal}}}|stone}} |* Stone: [[Masonry]]
 +
|}}{{
 +
#if:{{#stripos:{{{1|stone,wood,metal}}}|wood}}  |* Wood: [[Carpentry]]
 +
|}}{{
 +
#if:{{#stripos:{{{1|stone,wood,metal}}}|metal}} |* Metal: [[Blacksmithing]], [[Weaponsmithing]], [[Armoring]], or [[Metalcrafting]]
 +
|}}

Latest revision as of 06:21, 11 January 2023

Previously, certain buildings required Architecture and a material-specific labor. Now only the latter is required. These labor requirements are reused in the infoboxes for many buildings.

Include all: {{Material-specific building labors}}

Include some: {{Material-specific building labors|stone,metal}}