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:Machine component"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Fixed capitalization error)
m
 
(20 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| 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|{{k|b}}-{{k|M}}-{{k|{{{key}}}}}|style=text-align:center}}
|-
+
{{infocell|{{Building/picture|name={{{name}}}}}}}
| colspan="2" style="text-align: center" | {{key|b}}-{{key|M}}-{{key|{{{key}}}}}
+
{{#if:{{{job|}}}|{{infoheader|Job Requirement}}
|-
+
{{infocell|{{{job|}}}}}}}
| colspan="2" |
+
{{infoheader|Construction}}
{|
 
|-
 
| style="width: 50%" |
 
|{{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 25: 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|Power}}
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Power
+
{{infocell|{{{power|}}}}}
|-
+
{{infoend}}{{Category|Machine components}}</includeonly><noinclude>
| colspan="2" style="padding: 0.25em" |
 
* Power Generated: {{{power_gen|0}}}
 
* Power Needed: {{{power_need|0}}}
 
|-
 
! 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" |
 
{{{use|}}}
 
|-
 
! 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|}}}
 
|}
 
<noinclude>
 
  
 
== Usage ==
 
== Usage ==
<pre><nowiki>
+
<nowiki>
{{Mechanism|name=Screw pump|key=s|job=[[Pump_operator]]
+
{{Machine_component|name=Screw pump|key=s|job=[[Pump operator]]
 
|construction=
 
|construction=
 
* [[Enormous corkscrew]]
 
* [[Enormous corkscrew]]
 
* [[Pipe]]
 
* [[Pipe]]
*1 of
+
* [[Block]]
** [[Stone block]]
 
** [[Glass block]]
 
** [[Wood block]]
 
 
|construction_job=
 
|construction_job=
 
* [[Architecture]]
 
* [[Architecture]]
Line 59: Line 29:
 
** [[Carpentry]]
 
** [[Carpentry]]
 
** [[Masonry]]
 
** [[Masonry]]
|power_need=10
+
|power=Needs 10 power.
 
}}
 
}}
</nowiki></pre>
+
</nowiki>
 
+
{{Machine_component|name=Screw pump|key=s|job=[[Pump operator]]
== Example ==
 
 
 
{{Mechanism|name=Screw pump|key=s|job=[[Pump_operator]]
 
 
|construction=
 
|construction=
 
* [[Enormous corkscrew]]
 
* [[Enormous corkscrew]]
 
* [[Pipe]]
 
* [[Pipe]]
* 1 of
+
* [[Block]]
** [[Stone block]]
 
** [[Glass block]]
 
** [[Wood block]]
 
 
|construction_job=
 
|construction_job=
 
* [[Architecture]]
 
* [[Architecture]]
Line 78: Line 42:
 
** [[Carpentry]]
 
** [[Carpentry]]
 
** [[Masonry]]
 
** [[Masonry]]
|power_need=10
+
|power=Needs 10 power.
 
}}
 
}}
 +
[[Category:Building templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 10:12, 23 July 2013


Usage[edit]

{{Machine_component|name=Screw pump|key=s|job=[[Pump operator]]
|construction=
* [[Enormous corkscrew]]
* [[Pipe]]
* [[Block]]
|construction_job=
* [[Architecture]]
* 1 of
** [[Carpentry]]
** [[Masonry]]
|power=Needs 10 power.
}}

Screw pump

b-M-s

÷
÷
X
X
Job Requirement

Pump operator

Construction
Materials Jobs
Power

Needs 10 power.