Template:Event shop item/doc: Difference between revisions

Template page
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 card}}
* {{t|Event shop head}}: Beginning of the Event Shop table
** {{t|Event shop item}}
* {{t|Event shop line}}: Generalized table row for an item in the Event Shop
* {{t|Event shop tail}}
** {{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 template adds a row for an item

Parameters

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
itemitem

no description

Stringrequired
countcount

no description

Numberrequired
quantityquantity

no description

Numberrequired
costcost

no description

Numberrequired

Quick copy

{{Event shop item|item = |count = |quantity = |cost = }}


Cookies help us deliver our services. By using our services, you agree to our use of cookies.