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"
Jump to navigation
Jump to search
OddballJoe (talk | contribs) m (Added to infobox template category) |
|||
(48 intermediate revisions by 12 users not shown) | |||
Line 3: | Line 3: | ||
|- | |- | ||
| colspan="6" | | | colspan="6" | | ||
− | { | + | {| style="margin: auto" |
− | + | |{{tile|{{{tile|?}}}|{{{col|7:0:0}}}||2em}} | |
− | |||
− | |||
− | |||
− | |{{tile|{{{tile|?}}} | ||
|} | |} | ||
− | |||
− | |||
|- | |- | ||
! 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%" | | + | ! 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= | + | | 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= |
− | * | + | * [[Wood]]<br /><br />}}{{#switch:{{{stone|{{{stonecraft|{{{stonecarve|}}}}}}}}}|#default=|y|yes= |
− | + | * [[Stone]]<br /><br />}}{{#switch:{{{metal|{{{metalcraft}}}}}}|#default=|y|yes= | |
− | * | + | * [[Metal]]<br /><br />}}{{#switch:{{{glass}}}|#default=|y|yes= |
− | * | + | * [[Glass]]<br /><br />}}{{#switch:{{{cloth}}}|#default=|y|yes= |
− | * | + | * [[Cloth]]<br /><br />}}{{#switch:{{{leather|{{{cloth|}}}}}}|#default=|y|yes= |
− | + | * [[Leather]]<br /><br />}}{{#switch:{{{slab|{{{slabv50|}}}}}}|#default=|y|yes= | |
− | * | + | * [[Slab]]<br /><br />}}{{#switch:{{{ceramic}}}|#default=|y|yes= |
− | * | + | * [[Ceramic]]<br /><br />}}}}} |
− | | colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |{{#switch:{{{wood}}}|#default=|y= | + | | 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= |
− | * | + | * [[Carpenter's workshop]]}}{{#switch:{{{woodcraft}}}|#default=|y|yes= |
− | * | + | * [[Craftsdwarf's workshop]]}}{{#switch:{{{stone}}}|#default=|y|yes= |
− | * | + | * [[Mason's workshop]]}}{{#switch:{{{stonecarve}}}|#default=|y|yes= |
− | * {{ | + | * [[Stoneworker's workshop]]}}{{#switch:{{{stonecraft}}}|#default=|y|yes= |
− | * {{ | + | * [[Craftsdwarf's workshop]]}}{{#switch:{{{metal}}}|#default=|y|yes= |
− | * {{ | + | * [[Metalsmith's forge]]}}{{#switch:{{{metalcraft}}}|#default=|y|yes= |
− | * {{ | + | * [[Metalsmith's forge]]}}{{#switch:{{{glass}}}|#default=|y|yes= |
− | * {{ | + | * [[Glass furnace]]}}{{#switch:{{{cloth}}}|#default=|y|yes= |
− | | colspan="2" style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |{{#switch:{{{wood}}}|#default=|y= | + | * [[Clothier's shop]]}}{{#switch:{{{leather|{{{cloth|}}}}}}|#default=|y|yes= |
− | * | + | * [[Leather works]]}}{{#switch:{{{slab}}}|#default=|y|yes= |
− | * | + | * [[Craftsdwarf's workshop]]}}{{#switch:{{{slabv50}}}|#default=|y|yes= |
− | * | + | * [[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 51: | Line 55: | ||
| colspan="6" style="padding: 0.25em" | | | colspan="6" style="padding: 0.25em" | | ||
{{{rooms|''None''}}} | {{{rooms|''None''}}} | ||
− | |} | + | {{ #if: {{{value|}}} | |
− | {{#switch:{{NAMESPACE}}|#default= | + | {{!}}- |
− | + | ! 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" {{!}} | ||
+ | {{{value}}}☼ | }} | ||
+ | |}{{#switch:{{NAMESPACE}}|Template = |#default={{Category|Furniture}}}}</includeonly><noinclude> | ||
{{furniture|name=Bed | {{furniture|name=Bed | ||
− | |tile=Θ|col=6 | + | |tile=Θ|col=6:0:0 |
|wood=y | |wood=y | ||
|rooms= | |rooms= | ||
− | * | + | * [[Bedroom]] |
− | * | + | * [[Barracks]] |
− | * | + | * [[Dormitory]] |
+ | |value=10 | ||
}} | }} | ||
+ | ==Usage== | ||
<pre>{{furniture|name=Bed | <pre>{{furniture|name=Bed | ||
− | |tile=Θ|col=6 | + | |tile=Θ|col=6:0:0 |
|wood=y | |wood=y | ||
|rooms= | |rooms= | ||
− | * | + | * [[Bedroom]] |
− | * | + | * [[Barracks]] |
− | * | + | * [[Dormitory]] |
+ | |value=10 | ||
}}</pre> | }}</pre> | ||
− | </noinclude> | + | Adds <nowiki>[[Category:Furniture]]</nowiki> to the article. |
+ | [[Category:Templates]][[Category:Infobox templates]]</noinclude> |