Template:Infobox tool: Difference between revisions
No edit summary |
No edit summary |
||
| Line 19: | Line 19: | ||
| data11 = {{{powered|}}} | | data11 = {{{powered|}}} | ||
| label12 = [[Power_Tool_Modifier|Moddable]] | | label12 = {{#if:{{{maxpower|}}}| [[:Category:Power Tools|Max Power]] }} | ||
| | | data12 = {{#if:{{{maxpower|}}}| {{{maxpower}}} }} | ||
| label13 = [[Power_Tool_Modifier|Moddable]] | |||
| data13 = {{{moddable|}}} | |||
}}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | }}<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | ||
| Line 65: | Line 68: | ||
"description": "whether the tool accepts modifications", | "description": "whether the tool accepts modifications", | ||
"type": "boolean" | "type": "boolean" | ||
}, | |||
"maxpower": { | |||
"description": "Power capacity of this tool", | |||
"type": "string" | |||
}, | |||
"maxmods": { | |||
"description": "Number of mods this tool may accept", | |||
"type": "string" | |||
} | } | ||
} | } | ||
Revision as of 19:20, 12 August 2025
| Infobox tool | |
| Properties |
|---|
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name | name | the name of the tool
| String | optional |
| image | image texture | a image of the tool, as it appears in game | File | suggested |
| alt | alt | alternative text in case the image fails to load | String | optional |
| caption | caption | a caption of the image 1 | String | suggested |
| image2 | image2 | a second image to add
| File | optional |
| caption2 | caption2 | the caption of the second image | String | optional |
| powered | powered | whether the tool is powered | Boolean | optional |
| moddable | moddable | whether the tool accepts modifications | Boolean | optional |
| maxpower | maxpower | Power capacity of this tool | String | optional |
| maxmods | maxmods | Number of mods this tool may accept | String | optional |