Template:Item infobox: Difference between revisions

From Space Station 14 Wiki
Aliser (talk | contribs)
enabled block formatting for the template; enabled block formatting for ID field
Aliser (talk | contribs)
impov. ID field docs
Line 79: Line 79:
"id": {
"id": {
"label": "Item ID",
"label": "Item ID",
"description": "Can be found in .yml files.",
"description": "Can be found in .yml files. If there are multiple IDs, use a bullet list.",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
"example": "{{c|BloodPack}} / * {{c|MedkitCombatFilled}} (filled) * {{c|MedkitCombat}} (empty)"
}
}
},
},

Revision as of 13:56, 29 March 2025

Template documentation
view or edit this documentation about template documentation
Populates categories
This template will add categories when used:
(though on what conditions — consult with the template itself)

Template:Item infobox/doc

Infobox templates for roles/jobs.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Infobox titletitle

no description

Example
Regenerative Mesh
Linerequired
Imageimage img

no description

Example
Regenerative Mesh Sprite.png
Filesuggested
Categorycategory

no description

Example
Medical
Linesuggested
Typetype

no description

Example
Advanced topicals, tools, ect
Linesuggested
Max Stackmax stack

no description

Example
10, 30, 1
Linesuggested
Sizesize

How big is this item? (use smaller number first)

Example
1x2, 2x4, 1x5,
Linesuggested
Internal sizeinternal size

How big is this item on the inside? For Example, medkits are 3x3 in a backpack but 2x4 on the inside

Example
2x3, 2x4, 10x8,
Linesuggested
Item IDid

Can be found in .yml files. If there are multiple IDs, use a bullet list.

Example
{{c|BloodPack}} / * {{c|MedkitCombatFilled}} (filled) * {{c|MedkitCombat}} (empty)
Stringsuggested