Template:InfoboxTool: Difference between revisions
From Project Nakagami
(Created page with "<includeonly>{| class="infobox" |style="text-align: center; font-size: large;" colspan="2" | '''{{#if: {{{name|}}}|{{{name}}}|{{PAGENAME}}}}''' |- |style="text-align: center" colspan="2" | {{#if: {{{icon|}}} | {{ItemIcon|icon={{{icon|none}}}|size=256}} | [[File:{{{image|No_Image_Specified}}}|frameless|center]]}} |- | '''Mod''' | {{{mod|'''ERROR: NO MOD SPECIFIED'''}}} |- | '''Energy''' | {{{energy|None}}} |}</includeonly><noinclude> Shows an infobox for tools, such as a...") |
(No difference)
|
Revision as of 00:14, 1 February 2022
Shows an infobox for tools, such as a screwdriver or electric wrench.
The following parameters are supported:
| Parameter | Required or Optional | Use | Default |
|---|---|---|---|
| name | Optional | The title to show at the top of the infobox. | Page Title |
| icon | One of image or icon required | The name of the icon to show. Names are defined in Module:ItemIconData | N/A |
| image | One of image or icon required | The filename of the image to show. | N/A |
| mod | Required | The mod that implements this item. | N/A |
| energy | Optional | The type of energy consumed by this tool. Exclude for tools that do not require energy to operate. | None |