Template:MechanicalSource: Difference between revisions
Jump to navigation
Jump to search
CptTwinkie (talk | contribs) mNo edit summary |
CptTwinkie (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
;Maximum Power Output | ;Maximum Power Output | ||
<p style="margin-left: 1.6em;">{{{power|<Information Missing>}}}{{#if:{{{power|}}}|<!--TRUE--> | <p style="margin-left: 1.6em;">{{{power|<Information Missing>}}}{{#if:{{{power|}}}|<!--TRUE-->|<!--FALSE--><includeonly>[[Category:Missing_information]]</includeonly>}}</p><!-- | ||
[[Category:Templates]] | -->{{#if:{{{otherlabel|}}}|<!--TRUE-->;{{{otherlabel}}}|<!--FALSE-->}}<!-- | ||
-->{{#if:{{{othervalue|}}}|<!--TRUE--><p style="margin-left: 1.6em;"><br/>{{{othervalue}}}</p>|<!--FALSE-->}} <includeonly>[[Category:Mechanical_Blocks]]</includeonly><noinclude><!-- | |||
-->==Usage== | |||
The MechanicalSource template is meant to be used for mechanical blocks that provide power to a mechanical system. Since power sources have unique values based on their function, an extra label and value have been added to make formatting easier. | |||
<pre>{{Block | |||
|power=<MaxPowerOutput?> | |||
|otherlabel=<label> | |||
|othervalue=<value> | |||
}}</pre> | |||
*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]]. [[:Category:Missing_information]] is added conditionally. | |||
[[Category:Templates]]</noinclude> |
Revision as of 12:35, 22 December 2017
- Maximum Power Output
<Information Missing>
==Usage==
The MechanicalSource template is meant to be used for mechanical blocks that provide power to a mechanical system. Since power sources have unique values based on their function, an extra label and value have been added to make formatting easier.
{{Block |power=<MaxPowerOutput?> |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. Category:Missing_information is added conditionally.