Template:Item infobox: Difference between revisions
added a weapon section |
more weapon params |
||
Line 24: | Line 24: | ||
|Internal Size = {{{internal size|}}} | |Internal Size = {{{internal size|}}} | ||
|Weapon = Damage, Fire rate, Range | |Weapon = Fire mode, Wieldable, Damage, Fire rate, Range, Spread, Projectile prototype, Auto-recharge, Auto-recharge rate, Internal magazine, Internal magazine capacity | ||
|Fire mode = {{{fire mode|}}} | |||
|Wieldable = {{{wieldable|}}} | |||
|Damage = {{{damage|}}} | |Damage = {{{damage|}}} | ||
|Fire rate = {{{fire rate|}}} | |Fire rate = {{{fire rate|}}} | ||
|Range = {{{range|}}} | |Range = {{{range|}}} | ||
|Spread = {{{spread|}}} | |||
|Projectile prototype = {{{Projectile proto|}}} | |||
|Auto-recharge = {{{auto recharge|}}} | |||
|Auto-recharge rate = {{{auto recharge rate|}}} | |||
|Internal magazine = {{{internal magazine|}}} | |||
|Internal magazine capacity = {{{internal magazine capacity|}}} | |||
|Food = Edible by: | |Food = Edible by: | ||
Line 233: | Line 241: | ||
"description": "Range in tiles.", | "description": "Range in tiles.", | ||
"example": "3 tiles", | "example": "3 tiles", | ||
"type": "line", | |||
"suggested": true | |||
}, | |||
"fire mode": { | |||
"label": "[WEAPON] Fire mode", | |||
"type": "line", | |||
"suggestedvalues": [ | |||
"Semi-auto", | |||
"Burst", | |||
"Full-auto" | |||
], | |||
"suggested": true | |||
}, | |||
"wieldable": { | |||
"label": "[WEAPON] Can be wielded?", | |||
"type": "boolean", | |||
"autovalue": "0", | |||
"suggested": true | |||
}, | |||
"spread": { | |||
"label": "[WEAPON] Spread", | |||
"description": "Spread when shooting, in degrees.", | |||
"type": "line", | |||
"example": "30° (5° wielded)" | |||
}, | |||
"auto recharge": { | |||
"label": "[WEAPON] Auto recharge?", | |||
"description": "Whether the weapon recharges by itself.", | |||
"type": "boolean", | |||
"autovalue": "0", | |||
"suggested": true | |||
}, | |||
"auto recharge rate": { | |||
"label": "[WEAPON] Auto recharge rate", | |||
"description": "Rate of auto recharge, if any.", | |||
"example": "0.8 bullets/sec", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"internal magazine": { | |||
"label": "[WEAPON] Has internal magazine?", | |||
"description": "Does the weapon has an internal unequipable magazine?", | |||
"type": "boolean", | |||
"autovalue": "0", | |||
"suggested": true | |||
}, | |||
"internal magazine capacity": { | |||
"label": "[WEAPON] Internal magazine capacity", | |||
"example": "1 bullet", | |||
"type": "line", | |||
"suggested": true | |||
}, | |||
"projectile proto": { | |||
"label": "[WEAPON] Projectile Prototype", | |||
"example": "{{c|BulletKinetic}}", | |||
"type": "line", | "type": "line", | ||
"suggested": true | "suggested": true | ||
Line 263: | Line 326: | ||
"solution capacity", | "solution capacity", | ||
"solution", | "solution", | ||
"id" | "id", | ||
"fire mode", | |||
"wieldable", | |||
"spread", | |||
"projectile proto", | |||
"auto recharge", | |||
"auto recharge rate", | |||
"internal magazine", | |||
"internal magazine capacity" | |||
], | ], | ||
"description": "Infobox templates for roles/jobs.", | "description": "Infobox templates for roles/jobs.", |
Revision as of 10:23, 9 May 2025
(though on what conditions — consult with the template itself)
- Category:Items
- [[:Category:<category>]]
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 |
Image caption | caption | no description | Line | suggested |
Category 1 | category 1 category | Item category. If it has multiple, use other category fields. All specified categories will also be added as categories to the page. DO NOT put links are any formatting here.
| Line | suggested |
Category 2 | category 2 | no description | Line | suggested |
Category 3 | category 3 | no description | Line | suggested |
Category 4 | category 4 | no description | Line | suggested |
Category 5 | category 5 | no description | Line | suggested |
Category 6 | category 6 | no description | Line | suggested |
Category 7 | category 7 | no description | Line | suggested |
Category 8 | category 8 | no description | Line | suggested |
Type | type | no description
| Line | suggested |
[FOOD] Edible by reptilians | edible by reptilians | If item is food, whether it's edible by reptilians (lizards).
| Boolean | suggested |
[FOOD] Edible by moths | edible by moths | If item is food, whether it's edible by moth people (moffs).
| Boolean | suggested |
[FOOD] Edible by everyone else | edible by rest | If item is food, whether it's edible by everyone except those in previous "Edible by X" parameters.
| Boolean | suggested |
[PROCESSING] Grindable | grindable | Can be grinded in a grinder?
| Boolean | suggested |
[PROCESSING] Juiceable | juiceable | Can be juiced in a grinder?
| Boolean | suggested |
[WEAPON] Damage | damage | no description
| String | suggested |
[WEAPON] Fire rate | fire rate | Shots per second
| File | suggested |
[WEAPON] Range | range | Range in tiles.
| Line | suggested |
Max Stack | max stack | no description
| Line | suggested |
Size | size | How big is this item? If it's a predefined size (like 'Large'), use template {{isize|<size>}} to format it. If it's a specific size (like 1x3), specify it as is. If it has multiple sizes (eg a welding tool), specify them in a bullet list (use smaller number first)
| String | suggested |
Internal size | internal size | How big is this item on the inside? Use {{infobox storage grid|grid1|grid2|grid3}} from the ingame YML files to define this.
| Line | suggested |
Solution capacity | solution capacity | If an item can hold a solution, how much can it hold?
| Line | suggested |
Solution composition | solution | If an item holds a solution, which chemicals it is composed of? List them using a bullet list, each item starting on a new line.
| String | suggested |
Item ID | id | Can be found in .yml files. If there are multiple IDs, use a bullet list.
| String | suggested |
[WEAPON] Fire mode | fire mode | no description
| Line | suggested |
[WEAPON] Can be wielded? | wieldable | no description
| Boolean | suggested |
[WEAPON] Spread | spread | Spread when shooting, in degrees.
| Line | optional |
[WEAPON] Projectile Prototype | projectile proto | no description
| Line | suggested |
[WEAPON] Auto recharge? | auto recharge | Whether the weapon recharges by itself.
| Boolean | suggested |
[WEAPON] Auto recharge rate | auto recharge rate | Rate of auto recharge, if any.
| Line | suggested |
[WEAPON] Has internal magazine? | internal magazine | Does the weapon has an internal unequipable magazine?
| Boolean | suggested |
[WEAPON] Internal magazine capacity | internal magazine capacity | no description
| Line | suggested |