Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
Add support for tainted cards
(pass the flavour argument through to the text box template)
(Add support for tainted cards)
Line 33: Line 33:
       |Hero Relic    = Hero Relic - {{#var: cardname}}.png
       |Hero Relic    = Hero Relic - {{#var: cardname}}.png
       |Overlord Relic = Overlord Relic - {{#var: cardname}}.png
       |Overlord Relic = Overlord Relic - {{#var: cardname}}.png
      |Tainted        = Tainted - {{#var: cardname}}.png
       |#default      = {{#var: cardname}}.png
       |#default      = {{#var: cardname}}.png
     }}
     }}
Line 261: Line 262:
     {{!}} align=center style="border:0px transparent"{{!}}{{{threatcost|}}} Threat
     {{!}} align=center style="border:0px transparent"{{!}}{{{threatcost|}}} Threat
   |}}
   |}}
  {{!}}-
  {{#switch:{{#var: cardtype}}
    |Tainted =
      {{!}} colspan=2 align=center style="border:0px transparent"{{!}}Part of <div style="display:inline-block;vertical-align:middle;text-align:left"><span>[[{{ValidateExpansion|DJ40}}]]</span><br><span>[[{{ValidateExpansion|DJ44}}]]</span></div> campaign
    |#default =
  }}
   {{!}}-
   {{!}}-
   {{#if:{{#var: archetype}}|
   {{#if:{{#var: archetype}}|
Line 351: Line 358:
       |Overlord Card = [[Category:Overlord Cards]]
       |Overlord Card = [[Category:Overlord Cards]]
       |Plot Card = [[Category:Plot Cards]]
       |Plot Card = [[Category:Plot Cards]]
      |Tainted = [[Category:Tainted Cards]]
       |#default =
       |#default =
     }}
     }}

Navigation menu