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:Workshop"
Jump to navigation
Jump to search
(New page: {| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em" |+ style="font-weight: bold" |{{{name}}} |- | colspan="2" style="te...) |
Jobywalker (talk | contribs) (really fix if) |
||
(23 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
− | { | + | <includeonly>{{infostart|{{{name|{{PAGENAME}}}}}}} |
− | + | {{infocell|{{key|b}}-{{key|w}}-{{key|{{{key}}}}}|style=text-align:center}} | |
− | + | {{infocell|{{Building/picture|name={{{name}}}}}}} | |
− | + | {{#if:{{{job|}}}|{{infoheader|Job Requirement}} | |
− | | | + | {{infocell|{{{job|}}}}}}} |
− | + | {{infoheader|Construction}} | |
− | + | {{#ifeq:{{{onecol|no}}}|no| | |
− | + | {{!}}- <!-- Two columns --> | |
− | + | ! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Materials | |
− | |{{ | + | ! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Jobs |
− | + | {{!}}- | |
− | |} | + | {{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}} |
− | | | ||
− | |||
− | | | ||
− | | | ||
− | |||
− | ! | ||
− | |||
− | ! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | ||
− | ! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%" | ||
− | |||
− | |||
{{{construction}}} | {{{construction}}} | ||
− | | style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" | + | {{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" {{!}} |
+ | | <!-- One column --> | ||
+ | ! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" {{!}} Materials | ||
+ | {{!}}- | ||
+ | {{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" {{!}} | ||
+ | {{{construction}}} | ||
+ | {{!}}- | ||
+ | ! style{{=}}"text-align: left; padding: 0.2em 0.25em 0; width: 50%" {{!}} Jobs | ||
+ | {{!}}- | ||
+ | {{!}} style{{=}}"padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" {{!}} | ||
+ | }} | ||
{{{construction_job}}} | {{{construction_job}}} | ||
− | + | {{infoheader|Materials Used}} | |
− | + | {{infocell|{{{use}}}}} | |
− | | | + | {{infoheader|Goods Created}} |
− | + | {{infocell|{{{production}}}}} | |
− | {{{use}}} | + | {{#if:{{{power|}}}|{{infoheader|Power}} |
− | + | {{infocell|{{{power|}}}}}}} | |
− | + | {{infoend}}{{Category|Workshops}}{{interwiki|{{FULLPAGENAME}}}}</includeonly><noinclude> | |
− | | | + | |
− | + | == Usage == | |
− | {{{production}}} | + | This automatically includes the page in the "Workshops" category. |
− | |||
− | |||
− | |||
− | {{ | ||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | }} | ||
− | </ | ||
− | {{Workshop|name=Carpenter's | + | <nowiki> |
+ | {{Workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]] | ||
|construction= | |construction= | ||
1 of | 1 of | ||
Line 78: | Line 47: | ||
* [[Wood]] | * [[Wood]] | ||
|production= | |production= | ||
− | * [[Animal | + | * [[Animal trap]] |
− | * [[Armor | + | * [[Armor stand]] |
* [[Barrel]] | * [[Barrel]] | ||
* [[Bin]] | * [[Bin]] | ||
Line 92: | Line 61: | ||
* [[Shield]] | * [[Shield]] | ||
* [[Table]] | * [[Table]] | ||
− | * [[Weapon | + | * [[Weapon rack]] |
}} | }} | ||
+ | </nowiki> | ||
+ | [[Category:Building templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 03:04, 23 January 2016
Usage[edit]
This automatically includes the page in the "Workshops" category.
{{Workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]] |construction= 1 of * [[Block]] * [[Stone]] * [[Wood]] |construction_job= * [[Carpentry]] |use= * [[Wood]] |production= * [[Animal trap]] * [[Armor stand]] * [[Barrel]] * [[Bin]] * [[Bucket]] * [[Buckler]] * [[Bed]] * [[Cabinet]] * [[Chair]] * [[Chest]] * [[Door]] * [[Floodgate]] * [[Shield]] * [[Table]] * [[Weapon rack]] }}