Template:Item infobox: Difference between revisions
From Space Station 14 Wiki
added template styles |
uses template styles |
||
Line 25: | Line 25: | ||
-->{{#if: {{{category|}}}|[[Category:{{{category}}} items]]}}</includeonly><noinclude> | -->{{#if: {{{category|}}}|[[Category:{{{category}}} items]]}}</includeonly><noinclude> | ||
{{docs|bb= | {{docs|bb= | ||
{{uses template styles}} | |||
{{template populates categories|Items|<category> items}} | {{template populates categories|Items|<category> items}} | ||
}} | }} |
Revision as of 14:52, 29 March 2025
Uses template styles
This template uses template styles found in:
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 | {{PAGENAME}} by default, using the title of the page.
| 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. If there are multiple IDs, use a bullet list.
| String | suggested |