Template:Items/doc: Difference between revisions

From Another Chance Wiki
Jump to navigation Jump to search
No edit summary
(Changed example item to Cup of Coffee)
 
Line 50: Line 50:
<pre>
<pre>
{{Items
{{Items
|image=[[File:Cake slice.webp|180px]]
|image=[[File:Coffee.webp|180px]]
|code=cake_slice
|code=cup_of_coffee
|investigate=This cocaine cake is more addictive than... well, cocaine.
|investigate=Blackest of the black, darker than night. That's how I like both my coffee and my horror punk.
|interact=[[Flora]] always finds her recipes on the dark web.
|interact=They call it the black gold, but what about [[Pepelepsi]]? That's the real heavy metal of the beverage world.
|obtain=Reward for completing [[Punked]].<br>Has a chance to be found in the rightmost locker in [[A Beautiful Motive]].
|consume=A bean-juice container. Sweet!
|use=Give to [[Flora]] during [[Tiny Thirsty Tree]].
|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.
}}
}}
</pre>
</pre>
{{Items
{{Items
|image=[[File:Cake slice.webp|180px]]
|image=[[File:Coffee.webp|180px]]
|obtain=Reward for completing [[Punked]].<br>Has a chance to be found in the rightmost locker in [[A Beautiful Motive]].
|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=Give to [[Flora]] during [[Tiny Thirsty Tree]].
|use=Used on the [[Guard]]’s window to acquire [[Mrs. L]]’s phone number.<br>Can be consumed.
|investigate=This cocaine cake is more addictive than... well, cocaine.
|investigate=Blackest of the black, darker than night. That's how I like both my coffee and my horror punk.
|interact=[[Flora]] always finds her recipes on the dark web.
|interact=They call it the black gold, but what about [[Pepelepsi]]? That's the real heavy metal of the beverage world.
|code=cake_slice
|code=cup_of_coffee
|consume=A bean-juice container. Sweet!
}}
}}

Latest revision as of 20:42, 21 November 2026

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.