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"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
<includeonly>{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
+
<includeonly>{{infostart|{{{name}}}}}
|+ style="font-weight: bold" |{{{name}}}
+
{{infocell|{{key|b}}-{{key|w}}-{{key|{{{key}}}}}}}
|-
+
{{infocell|{{Building/picture|{{{name}}}}}}}
| colspan="2" style="text-align: center" | {{key|b}}-{{key|w}}-{{key|{{{key}}}}}
+
{{#if:{{{job|}}}|{{infoheader|Job Requirement}}
|-
+
{{infocell|{{{job|}}}}}}}
| colspan="2" |
+
{{infoheader|Construction}}
{|
 
|-
 
| style="width: 50%" |
 
|
 
{|
 
|-
 
||{{#ifexist: template:Picture {{{name}}}|{{Picture {{{name}}}}}}}
 
||{{#ifexist: template:Floor Plan {{{name}}}|{{Floor Plan {{{name}}}}}}}
 
|}
 
| style="width: 50%" |
 
|}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Job Requirement
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
{{{job}}}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Construction
 
 
|-
 
|-
 
! 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%; border-right: 1px solid #aaa" | Materials
Line 31: Line 13:
 
| 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" |
 
{{{construction_job}}}
 
{{{construction_job}}}
|-
+
{{infoheader|Materials Used}}
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Materials Used
+
{{infocell|{{{use}}}}}
|-
+
{{infoheader|Goods Created}}
| colspan="2" style="padding: 0.25em" |
+
{{infocell|{{{production}}}}}
{{{use}}}
+
{{infoend}}{{Category|Workshops}}</includeonly><noinclude>
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Goods Created
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
{{{production}}}
 
|}
 
{{Category|Workshops}}</includeonly><noinclude>
 
  
 
== Usage ==
 
== Usage ==
{| class="infobox" style="float: right; border: 1px solid #aaa; margin: 0 0 0.5em 0.5em; border-spacing: 0; width: 17em"
+
This automatically includes the page in the "Workshops" category.
|+ style="font-weight: bold" |Carpenter's workshop
 
|-
 
| colspan="2" style="text-align: center" | {{key|b}}-{{key|w}}-{{key|c}}
 
|-
 
| colspan="2" |
 
{|
 
|-
 
| style="width: 50%" |
 
|
 
{|
 
|-
 
||{{#ifexist: template:Picture Carpenter's workshop|{{Picture Carpenter's workshop}}}}
 
||{{#ifexist: template:Floor Plan Carpenter's workshop|{{Floor Plan Carpenter's workshop}}}}
 
|}
 
| style="width: 50%" |
 
|}
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Job Requirement
 
|-
 
| colspan="2" style="padding: 0.25em" | [[Carpentry]]
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Construction
 
|-
 
! 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" |
 
1 of
 
* [[Block]]
 
* [[Stone]]
 
* [[Wood]]
 
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |
 
* [[Carpentry]]
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Materials Used
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
* [[Wood]]
 
|-
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Goods Created
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
* [[Animal trap]]
 
* [[Armor stand]]
 
* [[Barrel]]
 
* [[Bin]]
 
* [[Bucket]]
 
* [[Buckler]]
 
* [[Bed]]
 
* [[Cabinet]]
 
* [[Chair]]
 
* [[Chest]]
 
* [[Door]]
 
* [[Floodgate]]
 
* [[Shield]]
 
* [[Table]]
 
* [[Weapon rack]]
 
|}
 
This automatically includes the page in [[:Category:Workshops]].
 
  
<pre><nowiki>
+
<nowiki>
 
{{Workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]]
 
{{Workshop|name=Carpenter's workshop|key=c|job=[[Carpentry]]
 
|construction=
 
|construction=
Line 134: Line 50:
 
* [[Weapon rack]]
 
* [[Weapon rack]]
 
}}
 
}}
</nowiki></pre>
+
</nowiki>
 
[[Category:Building templates]]
 
[[Category:Building templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:06, 21 May 2010


Usage

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]]
}}