Template:Items: Difference between revisions
Awsome2464 (talk | contribs) (Added "consume" parameter) |
Awsome2464 (talk | contribs) No edit summary |
||
| Line 16: | Line 16: | ||
| style="padding:10px" | "{{{interact}}}" | | style="padding:10px" | "{{{interact}}}" | ||
{{#if: {{{consume|}}} | <nowiki /> | {{#if: {{{consume|}}} | <nowiki /> | ||
{{!}}- | |||
{{!}} style="background-color:#ef9000;color:#000000;padding:5px: {{!}} [[File:consume.webp|50px|link=]] <b>Consume Text</b> | |||
{{!}}- | |||
{{!}} style="padding:10px" {{!}} "{{{consume}}}" | |||
}} | }} | ||
|} | |} | ||
Revision as of 16:56, 21 November 2026
Template documentation
|
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this documentation. (About template documentation) |
| Editors can experiment in this template's sandbox and test case pages. |
This template creates a table to give a brief overview and information on items collected in the game.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | A single 95x95 image or multiple 95x95 images used to represent the item. | String | required |
| Code Name | code | The name internally used when adding or removing the item from the inventory. | String | required |
| Investigation Text | investigate | The text that appears when pressing the magnifying glass icon on the item in the inventory. Use "N/A" if it doesn't have one. | String | required |
| Interaction Text | interact | The text that appears when pressing the hand icon on the item in the inventory. Use "N/A" if it doesn't have one. | String | required |
| Consume Text | consume | The text that appears when MC consumes the item from the inventory. | String | optional |
| How to Obtain | obtain | Describing all the ways that the item can be obtained in the game. Split multiple up using the <br> tag. | String | required |
| Use(s) | use | Describing all the ways that the item can be used in the game. Split multiple up using the <br> tag. | String | required |
{{Items
|image=[[File:Coffee.webp|180px]]
|code=cup_of_coffee
|investigate=Blackest of the black, darker than night. That's how I like both my coffee and my horror punk.
|interact=They call it the black gold, but what about [[Pepelepsi]]? That's the real heavy metal of the beverage world.
|consume=A bean-juice container. Sweet!
|obtain=Interact with the coffee machine in the [[Cafeteria]] for the first time.<br>Use the item [[Coffee Cup]] on the coffee machine in the [[Cafeteria]].
|use=Used on the [[Guard]]’s window to acquire [[Mrs. L]]’s phone number.<br>Can be consumed.
}}
| Code Name |
|---|
| "cup_of_coffee" |
| "Blackest of the black, darker than night. That's how I like both my coffee and my horror punk." |
| "They call it the black gold, but what about Pepelepsi? That's the real heavy metal of the beverage world."
|
| "A bean-juice container. Sweet!" |
| How to Obtain | Interact with the coffee machine in the Cafeteria for the first time. Use the item Coffee Cup on the coffee machine in the Cafeteria. |
| Use(s) | Used on the Guard’s window to acquire Mrs. L’s phone number. Can be consumed. |