Difference between revisions of "Template:Machine"
From Electrical Age
(4 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
Current syntax: | Current syntax: | ||
<pre><nowiki> | <pre><nowiki> | ||
− | {{Machine|name={{PAGENAME}}|voltage=...|image=...}} | + | {{Machine|name={{PAGENAME}}|voltage=...|power=...|image=...}} |
</nowiki></pre> | </nowiki></pre> | ||
− | Indicated parameters are defaults, except for those with "default" values <code>...</code>, which would be elided. (NB: Elision won't work until the ParserFunctions extension is enabled | + | Indicated parameters are defaults, except for those with "default" values <code>...</code>, which would be elided. (NB: Elision won't work until the ParserFunctions extension is enabled; let me know when it is.) |
</div> | </div> | ||
− | </noinclude>{| class="infobox" cellspacing="5" style="width: 26em; font-size: 90%; text-align: left; float: right; border: 1px solid #000;" | + | </noinclude>{| class="infobox" cellspacing="5" style="width: 26em; font-size: 90%; text-align: left; float: right; clear: right; margin-bottom: 1.5em; border: 1px solid #000;" |
|- | |- | ||
| colspan="2" style="text-align: center; font-size: 150%;" | '''{{{name|{{PAGENAME}}}}}''' | | colspan="2" style="text-align: center; font-size: 150%;" | '''{{{name|{{PAGENAME}}}}}''' | ||
|- | |- | ||
− | | colspan="2" | {{{image}}} | + | | colspan="2" style="text-align: center;" | {{{image|''no image''}}} |
|- | |- | ||
| '''Nominal Voltage:''' | | '''Nominal Voltage:''' | ||
− | | {{{voltage}}} | + | | {{{voltage|???}}}V |
|- | |- | ||
+ | | '''Nominal Power:''' | ||
+ | | {{{power|???}}}W | ||
|} | |} | ||
[[Category:Machines]] | [[Category:Machines]] |
Latest revision as of 20:29, 26 November 2017
Describes a machine.
Current syntax:
{{Machine|name={{PAGENAME}}|voltage=...|power=...|image=...}}
Indicated parameters are defaults, except for those with "default" values ...
, which would be elided. (NB: Elision won't work until the ParserFunctions extension is enabled; let me know when it is.)
Machine | |
no image | |
Nominal Voltage: | ???V |
Nominal Power: | ???W |