Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
(Add support for tainted cards)
(Show the back of tainted cards if no scan is available)
Line 45: Line 45:
   |
   |
     {{#switch:{{#var: cardtype}}
     {{#switch:{{#var: cardtype}}
      |Tainted = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Tainted_Card_Back.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Overlord Card  = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Overlord_Card_Back.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Overlord Card  = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Overlord_Card_Back.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Item  = {{#switch: {{#var: act}}
       |Item  = {{#switch: {{#var: act}}