Template:Item infobox: Difference between revisions
From Space Station 14 Wiki
populates cats |
added an id field |
||
Line 4: | Line 4: | ||
|title={{{title|}}} | |title={{{title|}}} | ||
|image={{#if:{{{image|{{{img|}}}}}}|[[File:{{{image|{{{img}}}}}}|250px]]}} | |image={{#if:{{{image|{{{img|}}}}}}|[[File:{{{image|{{{img}}}}}}|250px]]}} | ||
|sections=Main | |sections=Main, Technical Information | ||
|Main=Category, Type, Max stack, Size, Meow, Internal Size | |Main=Category, Type, Max stack, Size, Meow, Internal Size | ||
Line 14: | Line 14: | ||
|Meow = {{{meoow|}}} | |Meow = {{{meoow|}}} | ||
|Internal Size = {{{internal size|}}} | |Internal Size = {{{internal size|}}} | ||
|Technical Information = ID | |||
|ID = {{{id|}}} | |||
}}<!-- | }}<!-- | ||
Line 70: | Line 73: | ||
"description": "How big is this item on the inside? For Example, medkits are 3x3 in a backpack but 2x4 on the inside", | "description": "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,", | "example": "2x3, 2x4, 10x8,", | ||
"type": "line", | |||
"suggested": true | |||
}, | |||
"id": { | |||
"label": "Item ID", | |||
"description": "Can be found in .yml files.", | |||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
Line 81: | Line 90: | ||
"max stack", | "max stack", | ||
"size", | "size", | ||
"internal size" | "internal size", | ||
"id" | |||
], | ], | ||
"description": "Infobox templates for roles/jobs.", | "description": "Infobox templates for roles/jobs.", |
Revision as of 19:11, 27 March 2025
Populates categories
This template will add categories when used:
(though on what conditions — consult with the template itself)
(though on what conditions — consult with the template itself)
- Category:Items
- [[:Category:<category> items]]
Template:Item infobox/doc
Infobox templates for roles/jobs.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Infobox title | title | no description
| Line | required |
Image | image img | no description
| File | suggested |
Category | category | no description
| Line | suggested |
Type | type | no description
| Line | suggested |
Max Stack | max stack | no description
| Line | suggested |
Size | size | How big is this item? (use smaller number first)
| Line | suggested |
Internal size | internal size | How big is this item on the inside? For Example, medkits are 3x3 in a backpack but 2x4 on the inside
| Line | suggested |
Item ID | id | Can be found in .yml files. | Line | suggested |