Template:MechanicalSource: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<h2>Mechanical | <h2>Mechanical [[:Category:Mechanical_Blocks/Power_Sources|Source]]</h2> | ||
;Maximum Power Output | ;Maximum Power Output | ||
<p style="margin-left: 1.6em;">{{{power|<Information Missing>}}}{{#if:{{{power|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p> | <p style="margin-left: 1.6em;">{{{power|<Information Missing>}}}{{#if:{{{power|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p> | ||
;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;">{{{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><!-- | ||
Line 21: | Line 20: | ||
*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. | *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. | *Templates adds [[:Category:Mechanical_Blocks]] and [[:Category:Mechanical_Blocks/Power_Sources]]. [[:Category:Missing_information]] is added conditionally. | ||
{{:Template Ordering}} | |||
[[Category:Templates]]</noinclude> | [[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> }}
- 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.
ORDERED TEMPLATE: This template is typically used on pages with other templates. It should be added in the order specified in Template Ordering.