Template:MechanicalSource: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
(Created page with "Category:Templates")
 
mNo edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Templates]]
<h2>Mechanical [[:Category:Mechanical_Blocks/Power_Sources|Source]]</h2>
;Maximum Power Output
<p style="margin-left: 1.6em;">{{{power|<Information Missing>}}}{{#if:{{{power|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p>
;Connection Direction(s)
<p style="margin-left: 1.6em;">{{{connectiondirections|<Information Missing>}}}{{#if:{{{connectiondirections|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><!--
-->{{#if:{{{otherlabel|}}}|<!--TRUE-->;{{{otherlabel}}}<p style="margin-left: 1.6em;">{{{othervalue}}}</p>|<!--FALSE-->}}<!--
 
--><includeonly>[[Category:Mechanical_Blocks]][[Category:Mechanical_Blocks/Power_Sources]]</includeonly><noinclude><!--
 
-->
==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.
<pre>{{MechanicalSource
|power=<MaxPowerOutput?>
|connectiondirections=<listofdirection?>
|otherlabel=<label>
|othervalue=<value>
}}</pre>
*The code above can be pasted into your page and edited.
*Any of the attributes can be left out entirely and they will use their default value. Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
*Templates adds [[:Category:Mechanical_Blocks]] and [[:Category:Mechanical_Blocks/Power_Sources]]. [[:Category:Missing_information]] is added conditionally.
{{:Template Ordering}}
[[Category:Templates]]</noinclude>

Latest revision as of 12:37, 12 September 2018

Mechanical Source

Maximum Power Output

<Information Missing>

Connection Direction(s)

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

ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.