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



YumeWiki
3,036Articles

Template:VendingMachine: Difference between revisions

(remove newlines and explanatory text)
(generate table row)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#subobject:
<includeonly>|-
|[[File:{{{image}}}]]
|class="center-text"|[[{{NAMESPACE}}:{{{location}}}|{{{location_alias|{{{location}}}}}}]]
|{{{comment|}}}{{#subobject:
|Vending Machine/Location = {{NAMESPACE}}:{{{location}}}
|Vending Machine/Location = {{NAMESPACE}}:{{{location}}}
|Vending Machine/Location Alias = {{#if:{{{location_alias|}}}|{{{location_alias}}}|{{{location}}}}}
|Vending Machine/Location Alias = {{#if:{{{location_alias|}}}|{{{location_alias}}}|{{{location}}}}}
Line 5: Line 8:
|Vending Machine/Event ID = {{{event_id|EV}}}|+sep=,
|Vending Machine/Event ID = {{{event_id|EV}}}|+sep=,
|Vending Machine/Image = [[File:{{{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}}}
Line 11: Line 14:
|Vending Machine/Is secret = {{{is_secret|false}}}
|Vending Machine/Is secret = {{{is_secret|false}}}
|Has image path = {{#if: {{{image|}}}|{{filepath:{{{image}}}}}}}
|Has image path = {{#if: {{{image|}}}|{{filepath:{{{image}}}}}}}
}}</includeonly><noinclude>
}}
</includeonly><noinclude><!-- There's an intentional newline at the end -->
{{Documentation}}
{{Documentation}}
</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