Template:Items: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="text-align: center;">{{{image}}}</div>
<includeonly><div style="text-align: center;">{{{image}}}</div>
<br>
{| style="margin: 0 auto; text-align: center;"
! style="background-color:#ef9000;color:#000000;padding:5px" | Code Name
|-
| style="padding:10px" | <code>"{{{code}}}"</code>
|}


{| style="margin: 0 auto; text-align: center;"
{| style="margin: 0 auto; text-align: center;"
! style="background-color:#ef9000;color:#000000;width:200px;padding:5px"" | [[File:investigate.webp|50px|link=]] <b>Investigation Text</b>
! style="background-color:#ef9000;color:#000000;padding:5px"" | [[File:investigate.webp|50px|link=]] <b>Investigation Text</b>
|-
|-
| style="padding:10px" | "{{{investigate}}}"
| style="padding:10px" | "{{{investigate}}}"
|-
|-
! style="background-color:#ef9000;color:#000000;width:200px;padding:5px"" | [[File:interact.webp|50px|link=]] <b>Interaction Text</b>
! style="background-color:#ef9000;color:#000000;padding:5px"" | [[File:interact.webp|50px|link=]] <b>Interaction Text</b>
|-
|-
| style="padding:10px" | "{{{interact}}}"
| style="padding:10px" | "{{{interact}}}"
{{#if: {{{consume|}}} | <nowiki />
{{!}}-
{{!}} style="background-color:#ef9000;color:#000000;padding:5px: {{!}} [[File:consume.webp|50px|link=]] <b>Consume Text</b>
{{!}}-
{{!}} style="padding:10px" {{!}} "{{{consume}}}"
}}
|}
|}


{| style="margin: 0 auto; text-align: center;"
{| style="margin: 0 auto; text-align: center;"
| style="background-color:#ef9000;color:#000000;width:150px;padding:5px"" | <b>How to Obtain</b>
| style="background-color:#ef9000;color:#000000;padding:5px"" | <b>How to Obtain</b>
| style="padding:5px" | {{{obtain}}}
| style="padding:10px" | {{{obtain}}}
|-
|-
| style="background-color:#ef9000;color:#000000;width:150px;padding:5px"" | <b>Use(s)</b>
| style="background-color:#ef9000;color:#000000;padding:5px"" | <b>Use(s)</b>
| style="padding:5px" | {{{use}}}
| style="padding:10px" | {{{use}}}
|}
|}</includeonly>
<noinclude>
{{Documentation}}
<noinclude>

Latest revision as of 20:41, 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.

Template parameters

ParameterDescriptionTypeStatus
Imageimage

A single 95x95 image or multiple 95x95 images used to represent the item.

Stringrequired
Code Namecode

The name internally used when adding or removing the item from the inventory.

Stringrequired
Investigation Textinvestigate

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.

Stringrequired
Interaction Textinteract

The text that appears when pressing the hand icon on the item in the inventory. Use "N/A" if it doesn't have one.

Stringrequired
Consume Textconsume

The text that appears when MC consumes the item from the inventory.

Stringoptional
How to Obtainobtain

Describing all the ways that the item can be obtained in the game. Split multiple up using the <br> tag.

Stringrequired
Use(s)use

Describing all the ways that the item can be used in the game. Split multiple up using the <br> tag.

Stringrequired
{{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.
}}
Coffee.webp


Code Name
"cup_of_coffee"
Investigate.webp Investigation Text
"Blackest of the black, darker than night. That's how I like both my coffee and my horror punk."
Interact.webp Interaction Text
"They call it the black gold, but what about Pepelepsi? That's the real heavy metal of the beverage world."

Consume.webp Consume Text
"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.