This is a documentation subpage for Template:Event shop item. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
This template uses the following Cargo tables: |
This template adds a row for an item, automatically setting the thumbnail and name based on the item name.
- {{Event shop head}}: Beginning of the Event Shop table
- {{Event shop line}}: Generalized table row for an item in the Event Shop
- {{Event shop card}}: Specialized table row that automatically sets some fields
- {{Event shop item}}: Specialized table row that automatically sets some fields
- {{Event shop tail}}: End of the Event Shop table
Parameters[edit source]
Creates a partially autofilled item row for use in Event Shop templates.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item | item | The name of the item.
| String | required |
Count | count | The number in the "stack" of an item. For example, a stack of 5 would use 5 as the count.
| Number | required |
Quantity | quantity | The quantity available for purchase.
| Number | required |
Cost | cost | The cost of the item, in event badges.
| Number | required |
Quick copy[edit source]
{{Event shop item|item = |count = |quantity = |cost = }}
Examples[edit source]
Thumbnail | Item | Quantity | Cost (badges) |
---|---|---|---|
Crystal ×5 | 100 | 100 | |
Vocal card exchange ticket ×20 | 1 | 5 |
{{Event shop head}} {{Event shop item|item=Crystal|count=5|quantity=100|cost=100}} {{Event shop item|item=Vocal card exchange ticket|count=20|quantity=1|cost=5}} {{Event shop tail}}