Template:MechanicalTransmission: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h2>Mechanical [[:Category:Mechanical_Blocks/Transmissions|Transmission]]</h2>
;Number of Connections
;Number of Connections
<p style="margin-left: 1.6em;">{{{connectionsnumber|<Information Missing>}}}{{#if:{{{connectionsnumber|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p>
<p style="margin-left: 1.6em;">{{{connectionsnumber|<Information Missing>}}}{{#if:{{{connectionsnumber|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p>
;Connection Directions
;Connection Directions
<p style="margin-left: 1.6em;">{{{connectionsdirections|<Information Missing>}}}{{#if:{{{connectionsdirections|}}}|<!--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><!--


--><includeonly>[[Category:Mechanical_Blocks]]</includeonly><noinclude>
--><includeonly>[[Category:Mechanical_Blocks]][[Category:Mechanical_Blocks/Transmissions]]</includeonly><noinclude>
==Usage==
==Usage==
The MechanicalTransmission template is meant to be used for mechanical blocks that transfer power within a mechanical system. Each transmission block has multiple connection points that are oriented Forward, Backward, Up, Down, Left or Right.
The MechanicalTransmission template is meant to be used for mechanical blocks that transfer power within a mechanical system. Each transmission block has multiple connection points that are oriented Forward, Backward, Up, Down, Left or Right.
<pre>{{MechanicalTransmission
<pre>{{MechanicalTransmission
|connectionsnumber=<number?>
|connectionsnumber=<number?>
|connectionsdirections=<listofdirections?>
|connectiondirections=<listofdirections?>
}}</pre>
}}</pre>
*The code above can be pasted into your page and edited.
*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.
*Items marked with a "?" do not have defaults and will display <Information Missing> if they are not filled in.
*Templates adds [[:Category:Mechanical_Blocks]]. [[:Category:Missing_information]] is added conditionally.
*Templates adds [[:Category:Mechanical_Blocks]] and [[:Category:Mechanical_Blocks/Transmissions]]. [[:Category:Missing_information]] is added conditionally.
{{:Template Ordering}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 12:38, 12 September 2018

Mechanical Transmission

Number of Connections

<Information Missing>

Connection Directions

<Information Missing>

Usage

The MechanicalTransmission template is meant to be used for mechanical blocks that transfer power within a mechanical system. Each transmission block has multiple connection points that are oriented Forward, Backward, Up, Down, Left or Right.

{{MechanicalTransmission
|connectionsnumber=<number?>
|connectiondirections=<listofdirections?>
}}

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