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
(Creating Template for mechanism pages)
 
m
Line 11: Line 11:
 
| style="width: 50%" |
 
| style="width: 50%" |
 
|}
 
|}
 +
{{ #if:{{{job}}} |
 
|-
 
|-
 
! 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="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="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
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Construction
Line 28: Line 30:
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Power
 
! colspan="2" style="border-top: 1px solid #aaa; border-bottom: 1px solid #aaa; background: #eee; padding: 0.1em 0.25em" | Power
 
|-
 
|-
! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%; border-right: 1px solid #aaa" | Generated
+
| colspan="2" style="padding: 0.25em" |
! style="text-align: left; padding: 0.2em 0.25em 0; width: 50%" | Consumed
+
* Power Generated: {{{power_gen}}}
|-
+
* Power Needed: {{{power_need}}}
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top; border-right: 1px solid #aaa" |
 
{{{power_gen}}}
 
| style="padding: 0.1em 0.25em 0.25em; width: 50%; vertical-align: top" |
 
{{{power_need}}}
 
 
|-
 
|-
 
! 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
Line 49: Line 47:
  
 
== Usage ==
 
== Usage ==
 
This automatically includes the page in [[:Category:Workshops]].
 
 
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Mechanism|name=Screw Pump|key=s|job=[[Carpentry]]
 
{{Mechanism|name=Screw Pump|key=s|job=[[Carpentry]]

Revision as of 15:37, 17 January 2008

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

{{{construction}}}

{{{construction_job}}}

Power
  • Power Generated: {{{power_gen}}}
  • Power Needed: {{{power_need}}}
Materials Used

{{{use}}}

Goods Created

{{{production}}}


Usage

{{Mechanism|name=Screw Pump|key=s|job=[[Carpentry]]
|construction=
1 of
* [[Block]]
* [[Stone]]
* [[Wood]]
|construction_job=
* [[Architecture]]
* 1 of
** [[Carpentry]]
** [[Masonry]]
|power_gen=0
|power_need=10
|use=
* [[Wood]]
|production=
* [[Weapon rack]]
}}

Example

Template:Mechanism