Template:Infobox material: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Stub}} | {{Stub}} | ||
{{infobox | |||
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}} | |||
</ | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt1|}}}|upright=.6|]]<includeonly>|[[Category:Materials without image]]</includeonly>}} | ||
| image2 = {{#if:{{{image2|}}}| [[File:{{{image2}}}|frameless|alt={{{alt2|}}}|border|upright=.6|]]}} | |||
| image3 = {{#if:{{{image3|}}}| [[File:{{{image3}}}|frameless|alt={{{alt3}}}|border|upright=.6|]]}} | |||
| caption = {{{caption|}}} | |||
| image2 = {{#if:{{{image2|}}}|[[File:{{{image2}}}|frameless|alt={{{alt|}}}|upright=.6|]]}} | |||
| caption2 = {{{caption2|}}} | |||
| autoheaders = y | |||
| abovestyle = background:#eaecee;font-size:130%;padding:0.3em; | |||
| headerstyle = background:#eaecee; | |||
| header9 = Properties | |||
}} | |||
<includeonly>[[Category:Materials]]</includeonly> | |||
<noinclude>{{documentation}}<!-- Please add category and language links to the bottom of the /doc sub-page, not here --> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"name": { | |||
"description": "the name of the tool", | |||
"example": "Wrench", | |||
"type": "string", | |||
"autovalue": "" | |||
}, | |||
"image": { | |||
"aliases": [ | |||
"texture" | |||
], | |||
"description": "a image of the material, as it appears in game", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"alt": { | |||
"description": "alternative text in case the image fails to load", | |||
"type": "string" | |||
}, | |||
"caption": { | |||
"description": "a caption of the image 1", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"image2": { | |||
"description": "a second image to add", | |||
"type": "wiki-file-name", | |||
"autovalue": "" | |||
}, | |||
"caption2": { | |||
"description": "the caption of the second image", | |||
"type": "string" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
[[Category:Templates]] | |||
</noinclude> | |||
Revision as of 06:05, 14 August 2025

This page is a stub
You can help by expanding this page.
This page currently needs more information
| Infobox material | |
| 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 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 |