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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Added to infobox template category)
 
(33 intermediate revisions by 8 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
| colspan="6" |  
 
| colspan="6" |  
  {|
+
  {| style="margin: auto"
|-
 
| style="width: 50%" |
 
|
 
  {|
 
 
   |{{tile|{{{tile|?}}}|{{{col|7:0:0}}}||2em}}
 
   |{{tile|{{{tile|?}}}|{{{col|7:0:0}}}||2em}}
 
   |}
 
   |}
| style="width: 50%" |
 
|}
 
 
|-
 
|-
 
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Construction
 
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Construction
Line 17: Line 11:
 
! colspan="2" style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | Materials
 
! colspan="2" style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | Materials
 
! colspan="2" style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | Workshops
 
! colspan="2" style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | Workshops
! colspan="2" style="text-align: left; padding: 0.2em 0.25em 0; width: 50%" | Jobs
+
! colspan="2" style="text-align: left; padding: 0.2em 0.25em 0; width: 50%" | Labors
 
|-
 
|-
| colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |{{#switch:{{{wood}}}|#default=|y|yes=
+
| colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |{{{materials|{{#switch:{{{wood|{{{woodcraft}}}}}}|#default=|y|yes=
* {{L|log|Wood}}<br /><br />}}{{#switch:{{{stone}}}|#default=|y|yes=
+
* [[Wood]]<br /><br />}}{{#switch:{{{stone|{{{stonecraft|{{{stonecarve|}}}}}}}}}|#default=|y|yes=
* {{L|Stone}}<br /><br />}}{{#switch:{{{metal}}}|#default=|y|yes=
+
* [[Stone]]<br /><br />}}{{#switch:{{{metal|{{{metalcraft}}}}}}|#default=|y|yes=
* {{L|metal bar|Metal}}<br /><br />}}{{#switch:{{{glass}}}|#default=|y|yes=
+
* [[Metal]]<br /><br />}}{{#switch:{{{glass}}}|#default=|y|yes=
* {{L|Glass}}<br /><br />}}{{#switch:{{{cloth}}}|#default=|y|yes=
+
* [[Glass]]<br /><br />}}{{#switch:{{{cloth}}}|#default=|y|yes=
* {{L|Cloth}}<br /><br />
+
* [[Cloth]]<br /><br />}}{{#switch:{{{leather|{{{cloth|}}}}}}|#default=|y|yes=
* {{L|Leather}}<br /><br />}}
+
* [[Leather]]<br /><br />}}{{#switch:{{{slab|{{{slabv50|}}}}}}|#default=|y|yes=
| colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |{{#switch:{{{wood}}}|#default=|y|yes=
+
* [[Slab]]<br /><br />}}{{#switch:{{{ceramic}}}|#default=|y|yes=
* {{L|Carpenter's workshop}}}}{{#switch:{{{stone}}}|#default=|y|yes=
+
* [[Ceramic]]<br /><br />}}}}}
* {{L|Mason's workshop}}}}{{#switch:{{{metal}}}|#default=|y|yes=
+
| colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |{{{workshops|{{#switch:{{{wood}}}|#default=|y|yes=
* {{L|Metalsmith's forge}}}}{{#switch:{{{glass}}}|#default=|y|yes=
+
* [[Carpenter's workshop]]}}{{#switch:{{{woodcraft}}}|#default=|y|yes=
* {{L|Glass furnace}}}}{{#switch:{{{cloth}}}|#default=|y|yes=
+
* [[Craftsdwarf's workshop]]}}{{#switch:{{{stone}}}|#default=|y|yes=
* {{L|Clothier's shop}}
+
* [[Mason's workshop]]}}{{#switch:{{{stonecarve}}}|#default=|y|yes=
* {{L|Leather works}}}}
+
* [[Stoneworker's workshop]]}}{{#switch:{{{stonecraft}}}|#default=|y|yes=
| colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |{{#switch:{{{wood}}}|#default=|y=
+
* [[Craftsdwarf's workshop]]}}{{#switch:{{{metal}}}|#default=|y|yes=
* {{L|Carpentry}}<br /><br />|yes=
+
* [[Metalsmith's forge]]}}{{#switch:{{{metalcraft}}}|#default=|y|yes=
* {{L|Carpentry}}<br /><br />}}{{#switch:{{{stone}}}|#default=|y|yes=
+
* [[Metalsmith's forge]]}}{{#switch:{{{glass}}}|#default=|y|yes=
* {{L|Masonry}}<br /><br />}}{{#switch:{{{metal}}}|#default=|y|yes=
+
* [[Glass furnace]]}}{{#switch:{{{cloth}}}|#default=|y|yes=
* {{L|Blacksmithing}}<br /><br />}}{{#switch:{{{glass}}}|#default=|y|yes=
+
* [[Clothier's shop]]}}{{#switch:{{{leather|{{{cloth|}}}}}}|#default=|y|yes=
* {{L|Glassmaking}}<br /><br />}}{{#switch:{{{cloth}}}|#default=|y|yes=
+
* [[Leather works]]}}{{#switch:{{{slab}}}|#default=|y|yes=
* {{L|Clothesmaking}}<br /><br />
+
* [[Craftsdwarf's workshop]]}}{{#switch:{{{slabv50}}}|#default=|y|yes=
* {{L|Leatherworking}}<br /><br />}}
+
* [[Stoneworker's workshop]]}}{{#switch:{{{ceramic}}}|#default=|y|yes=
 +
* [[Kiln]] or [[Magma kiln]]<br /><br />}}}}}
 +
| colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |{{{labors|{{#switch:{{{wood}}}|#default=|y|yes=
 +
* [[Carpentry]]<br /><br />}}{{#switch:{{{woodcraft}}}|#default=|y|yes=
 +
* [[Woodcrafting]]<br /><br />}}{{#switch:{{{stone}}}|#default=|y|yes=
 +
* [[Masonry]]<br /><br />}}{{#switch:{{{stonecarve}}}|#default=|y|yes=
 +
* [[Stone carving]]<br /><br />}}{{#switch:{{{stonecraft}}}|#default=|y|yes=
 +
* [[Stonecrafting]]<br /><br />}}{{#switch:{{{metal}}}|#default=|y|yes=
 +
* [[Blacksmithing]]<br /><br />}}{{#switch:{{{metalcraft}}}|#default=|y|yes=
 +
* [[Metalcrafting]]<br /><br />}}{{#switch:{{{glass}}}|#default=|y|yes=
 +
* [[Glassmaking]]<br /><br />}}{{#switch:{{{cloth}}}|#default=|y|yes=
 +
* [[Clothesmaking]]<br /><br />}}{{#switch:{{{leather|{{{cloth|}}}}}}|#default=|y|yes=
 +
* [[Leatherworking]]<br /><br />}}{{#switch:{{{slab}}}|#default=|y|yes=
 +
* [[Engraving]]<br /><br />}}{{#switch:{{{slabv50}}}|#default=|y|yes=
 +
* [[Stone engraving]]<br /><br />}}{{#switch:{{{ceramic}}}|#default=|y|yes=
 +
* [[Pottery]]<br /><br />}}}}}
 
|-
 
|-
 
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Rooms
 
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Rooms
Line 46: Line 55:
 
| colspan="6" style="padding: 0.25em" |
 
| colspan="6" style="padding: 0.25em" |
 
{{{rooms|''None''}}}
 
{{{rooms|''None''}}}
|-
+
{{ #if: {{{value|}}} |  
{{#if: {{{value|}}} |
+
{{!}}-
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Base value
+
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} Base value
|-
+
{{!}}-
| colspan="6" style="padding: 0.25em" |
+
{{!}} colspan="6" style="padding: 0.25em" {{!}}
{{{value}}} | }}
+
{{{value}}}| }}
 
|}{{#switch:{{NAMESPACE}}|Template = |#default={{Category|Furniture}}}}</includeonly><noinclude>
 
|}{{#switch:{{NAMESPACE}}|Template = |#default={{Category|Furniture}}}}</includeonly><noinclude>
 
{{furniture|name=Bed
 
{{furniture|name=Bed
Line 57: Line 66:
 
|wood=y
 
|wood=y
 
|rooms=
 
|rooms=
* {{L|Bedroom}}
+
* [[Bedroom]]
* {{L|Barracks}}
+
* [[Barracks]]
* {{L|Dormitory}}
+
* [[Dormitory]]
 +
|value=10
 
}}
 
}}
 
==Usage==
 
==Usage==
Line 66: Line 76:
 
|wood=y
 
|wood=y
 
|rooms=
 
|rooms=
* {{L|Bedroom}}
+
* [[Bedroom]]
* {{L|Barracks}}
+
* [[Barracks]]
* {{L|Dormitory}}
+
* [[Dormitory]]
 
|value=10
 
|value=10
 
}}</pre>
 
}}</pre>
 
Adds <nowiki>[[Category:Furniture]]</nowiki> to the article.
 
Adds <nowiki>[[Category:Furniture]]</nowiki> to the article.
[[Category:Templates]]</noinclude>
+
[[Category:Templates]][[Category:Infobox templates]]</noinclude>

Latest revision as of 22:21, 21 January 2023

Bed
Θ
Construction
Materials Workshops Labors
Rooms
Base value

10☼

Usage[edit]

{{furniture|name=Bed
|tile=Θ|col=6:0:0
|wood=y
|rooms=
* [[Bedroom]]
* [[Barracks]]
* [[Dormitory]]
|value=10
}}

Adds [[Category:Furniture]] to the article.