Template:Mall pack: Difference between revisions
From Tears of Themis Wiki
imported>Harmonea (trying some copied code, if I revert I failed hard) |
imported>Harmonea mNo edit summary |
||
Line 5: | Line 5: | ||
* {{#explode:{{{items|}}}|,|{{#var:i}}}} | * {{#explode:{{{items|}}}|,|{{#var:i}}}} | ||
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | {{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | ||
|{{{price|}}} | |{{{price|}}} | ||
|{{{limit|}}}</includeonly> | |{{{limit|}}}</includeonly> |
Revision as of 08:13, 2 November 2021
Description
Used to add Mall pack row on any page on which mall packs are listed (Mall itself and any events that add packs to the mall)
"item#" fields are optional; price should be in USD or gems. Intended to be included inside the |packs= field of Template:Mall pack table.
Usage
{{Mall pack |name= |item1= |item2= |item3= |item4= |item5= |item6= |item7= |item8= |item9= |price= |limit= }}
The above documentation is transcluded from Template:Mall pack/doc. (edit | history)