Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
Add nice background image for cards missing their own image. Currently only done for overlord cards. Support for more cards will come later
(Add the logo of the expansion above the name of the expansion)
(Add nice background image for cards missing their own image. Currently only done for overlord cards. Support for more cards will come later)
Line 35: Line 35:
     <div style="text-align:center;width:100%">[[File:{{#var: imagename}}|230px|{{#var: cardname }}]]</div>
     <div style="text-align:center;width:100%">[[File:{{#var: imagename}}|230px|{{#var: cardname }}]]</div>
   |
   |
     <div style="margin: 0 auto;width:230px;height:355px;background-color:rgb(255,255,255)">[[File:{{#var: imagename}}]]</div>
     {{#switch:{{#var: cardtype}}
      |Overlord Card  = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Overlord_Card_Back.png|230px]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
      |#default      = <div style="margin: 0 auto;width:230px;height:355px;background-color:rgb(255,255,255)">[[File:{{#var: imagename}}]]</div>
    }}
   }}
   }}
   {{!}}-
   {{!}}-

Navigation menu