Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
show element instead of E
(reduce overall height of infobox content)
(show element instead of E)
 
(7 intermediate revisions by the same user not shown)
Line 27: Line 27:
     {{#switch: {{#var: cardtype}}
     {{#switch: {{#var: cardtype}}
       |Familiar      = Familiar - {{#var: cardname}}.png
       |Familiar      = Familiar - {{#var: cardname}}.png
       |Servant        = Servant - {{#var: cardname}}.png
       |Hero Relic    = Hero Relic - {{#var: cardname}}.png
       |Item          = {{#if: {{#var: heroclass}} | {{#var: heroclass}} - {{#var: cardname}}.png | Act_{{#var: act}}_Item - {{#var: cardname}}.png}}
       |Item          = {{#if: {{#var: heroclass}} | {{#var: heroclass}} - {{#var: cardname}}.png | Act_{{#var: act}}_Item - {{#var: cardname}}.png}}
      |Skill          = {{#var: heroclass}} - {{#var: cardname}}.png
       |Overlord Card  = Overlord Card - {{#var: cardname}}.png
       |Overlord Card  = Overlord Card - {{#var: cardname}}.png
      |Overlord Relic = Overlord Relic - {{#var: cardname}}.png
       |Plot Card      = {{#var: plotdeck}} - {{#var: cardname}}.png
       |Plot Card      = {{#var: plotdeck}} - {{#var: cardname}}.png
       |Hero Relic    = Hero Relic - {{#var: cardname}}.png
       |Servant        = Servant - {{#var: cardname}}.png
       |Overlord Relic = Overlord Relic - {{#var: cardname}}.png
       |Search Card    = Search Card - {{#var: cardname}}.png
      |Skill          = {{#var: heroclass}} - {{#var: cardname}}.png
       |Tainted        = Tainted - {{#var: cardname}}.png
       |Tainted        = Tainted - {{#var: cardname}}.png
       |#default      = {{#var: cardname}}.png
       |#default      = {{#var: cardname}}.png
Line 46: Line 47:
   |
   |
     {{#switch:{{#var: cardtype}}
     {{#switch:{{#var: cardtype}}
       |Tainted      = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_Tainted_Card.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Item          = {{#switch:{{#var: archetype}}
                          |Healer
                          |Mage
                          |Warrior
                          |Scout    = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_{{#var: archetype}}.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"><span style="opacity:0.5">[[File:Back_-_Act_{{#var: act}}.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:Back_-_Overlord_Card.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:Back_-_Overlord_Card.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Plot Card    = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_Plot_Card.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Plot Card    = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_Plot_Card.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
      |Item          = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_Act_{{#var: act}}.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Skill        = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_{{#var: archetype}}.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
       |Skill        = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_{{#var: archetype}}.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
      |Tainted      = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Back_-_Tainted_Card.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>
     }} [[Category:Image_Needed]]
     }} [[Category:Image_Needed]]
Line 123: Line 130:
       {{#if:{{#var: plotdeck}}|
       {{#if:{{#var: plotdeck}}|
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[Plot_Card#Plot_Cards|Plot Deck:]]
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[Plot_Card#Plot_Cards|Plot Deck:]]
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{#var: plotdeck}}|{{#var: plotdeck}}]]
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{#var: plotdeck}}]]
       |}}
       |}}
     |#default=
     |#default=
  }}
  {{!}}-
  {{#if:{{{sell|}}}|
    {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Sell:
    {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{sell|}}} Gold
  |}}
  {{!}}-
  {{#ifeq:{{{copies|1}}}|1||
    {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Copies:
    {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{copies}}}
   }}
   }}
   {{!}}-
   {{!}}-
Line 176: Line 193:
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{#if:{{{trait|}}}{{{trait2|}}}|
   {{#if:{{{trait|}}}{{{trait2|}}}{{{trait3|}}}|
     {{#if:{{ValidateTrait|{{{trait|}}}}}{{ValidateTrait|{{{trait2|}}}}}|
     {{#if:{{ValidateTrait|{{{trait|}}}}}{{ValidateTrait|{{{trait2|}}}}}{{ValidateTrait|{{{trait3|}}}}}|
       {{#if:{{ValidateTrait|{{{trait2|}}}}}|
       {{#if:{{ValidateTrait|{{{trait3|}}}}}|
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Traits:
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Traits:
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{ValidateTrait|{{{trait|}}}}}|{{ValidateTrait|{{{trait|}}}}}]], [[:Category:{{ValidateTrait|{{{trait2|}}}}}|{{ValidateTrait|{{{trait2|}}}}}]]
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{ValidateTrait|{{{trait|}}}}}|{{ValidateTrait|{{{trait|}}}}}]], [[:Category:{{ValidateTrait|{{{trait2|}}}}}|{{ValidateTrait|{{{trait2|}}}}}]], [[:Category:{{ValidateTrait|{{{trait3|}}}}}|{{ValidateTrait|{{{trait3|}}}}}]]
         |
         |
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Trait:
         {{#if:{{ValidateTrait|{{{trait2|}}}}}|
        {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{ValidateTrait|{{{trait|}}}}}|{{ValidateTrait|{{{trait|}}}}}]]
          {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Traits:
          {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{ValidateTrait|{{{trait|}}}}}|{{ValidateTrait|{{{trait|}}}}}]], [[:Category:{{ValidateTrait|{{{trait2|}}}}}|{{ValidateTrait|{{{trait2|}}}}}]]
          |
          {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Trait:
          {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{ValidateTrait|{{{trait|}}}}}|{{ValidateTrait|{{{trait|}}}}}]]
        }}
       }}
       }}
     |
     |
Line 218: Line 240:
       |11
       |11
       |12 =
       |12 =
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Plot card number:
         {{!}} align=center width=50% style="border:0px transparent; padding: 0px;" {{!}}Plot card number:
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{plotcardnumber|}}}/12
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{plotcardnumber|}}}/12
       |#default =
       |#default =
Line 245: Line 267:
           |#default= [[{{#var: heroclass}}]] starting card
           |#default= [[{{#var: heroclass}}]] starting card
         }}
         }}
      |{{element}} =
        {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}XP cost:
        {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{Element}}
       |#default =
       |#default =
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}XP cost:
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}XP cost:
Line 262: Line 287:
   {{!}}-
   {{!}}-
   {{#switch:{{#var: cardtype}}
   {{#switch:{{#var: cardtype}}
    |Search Card =
      {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} Searching a [[Search Token]]
     |Tainted =
     |Tainted =
       {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} [[Mists of Bilehall (campaign)]]<br>[[The Chains that Rust (campaign)]]
       {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} [[Mists of Bilehall (campaign)]]<br>[[The Chains that Rust (campaign)]]
Line 312: Line 339:
     {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{Nowrap|{{{questreward|}}}}}
     {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{Nowrap|{{{questreward|}}}}}
   |}}
   |}}
  {{!}}-
  {{#ifeq:{{{copies|1}}}|1||
    {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Copies:
    {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{copies}}}
  }}
   {{!}}-
   {{!}}-
   {{!}}colspan=2 style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}<div style="padding: 0px; width:100%; border:1px solid {{#var: bordercolor}};" ></div>
   {{!}}colspan=2 style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}<div style="padding: 0px; width:100%; border:1px solid {{#var: bordercolor}};" ></div>
Line 347: Line 369:
     {{#switch:{{#var: cardtype}}
     {{#switch:{{#var: cardtype}}
       |Familiar = [[Category:Familiars]]
       |Familiar = [[Category:Familiars]]
      |Servant = [[Category:Servants]]
       |Hero Relic
       |Hero Relic
       |Item = [[Category:Items]]
       |Item = [[Category:Items]]
Line 353: Line 374:
                 [[Category:Weapons]]
                 [[Category:Weapons]]
               |}}
               |}}
      |Skill = [[Category:Skills]]
       |Overlord Card = [[Category:Overlord Cards]]
       |Overlord Card = [[Category:Overlord Cards]]
       |Plot Card = [[Category:Plot Cards]]
       |Plot Card = [[Category:Plot Cards]]
      |Servant = [[Category:Servants]]
      |Search Card = [[Category:Search Cards]]
      |Skill = [[Category:Skills]]
       |Tainted = [[Category:Tainted Cards]]
       |Tainted = [[Category:Tainted Cards]]
       |#default =
       |#default =
Line 382: Line 405:
   {{#if:{{ValidateTrait|{{{trait2|}}}}}|
   {{#if:{{ValidateTrait|{{{trait2|}}}}}|
     [[Category:{{ValidateTrait|{{{trait2|}}}}}]]
     [[Category:{{ValidateTrait|{{{trait2|}}}}}]]
  |}}
  {{#if:{{ValidateTrait|{{{trait3|}}}}}|
    [[Category:{{ValidateTrait|{{{trait3|}}}}}]]
   |}}
   |}}
   {{#if:{{ValidateWorn|{{{worn|}}}}}|
   {{#if:{{ValidateWorn|{{{worn|}}}}}|

Navigation menu