Template:Mall pack: Difference between revisions

From Tears of Themis Wiki
imported>Harmonea
(Created page with "<noinclude>{{doc}}Category:Templates</noinclude><includeonly>|- ![[File:{{{image|{{{name|}}}.png}}}|300px|link=]]<br/>{{{name|}}} | {{#if: {{{item1|}}}| * {{{item1|}}}|}}{...")
 
imported>Harmonea
(trying some copied code, if I revert I failed hard)
Line 2: Line 2:
![[File:{{{image|{{{name|}}}.png}}}|300px|link=]]<br/>{{{name|}}}
![[File:{{{image|{{{name|}}}.png}}}|300px|link=]]<br/>{{{name|}}}
|
|
{{#if: {{{item1|}}}| * {{{item1|}}}|}}{{#if: {{{item2|}}}|
{{#if: {{#explode:{{{items|}}}|,|{{#var:i}}}} | true }}
* {{{item2|}}}|}}{{#if: {{{item3|}}}|
* {{#explode:{{{items|}}}|,|{{#var:i}}}}
* {{{item3|}}}|}}{{#if: {{{item4|}}}|
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
* {{{item4|}}}|}}{{#if: {{{item5|}}}|
}}
* {{{item5|}}}|}}{{#if: {{{item6|}}}|
* {{{item6|}}}|}}{{#if: {{{item7|}}}|
* {{{item7|}}}|}}{{#if: {{{item8|}}}|
* {{{item8|}}}|}}{{#if: {{{item9|}}}|
* {{{item9|}}}|}}
|{{{price|}}}
|{{{price|}}}
|{{{limit|}}}</includeonly>
|{{{limit|}}}</includeonly>

Revision as of 08:10, 2 November 2021

Template-info.png Documentation

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=
}}