Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
Add link to file to add on top of the placeholder-image
(Add nice background image for cards missing their own image. Currently only done for overlord cards. Support for more cards will come later)
(Add link to file to add on top of the placeholder-image)
Line 36: Line 36:
   |
   |
     {{#switch:{{#var: cardtype}}
     {{#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>
       |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>
       |#default      = <div style="margin: 0 auto;width:230px;height:355px;background-color:rgb(255,255,255)">[[File:{{#var: imagename}}]]</div>
       |#default      = <div style="margin: 0 auto;width:230px;height:355px;background-color:rgb(255,255,255)">[[File:{{#var: imagename}}]]</div>
     }}
     }}

Navigation menu