Template:InfoBox: Difference between revisions

From Aphelium
No edit summary
No edit summary
Line 10: Line 10:
<td>[[File: {{{icon|}}}|20px]]
<td>[[File: {{{icon|}}}|20px]]
</tr>
</tr>
{{#if:{{{ui_per_block|}}}|<nowiki/>
<tr>
<tr>
<th>UI per block</th>
<th>UI per block</th>
<td>{{{ui_per_block}}}
<td>{{{ui_per_block}}}
</tr>
</tr>
}}
<tr>
<tr>
<th>Category</th>
<th>Category</th>
Line 21: Line 23:
<th>Eatable</th>
<th>Eatable</th>
<td>{{{eatable}}}
<td>{{{eatable}}}
</tr>
<tr>
<th>Craftable</th>
<td>{{{craftable}}}</td>
</tr>
</tr>
{{#if:{{{energy_restored|}}}|<nowiki/>
{{#if:{{{energy_restored|}}}|<nowiki/>
Line 57: Line 63:
"example": "25",
"example": "25",
"type": "number",
"type": "number",
"required": true
"suggested": true
},
},
"icon": {
"icon": {
Line 102: Line 108:
"label": "AtomicAsset template ID",
"label": "AtomicAsset template ID",
"type": "number",
"type": "number",
"suggested": true
},
"craftable": {
"label": "Craftable",
"type": "string",
"suggestedvalues": [
"Yes",
"No"
],
"default": "No",
"autovalue": "No",
"suggested": true
"suggested": true
}
}

Revision as of 15:06, 23 May 2023

{{{name}}}

[[File: ]]

Information
Icon [[File: |20px]]
Category {{{category}}}
Eatable {{{eatable}}}
Craftable {{{craftable}}}
Sellable on Equinox {{{sellable}}}

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
namename

no description

Stringrequired
Imageimage

no description

Filesuggested
Units per blockui_per_block

no description

Example
25
Numbersuggested
Iconicon

no description

Filesuggested
Categorycategory

no description

Example
Food
Stringsuggested
Eatableeatable

no description

Suggested values
Yes No
Example
Yes
Auto value
No
Stringrequired
Energy restored per block eatenenergy_restored

no description

Example
2
Numberoptional
Sellablesellable

If it's sellable on Equinox, the open marketplace

Suggested values
Yes No
Default
No
Example
Yes
Auto value
No
Stringrequired
AtomicAsset template IDaa_template

no description

Numbersuggested
Craftablecraftable

no description

Suggested values
Yes No
Default
No
Auto value
No
Stringsuggested