12,417
edits
Coffeesaga (talk | contribs) |
Coffeesaga (talk | contribs) |
||
Line 102: | Line 102: | ||
==Testing loops...== | ==Testing loops...== | ||
Line 158: | Line 127: | ||
}} {{#vardefine: x | {{#expr: {{#var: x }} + 1 }} }} | }} {{#vardefine: x | {{#expr: {{#var: x }} + 1 }} }} | ||
}} {{#switch:{{#var:amount of cards}}|1={{#vardefine:amount of cards|one}}|2={{#vardefine:amount of cards|two}}|3={{#vardefine:amount of cards|three}}|4={{#vardefine:amount of cards|four}}|5={{#vardefine:amount of cards|five}}|}} | }} {{#switch:{{#var:amount of cards}}|1={{#vardefine:amount of cards|one}}|2={{#vardefine:amount of cards|two}}|3={{#vardefine:amount of cards|three}}|4={{#vardefine:amount of cards|four}}|5={{#vardefine:amount of cards|five}}|}} | ||
<templatestyles src="Template: | <templatestyles src="Template:Sandbox/styles.css" /><div class="artGallery"> | ||
<html><link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet'> | <html><link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet'> | ||
</html><div class="artistCards"><div class="hiddenMobile"><div class="{{#var: amount of cards}}">{{#cargo_query: | </html><div class="artistCards"><div class="hiddenMobile"><div class="{{#var: amount of cards}}">{{#cargo_query: | ||
Line 173: | Line 142: | ||
|outro= | |outro= | ||
|more results text= | |more results text= | ||
}}</div></div><div class="artistName" style="font-family:Lato">[[ | }}{{#cargo_query: | ||
tables=CardData | |||
|fields=CardData.Artist, CardData.Image, CardData.Type | |||
|where=CardData.Artist='Vladimir Zyrianov' | |||
|order by=CardData.Image DESC | |||
|limit=1 | |||
|format=template | |||
|template=Artist_Previews_Image | |||
|named args=yes | |||
|default= | |||
|intro= | |||
|outro= | |||
|more results text= | |||
}}</div></div><div class="artistName" style="font-family:Lato">[[Vladimir Zyrianov]]</div></div> | |||
</div> | </div> | ||
There are {{#var: amount of cards}} cards for this artist. | There are {{#var: amount of cards}} cards for this artist. |