Template:MechanicalSwitch: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
<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;">{{{ | <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> |
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?> }}
- The code above can be pasted into your page and edited.
- 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.
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.