Template:MechanicalSwitch: Difference between revisions

From Medieval Engineers Wiki
Jump to navigation Jump to search
m (Protected "Template:MechanicalSwitch" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<h2>Mechanical [[:Category:Mechanical_Blocks/Switches|Switch]]</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:{{{connectionsdirections|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><!--


--><includeonly>[[Category:Mechanical_Blocks]][[Category:Mechanical_Blocks/Switches]]</includeonly><noinclude>
--><includeonly>[[Category:Mechanical_Blocks]][[Category:Mechanical_Blocks/Switches]]</includeonly><noinclude>
Line 14: Line 15:
*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]] and [[:Category:Mechanical_Blocks/Switches]]. [[:Category:Missing_information]] is added conditionally.
*Templates adds [[:Category:Mechanical_Blocks]] and [[:Category:Mechanical_Blocks/Switches]]. [[:Category:Missing_information]] is added conditionally.
{{:Template Ordering}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 12:27, 18 July 2022

Mechanical Switch

Number of Connections

<Information Missing>

Connection Directions

<Information Missing>

Usage

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

{{MechanicalSwitch
|connectionsnumber=<number?>
|connectionsdirections=<listofdirections?>
}}

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