Template:MechanicalSource: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
;Connection Direction(s) | ;Connection Direction(s) | ||
<p style="margin-left: 1.6em;">{{{connectiondirections|<Information Missing>}}}{{#if:{{{connectiondirections|}}}|<!--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}}} | -->{{#if:{{{otherlabel|}}}|<!--TRUE-->;{{{otherlabel}}} | ||
<p style="margin-left: 1.6em;"><br/>{{{othervalue}}}</p>|<!--FALSE-->}}<!-- | |||
--><includeonly>[[Category:Mechanical_Blocks]][[Category:Mechanical_Blocks/Power_Sources]]</includeonly><noinclude><!-- | --><includeonly>[[Category:Mechanical_Blocks]][[Category:Mechanical_Blocks/Power_Sources]]</includeonly><noinclude><!-- |
Revision as of 14:55, 16 January 2018
Mechanical Block
- 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> }}
- 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.