User:Coffeesaga/Sandbox: Difference between revisions

From Archon Arcana - The KeyForge Wiki
Minor amount of clean up here to remove something from the Wanted Template page.
mNo edit summary
(Minor amount of clean up here to remove something from the Wanted Template page.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Spoilers]]
BLINKINGLINE IS WATCHING 👀  
BLINKINGLINE IS WATCHING 👀  
<html><link href='https://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet'></html><div style="font-family:Montserrat">hello</font>
 
It's a plainlink!
<span class="plainlinks">[[File:Unfathomable.png|20px|link=Damage|frameless]]</span>
 
==Tasks==
==Tasks==
===Ongoing===
===Ongoing===
Line 156: Line 161:
There are {{#var: amount of cards}} cards for this artist.
There are {{#var: amount of cards}} cards for this artist.


===BalanceSheet===
{{#vardefine: x|0}}{{#while:
| {{#ifexpr: {{#var: x }} < 5 | true }}
| <nowiki />
{{#vardefineecho: image|{{#cargo_query:
tables=CardData
|fields=CONCAT('{{#ifexpr: {{#var:x}} = 4
    |{{#vardefine: amount of cards|5 }}
    |}}')
|where=CardData.Artist='BalanceSheet'
|order by=CardData.Image DESC
|offset={{#var:x}}
|limit=1
|default=
|intro=
|outro=
|more results text=
}} }}
{{#if: {{#var: image}}
  |
  |{{#vardefine: amount of cards|{{#var:x}} }} {{#vardefine:x|6}}
}} {{#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}}|}}
<templatestyles src="Template:Sandbox/styles.css" /><div class="artGallery">
<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:
tables=CardData
|fields=CardData.Artist, CardData.Image, CardData.Type
|where=CardData.Artist='BalanceSheet'
|order by=CardData.Image DESC
|limit=5
|format=template
|template=Artist_Previews_Image
|named args=yes
|default=
|intro=
|outro=
|more results text=
}}{{#cargo_query:
tables=CardData
|fields=CardData.Artist, CardData.Image, CardData.Type
|where=CardData.Artist='BalanceSheet'
|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">[[BalanceSheet]]</div></div>
</div>
There are {{#var: amount of cards}} cards for this artist.
===Natalie Russo===
{{#vardefine: x|0}}{{#while:
| {{#ifexpr: {{#var: x }} < 5 | true }}
| <nowiki />
{{#vardefineecho: image|{{#cargo_query:
tables=CardData
|fields=CONCAT('{{#ifexpr: {{#var:x}} = 4
    |{{#vardefine: amount of cards|5 }}
    |}}')
|where=CardData.Artist='Natalie Russo'
|order by=CardData.Image DESC
|offset={{#var:x}}
|limit=1
|default=
|intro=
|outro=
|more results text=
}} }}
{{#if: {{#var: image}}
  |
  |{{#vardefine: amount of cards|{{#var:x}} }} {{#vardefine:x|6}}
}} {{#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}}|}}
<templatestyles src="Template:Sandbox/styles.css" /><div class="artGallery">
<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:
tables=CardData
|fields=CardData.Artist, CardData.Image, CardData.Type
|where=CardData.Artist='Natalie Russo'
|order by=CardData.Image DESC
|limit=5
|format=template
|template=Artist_Previews_Image
|named args=yes
|default=
|intro=
|outro=
|more results text=
}}{{#cargo_query:
tables=CardData
|fields=CardData.Artist, CardData.Image, CardData.Type
|where=CardData.Artist='Natalie Russo'
|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">[[Natalie Russo]]</div></div>
</div>
There are {{#var: amount of cards}} cards for this artist.


===Liiga Smilshkalne===
===Liiga Smilshkalne===
Line 632: Line 749:


==Lore==
==Lore==
{{#vardefine:lore|{{#replace:{{Lore:Auto-Vac 5150}}|:''For the KeyForge card, see: [[{{Auto-Vac 5150}}]]''|}}|}}{{#vardefine:lore|{{#replace:{{#var:lore}}|==References==|}}|}}
<nowiki>{{#vardefine:lore|{{#replace:{{Lore:Auto-Vac 5150}}|:''For the KeyForge card, see: [[{{Auto-Vac 5150}}]]''|}}|}}</nowiki>{{#vardefine:lore|{{#replace:{{#var:lore}}|==References==|}}|}}
{{#if:{{#var:lore}}|<h2>Lore</h2>{{#var:lore}} [[Lore:Auto-Vac 5150|See more.]]|}}
{{#if:{{#var:lore}}|<h2>Lore</h2>{{#var:lore}} [[Lore:Auto-Vac 5150|See more.]]|}}




{{#vardefine:lore|{{#replace:{{Lore:Rotgrub}}|:''For the KeyForge card, see: [[{{Rotgrub}}]]''|}}|}}{{#vardefine:lore|{{#replace:{{#var:lore}}|==References==|}}|}}
<nowiki>{{#vardefine:lore|{{#replace:{{Lore:Rotgrub}}|:''For the KeyForge card, see: [[{{Rotgrub}}]]''|}}|}}{{#vardefine:lore|{{#replace:{{#var:lore}}|==References==|}}|}}</nowiki>
{{#if:{{#var:lore}}|<h2>Lore</h2>{{#var:lore}} [[Lore:Rotgrub|See more.]]|}}
{{#if:{{#var:lore}}|<h2>Lore</h2>{{#var:lore}} [[Lore:Rotgrub|See more.]]|}}