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:V50 furniture"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Quick fix, to hide size and capacity when not present.)
(Switch case table to show value/size/capacity.)
Line 51: Line 51:
 
* [[Pottery]]<br /><br />}}}}}
 
* [[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" | [[Zones|Rooms]]
 
|-
 
|-
 
| colspan="6" style="padding: 0.25em" |
 
| colspan="6" style="padding: 0.25em" |
 
{{{rooms|''None''}}}
 
{{{rooms|''None''}}}
{{ #if: {{{value|}}}{{{size|}}}{{{capacity|}}} |  
+
{{ #if: {{{value}}} | {{#if: {{{size|}}} | {{#if: {{{capacity|}}} |
 
{{!}}-
 
{{!}}-
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} {{ #if: {{{value|}}} |
+
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em; border-right: 1px solid #aaa"; {{!}} [[Value|Value]]
[[Value|Base value]] |}} {{ #if: {{{size|}}} | {{!}} [[Size]] |}} {{ #if: {{{capacity|}}} | {{!}} [[Storage|Capacity]] |}}
+
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em; border-right: 1px solid #aaa"; {{!}} [[Size#Items|Size]]
 +
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} [[Storage|Capacity]]
 
{{!}}-
 
{{!}}-
{{!}} colspan="6" style="padding: 0.25em" {{!}}
+
{{!}} colspan="2" style="padding: 0.25em; text-align: center; border-right: 1px solid #aaa"; {{!}} {{{value}}}☼
{{ #if: {{{value|}}} |{{{value}}}☼ |}} {{ #if: {{{size|}}} | / {{{size}}} cm³ |}} {{ #if: {{{capacity|}}} | / {{{capacity}}} cm³ |}}
+
{{!}} colspan="2" style="padding: 0.25em; text-align: center; border-right: 1px solid #aaa"; {{!}} {{{size}}} cm³
 +
{{!}} colspan="2" style="padding: 0.25em; text-align: center;" {{!}} {{{capacity}}} cm³  |
 +
{{!}}-
 +
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em; border-right: 1px solid #aaa"; {{!}} [[Value|Base value]]
 +
! colspan="3" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} [[Size#Items|Size]]
 +
{{!}}-
 +
{{!}} colspan="3" style="padding: 0.25em; text-align: center;; border-right: 1px solid #aaa"; {{!}} {{{value}}}☼
 +
{{!}} colspan="3" style="padding: 0.25em; text-align: center;" {{!}} {{{size}}} cm³  
 +
    }} |
 +
{{!}}-
 +
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em"; {{!}} [[Value|Base value]]
 +
{{!}}-
 +
{{!}} colspan="6" style="padding: 0.25em"; border-right: 1px solid #aaa"; {{!}}
 +
{{{value}}}
 +
  }}
 
}}
 
}}
 
|}{{#switch:{{NAMESPACE}}|Template = |#default={{Category|Furniture}}}}</includeonly><noinclude>
 
|}{{#switch:{{NAMESPACE}}|Template = |#default={{Category|Furniture}}}}</includeonly><noinclude>

Revision as of 06:55, 21 February 2024

Bed
Bed sprite prototype.png
/ Θ
Construction
Materials Workshops Labors
Rooms
Value Size Capacity
10☼ 20 cm³ 30 cm³
Bed
Bed sprite prototype.png
/ Θ
Construction
Materials Workshops Labors
Rooms
Base value

10☼

Usage

{{v50_furniture|name=Bed
|graphic=[[File:bed_sprite_prototype.png]]
|tile=Θ|col=6:0:0
|wood=y
|rooms=
* [[Bedroom]]
* [[Barracks]]
* [[Dormitory]]
|value=10
|size=10
|capacity=10
}}

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