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
(Use parser functions to stop the display of sections that are not needed if they are provided no value. Added calculation of net power.)
m
Line 29: Line 29:
 
|-
 
|-
 
| colspan="2" style="padding: 0.25em" |
 
| colspan="2" style="padding: 0.25em" |
{|
+
{{{power}}}
|-
 
| Power Generated
 
| {{{power_gen|0}}}
 
|-
 
| Power Needed
 
| {{{power_need|0}}}
 
|-
 
| Net Power
 
| {{#expr:{{{power_gen|0}}} - {{{power_need|0}}}}}
 
|}
 
 
|{{#if:{{{use|}}}|-
 
|{{#if:{{{use|}}}|-
 
! 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="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" {{!}} Materials Used

Revision as of 14:41, 27 March 2008

{{{name}}}
b-M-{{{key}}}
{{Floor Plan {{{name}}}}}
Construction
Materials Jobs

{{{construction}}}

{{{construction_job}}}

Power

{{{power}}}


Usage

{{Mechanism|name=Screw pump|key=s|job=[[Pump_operator]]
|construction=
* [[Enormous corkscrew]]
* [[Pipe]]
*1 of
** [[Stone block]]
** [[Glass block]]
** [[Wood block]]
|construction_job=
* [[Architecture]]
* 1 of
** [[Carpentry]]
** [[Masonry]]
|power_need=10
}}

Example

Screw pump
b-M-s
X
X
Job Requirement
Pump_operator
Construction
Materials Jobs
Power

{{{power}}}