×
Create a new article
Write your page title here:
We currently have 3,033 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,033Articles

Template:VendingMachine: Difference between revisions

(Created page with "<includeonly> {{#subobject: |Vending Machine/Location = {{{location}}} |Vending Machine/Location Alias = {{{location_alias|}}} |Vending Machine/Map ID = {{{map_id|MAP}}} |Vend...")
 
(generate table row)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>|-
{{#subobject:
|[[File:{{{image}}}]]
|Vending Machine/Location = {{{location}}}
|class="center-text"|[[{{NAMESPACE}}:{{{location}}}|{{{location_alias|{{{location}}}}}}]]
|Vending Machine/Location Alias = {{{location_alias|}}}
|{{{comment|}}}{{#subobject:
|Vending Machine/Location = {{NAMESPACE}}:{{{location}}}
|Vending Machine/Location Alias = {{#if:{{{location_alias|}}}|{{{location_alias}}}|{{{location}}}}}
|Vending Machine/Map ID = {{{map_id|MAP}}}
|Vending Machine/Map ID = {{{map_id|MAP}}}
|Vending Machine/Event ID = {{{event_id|EV}}}
|Vending Machine/Event ID = {{{event_id|EV}}}|+sep=,
|Vending Machine/Image = {{{image}}}
|Vending Machine/Image = [[File:{{{image}}}]]
|Vending Machine/Comment = {{{comment|}}}
|Vending Machine/Comment = {{{comment}}}
|Vending Machine/Is implemented = {{{is_implemented|true}}}
|Vending Machine/Is implemented = {{{is_implemented|true}}}
|Vending Machine/Is accessible = {{{is_accessible|true}}}
|Vending Machine/Is accessible = {{{is_accessible|true}}}
|Vending Machine/Is unique = {{{is_unique|false}}}
|Vending Machine/Is unique = {{{is_unique|false}}}
|Has image = {{#if: {{{image|}}}|{{#filepath:{{{image}}}}}}}
|Vending Machine/Is secret = {{{is_secret|false}}}
|Has image path = {{#if: {{{image|}}}|{{filepath:{{{image}}}}}}}
}}
}}
</includeonly>
</includeonly><noinclude><!-- There's an intentional newline at the end -->
<noinclude>
{{Documentation}}
This template contains a subobject representing a Vending Machine, and is primarily used in the [[Yume 2kki:Vending Machine|Vending Machine]] page of the Yume 2kki wiki.
</noinclude>
</noinclude>

Latest revision as of 13:01, 11 September 2024

Documentation (for the above template, sometimes hidden or invisible)

Represents data for a vending machine in-game.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Locationlocation

The vending machine's location.

Example
Snowy Forest
Stringrequired
Location Aliaslocation_alias

Descriptive text substituting the location's name. This is intended to precedence over the location's page name when displayed.

Example
Snowy Forest (Wintry Path)
Stringoptional
Map IDmap_id

The map ID where the vending machine is situated in. Zero-padded

Example
0894
Stringoptional
Event IDevent_id

The event ID(s) containing logic governing a vending machine. Zero-padded, can take on multiple values, separated by a comma.

Example
0027, 0033
Stringoptional
Imageimage

A wiki link pointing to the vending machine's image.

Example
File:Jihanki snowy forest 2.PNG
Page namerequired
Commentscomment

Remarks about a the vending machine; these could be related to its appearance or distinctive features.

Example
This vending machine, which bears the colors of the trees nearby, has the top portion covered in snow. It only sells cups of corn potage.
Stringoptional
Is Implementedis_implemented

Boolean flag denoting whether a vending machine has been officially implemented for use in-game. Defaults to true.

Default
true
Example
true
Booleanoptional
Is Accessibleis_accessible

Boolean flag denoting whether a vending machine can be accessed through normal means. Defaults to true.

Default
true
Booleanoptional
Is Uniqueis_unique

Boolean flag that denotes whether a vending machine is unique or otherwise. Defaults to false.

Default
false
Booleanoptional
Is Secretis_secret

Boolean flag that denotes whether a vending machine is secret or otherwise. Defaults to false.

Default
false
Booleanoptional