Template:Infobox material: Difference between revisions

From Horizon's End Wiki
(Created page with "{{Stub}}")
 
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{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;
 
| 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>
}}
 
}}
<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"
},
"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"
}
}
}
</templatedata>
[[Category:Templates]]
</noinclude>

Latest revision as of 18:36, 15 August 2025

Infobox material

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
image3image3

a third image to add

Auto value
Fileoptional
caption3caption3

the caption of the third image

Stringoptional
stackablestackable

whether the material is stackable

Stringoptional
blastresistanceblastresistance

blast resistance of the material

Stringoptional