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



YumeWiki
3,101Articles

Template:VendingMachineTable: Difference between revisions

(Undo revision 487058 by ZASNK (talk))
Tag: Undo
(use named args, properly set up params, remove newlines)
Line 1: Line 1:
<onlyinclude>
<includeonly>{{#ask: [[-Has subobject::{{NAMESPACE}}:Vending Machine]] [[Vending Machine/Is implemented::{{{is_implemented|+}}}]] [[Vending Machine/Is accessible::{{{is_accessible|+}}}]] [[Vending Machine/Is unique::{{{is_unique|+}}}]]
{{#ask: [[-Has subobject::{{NAMESPACE}}:Vending Machine]]
|mainlabel=ID
  |?Vending Machine/Image=Image
  |?Vending Machine/Image=Image
  |?Vending Machine/Location=Location
  |?Vending Machine/Location=Location
  |?Vending Machine/Location Alias=Location Alias
  |?Vending Machine/Location Alias=Location Alias
  |?Vending Machine/Comment=Comments
  |?Vending Machine/Comment=Comments
  |?Vending Machine/Is implemented={{{is_implemented|true}}}
  |?Vending Machine/Is implemented=Is implemented
  |?Vending Machine/Is accessible={{{is_accessible|true}}}
  |?Vending Machine/Is accessible=Is accessible
  |?Vending Machine/Is unique={{{is_unique|false}}}
  |?Vending Machine/Is unique=Is unique
  |sort=Vending Machine/Location
  |sort=Vending Machine/Location
  |order=asc
  |order=asc
  |limit=500
  |limit=500
|mainlabel=Vending Machine/ID
  |format=plainlist
  |format=plainlist
|named args=1
  |introtemplate=VendingMachineTableHeader
  |introtemplate=VendingMachineTableHeader
  |template=VendingMachineTableBody
  |template=VendingMachineTableBody
|outrotemplate=TableFooter
  |link=none
  |link=none
}}
}}
</onlyinclude>
|}</includeonly><noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Revision as of 00:05, 3 September 2024

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

Renders a table of vending machines present in-game.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Is Implementedis_implemented

Limits vending machines to be displayed to those that have been implemented. Defaults to true.

Default
true
Booleanoptional
Is Accessibleis_accessible

Limits vending machines to be displayed to those that are accessible via normal means. Defaults to true.

Default
true
Booleanoptional
Is Uniqueis_unique

Limits vending machines to be displayed to those that are considered unique. Defaults to false.

Default
false
Booleanoptional