Content added Content deleted
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{Lua|Module:Event shop item}} {{Cargo|Items}} |
{{Lua|Module:Event shop item}} {{Cargo|Items}} |
||
This template adds a row for an item |
|||
* {{t|Event shop head}} |
|||
* {{t|Event shop line}} |
|||
* {{t|Event shop head}}: Beginning of the Event Shop table |
|||
* {{t|Event shop line}}: Generalized table row for an item in the Event Shop |
|||
* {{t|Event shop |
** {{t|Event shop card}}: Specialized table row that automatically sets some fields |
||
** {{t|Event shop item}}: Specialized table row that automatically sets some fields |
|||
* {{t|Event shop tail}}: End of the Event Shop table. |
|||
== Parameters == |
|||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"count": { |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
"quantity": { |
|||
"type": "number", |
|||
"required": true |
|||
}, |
|||
"item": { |
|||
"type": "string", |
|||
"required": true |
|||
}, |
|||
"cost": { |
|||
"type": "number", |
|||
"required": true |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"item", |
|||
"count", |
|||
"quantity", |
|||
"cost" |
|||
], |
|||
"format": "inline" |
|||
} |
|||
</templatedata> |
|||
== Quick copy == |
|||
<pre> |
|||
{{Event shop item|item = |count = |quantity = |cost = }} |
|||
</pre> |
|||
<includeonly>[[Category:Event templates]]</includeonly> |
Revision as of 05:01, 14 July 2022
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
- {{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
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
item | item | no description | String | required |
count | count | no description | Number | required |
quantity | quantity | no description | Number | required |
cost | cost | no description | Number | required |
Quick copy
{{Event shop item|item = |count = |quantity = |cost = }}