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 item"
Jump to navigation
Jump to search
(Migrated from Template:Item, added ability to add graphics.) |
(Copied switch case value/size/capacity table. Added dimension section for raw materials.) |
||
Line 4: | Line 4: | ||
| colspan="6" | | | colspan="6" | | ||
{| style="margin: auto;" | {| style="margin: auto;" | ||
− | |<div><div id="furniture_template_prototype" style=" | + | |<div><div id="furniture_template_prototype" style="float:left; margin-top:5px; margin-right:3px;">{{{graphic|}}}</div> / {{tile|{{{tile|?}}}|{{{col|7:0:0}}}||2em}}</div> |
|} | |} | ||
|- | |- | ||
Line 63: | Line 63: | ||
| colspan="6" style="padding: 0.25em" | | | colspan="6" style="padding: 0.25em" | | ||
{{{used for|''None''}}} | {{{used for|''None''}}} | ||
− | {{ #if: {{{value|}}} | | + | {{ #if: {{{value}}} | {{#if: {{{size|}}} | {{#if: {{{capacity|}}} | |
{{!}}- | {{!}}- | ||
− | ! colspan=" | + | ! 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]] |
+ | ! 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}}}☼ |
− | {{{value}}}☼ | }} | + | {{!}} 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"; {{!}} | ||
+ | {{{value}}}☼ | ||
+ | }} | ||
+ | }} | ||
+ | {{ #if: {{{dimension|}}} | | ||
+ | {{!}}- | ||
+ | ! colspan="6" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} [[Reaction#Quantity|Dimensions]] | ||
+ | {{!}}- | ||
+ | {{!}} colspan="6" style="padding: 0.25em; text-align:center" {{!}} | ||
+ | {{{dimension}}} | }} | ||
|- | |- | ||
! colspan="6" style="text-align:right;border-top: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[:Category:Items|Browse other items]] | ! colspan="6" style="text-align:right;border-top: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | [[:Category:Items|Browse other items]] | ||
Line 94: | Line 117: | ||
* [[Ashery]] | * [[Ashery]] | ||
* [[Dyer's shop]] | * [[Dyer's shop]] | ||
+ | |value = 10 | ||
+ | |size = 10 | ||
+ | |capacity = 10 | ||
+ | |dimension = 150 | ||
}} | }} | ||
==Usage== | ==Usage== | ||
Line 115: | Line 142: | ||
* [[Ashery]] | * [[Ashery]] | ||
* [[Dyer's shop]] | * [[Dyer's shop]] | ||
+ | |value = 10 | ||
+ | |size = 10 | ||
+ | |capacity = 10 | ||
+ | |dimension = 150 | ||
}}</pre> | }}</pre> | ||
Adds <nowiki>[[Category:Items]]</nowiki> to the article. | Adds <nowiki>[[Category:Items]]</nowiki> to the article. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 07:10, 21 February 2024
| ||||||
Construction | ||||||
---|---|---|---|---|---|---|
Materials | Workshops | Labors | ||||
Used for | ||||||
Value | Size | Capacity | ||||
10☼ | 10 cm³ | 10 cm³ | ||||
Dimensions | ||||||
150 | ||||||
Browse other items |
Usage
{{V50 item|name=Bucket |graphic=[[File:Bucket Premium.png]] |tile=û|col=6:0:0 |wood=y |stone=n |metal=y |glass=n |cloth=n |leather=n |ceramic=n |bone=n |shell=n |gem=n |wax=n |used for= * [[Well]] * [[Soap maker's workshop]] * [[Ashery]] * [[Dyer's shop]] |value = 10 |size = 10 |capacity = 10 |dimension = 150 }}
Adds [[Category:Items]] to the article.