Template:Infobox material: Difference between revisions
m (Gutin moved page Template:Infobox matertial to Template:Infobox material) |
No edit summary |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
| headerstyle = background:#eaecee; | | headerstyle = background:#eaecee; | ||
| | | data9 = {{ #if:{{{stackable|}}}| | ||
<div style= "border: 1px solid gray;"> | |||
<div style="float:left;padding-left:5%;padding-top:3%;"><b>Stackable</b></div> | |||
<div style="float:right;padding-right:5%;;padding-top:3%;">{{{stackable|}}}</div> | |||
</div> | |||
}} | |||
| data10 = {{#if:{{{blastresistance|}}}| | |||
<div style= "border: 1px solid gray;"> | |||
<div style="float:left;padding-left:5%;padding-top:3%;"><b>[[Blast Resistance]]</b></div> | |||
<div style="float:right;padding-right:5%;;padding-top:3%;">{{{blastresistance|}}}</div> | |||
</div> | |||
}} | |||
}} | }} | ||
| Line 52: | Line 64: | ||
"caption2": { | "caption2": { | ||
"description": "the caption of the second image", | "description": "the caption of the second image", | ||
"type": "string" | |||
}, | |||
"image3": { | |||
"description": "a third image to add", | |||
"type": "wiki-file-name", | |||
"autovalue": "" | |||
}, | |||
"caption3": { | |||
"description": "the caption of the third image", | |||
"type": "string" | |||
}, | |||
"stackable": { | |||
"description": "whether the material is stackable", | |||
"type": "string" | |||
}, | |||
"blastresistance": { | |||
"description": "blast resistance of the material", | |||
"type": "string" | "type": "string" | ||
} | } | ||
Latest revision as of 18:36, 15 August 2025
| Infobox material |
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 material, 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 |
| image3 | image3 | a third image to add
| File | optional |
| caption3 | caption3 | the caption of the third image | String | optional |
| stackable | stackable | whether the material is stackable | String | optional |
| blastresistance | blastresistance | blast resistance of the material | String | optional |