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
(Hyperlinked headers. Added switch statement to display value/size/capacity in one line, currently WIP.)
m (Quick fix, to hide size and capacity when not present.)
Line 57: Line 57:
 
{{ #if: {{{value|}}}{{{size|}}}{{{capacity|}}} |  
 
{{ #if: {{{value|}}}{{{size|}}}{{{capacity|}}} |  
 
{{!}}-
 
{{!}}-
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} {{ #if: {{{value}}} |
+
! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} {{ #if: {{{value|}}} |
[[Value|Base value]] |}} {{ #if: {{{size}}} | {{!}} [[Size]] |}} {{ #if: {{{capacity}}} | {{!}} [[Storage|Capacity]] |}}
+
[[Value|Base value]] |}} {{ #if: {{{size|}}} | {{!}} [[Size]] |}} {{ #if: {{{capacity|}}} | {{!}} [[Storage|Capacity]] |}}
 
{{!}}-
 
{{!}}-
 
{{!}} colspan="6" style="padding: 0.25em" {{!}}
 
{{!}} colspan="6" style="padding: 0.25em" {{!}}
Line 75: Line 75:
 
|size=20
 
|size=20
 
|capacity=30
 
|capacity=30
}}
 
 
{{v50_furniture|name=Bed
 
|graphic=[[File:bed_sprite_prototype.png]]
 
|tile=Θ|col=6:0:0
 
|wood=y
 
|rooms=
 
* [[Bedroom]]
 
* [[Barracks]]
 
* [[Dormitory]]
 
 
}}
 
}}
  

Revision as of 06:22, 21 February 2024

Bed
Bed sprite prototype.png
/ Θ
Construction
Materials Workshops Labors
Rooms
Base 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.