Template:Infobox material: Difference between revisions

From Horizon's End Wiki
No edit summary
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}


{{infobox
| above = {{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}


</div><includeonly>[[Category:Materials]]</includeonly>
| 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

Help Wanted
thumb

This page is a stub
You can help by expanding this page.
This page currently needs more information


Infobox material
Properties

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
namename

the name of the tool

Example
Wrench
Auto value
Stringoptional
imageimage texture

a image of the material, as it appears in game

Filesuggested
altalt

alternative text in case the image fails to load

Stringoptional
captioncaption

a caption of the image 1

Stringsuggested
image2image2

a second image to add

Auto value
Fileoptional
caption2caption2

the caption of the second image

Stringoptional