12,417
edits
Coffeesaga (talk | contribs) |
Coffeesaga (talk | contribs) |
||
Line 133: | Line 133: | ||
There are {{#var: amount of cards}} cards for this artist.</div><div class="artistName" style="font-family:Lato">[[{{{Artist}}}]]</div></div> | There are {{#var: amount of cards}} cards for this artist.</div><div class="artistName" style="font-family:Lato">[[{{{Artist}}}]]</div></div> | ||
</div> | </div> | ||
===Vladimir Zyrianov=== | |||
{{#vardefine: x|0}}{{#while: | |||
| {{#ifexpr: {{#var: x }} < 5 | true }} | |||
| <nowiki /> | |||
{{#vardefineecho: image|{{#cargo_query: | |||
tables=CardData | |||
|fields=CONCAT('Image') | |||
|where=CardData.Artist='Vladimir Zyrianov' | |||
|order by=CardData.Image DESC | |||
|offset={{#var:x}} | |||
|limit=1 | |||
|default= | |||
|intro= | |||
|outro= | |||
|more results text= | |||
}} }} | |||
{{#if: {{#var: image}} | |||
|{{#ifexpr: {{#var:x}} = 4 | |||
|{{#vardefine: amount of cards|5 }} | |||
|}} | |||
|{{#vardefine: amount of cards|{{#var:x}} }} {{#vardefine:x|6}} | |||
}} {{#vardefine: x | {{#expr: {{#var: x }} + 1 }} }} | |||
}} | |||
There are {{#var: amount of cards}} cards for this artist. | |||
===Marco Tamura=== | ===Marco Tamura=== |