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
Line 47: | Line 47: | ||
{{{rooms|''None''}}} | {{{rooms|''None''}}} | ||
|- | |- | ||
− | {{ | + | {{ifnotempty|{{{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 60: | Line 61: | ||
* {{L|Barracks}} | * {{L|Barracks}} | ||
* {{L|Dormitory}} | * {{L|Dormitory}} | ||
+ | |value=10 | ||
}} | }} | ||
==Usage== | ==Usage== | ||
Line 69: | Line 71: | ||
* {{L|Barracks}} | * {{L|Barracks}} | ||
* {{L|Dormitory}} | * {{L|Dormitory}} | ||
− | |||
}}</pre> | }}</pre> | ||
Adds <nowiki>[[Category:Furniture]]</nowiki> to the article. | Adds <nowiki>[[Category:Furniture]]</nowiki> to the article. | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Revision as of 18:56, 3 January 2011
Template:Ifnotempty
| |||||||||
Construction | |||||||||
---|---|---|---|---|---|---|---|---|---|
Materials | Workshops | Jobs | |||||||
Rooms | |||||||||
Usage
{{furniture|name=Bed |tile=Θ|col=6:0:0 |wood=y |rooms= * {{L|Bedroom}} * {{L|Barracks}} * {{L|Dormitory}} }}
Adds [[Category:Furniture]] to the article.