Template:MechanicalSource: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
<p style="margin-left: 1.6em;">{{{power|<Information Missing>}}}{{#if:{{{power|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{power|<Information Missing>}}}{{#if:{{{power|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p>
;Connection Direction
;Connection Direction
<p style="margin-left: 1.6em;">{{{connectionsdirection|<Information Missing>}}}{{#if:{{{connectionsdirection|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><!--
<p style="margin-left: 1.6em;">{{{connectiondirections|<Information Missing>}}}{{#if:{{{connectiondirections|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><!--
-->{{#if:{{{otherlabel|}}}|<!--TRUE-->;{{{otherlabel}}}|<!--FALSE-->}}<!--
-->{{#if:{{{otherlabel|}}}|<!--TRUE-->;{{{otherlabel}}}|<!--FALSE-->}}<!--
-->{{#if:{{{othervalue|}}}|<!--TRUE--><p style="margin-left: 1.6em;"><br/>{{{othervalue}}}</p>|<!--FALSE-->}}<!--
-->{{#if:{{{othervalue|}}}|<!--TRUE--><p style="margin-left: 1.6em;"><br/>{{{othervalue}}}</p>|<!--FALSE-->}}<!--
Line 14: Line 14:
<pre>{{MechanicalSource
<pre>{{MechanicalSource
|power=<MaxPowerOutput?>
|power=<MaxPowerOutput?>
|connectionsdirection=<listofdirection?>
|connectiondirections=<listofdirection?>
|otherlabel=<label>
|otherlabel=<label>
|othervalue=<value>
|othervalue=<value>

Revision as of 14:25, 16 January 2018

Mechanical Block

Maximum Power Output

<Information Missing>

Connection Direction

<Information Missing>

Usage

The MechanicalSource template is meant to be used for mechanical blocks that provide power to a mechanical system. Each power source block has a connection point that is oriented Forward, Backward, Up, Down, Left or Right. Because power sources have unique values based on their function, an extra label and value have been added to make formatting easier.

{{MechanicalSource
|power=<MaxPowerOutput?>
|connectiondirections=<listofdirection?>
|otherlabel=<label>
|othervalue=<value>
}}