Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
show element instead of E
(show element instead of E)
 
(11 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:Tainted_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: archetype}}
      |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>
                          |Healer
      |Plot Card  = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Plot_Card_Back.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
                          |Mage
      |Item  = {{#switch: {{#var: act}}
                          |Warrior
                  |I        = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Act1_Back.png|230px|link=File:{{#var: imagename}}]]</span><span style="position:relative;left:0px;top:-300px">[[File:{{#var: imagename}}]]</span></div>
                          |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>
                  |II        = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Act2_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"><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>
                  |#default = <div style="margin: 0 auto;width:230px;height:355px;background-color:rgb(255,255,255)">[[File:{{#var: imagename}}]]</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>
       |Skill = {{#switch: {{#var: archetype}}
      |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>
                  |Healer  = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Healer_Back.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>
                  |Mage    = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Mage_Back.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>
                  |Warrior = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Warrior_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>
                  |Scout  = <div style="margin: 0 auto;width:230px;height:355px"><span style="opacity:0.5">[[File:Scout_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>
     }} [[Category:Image_Needed]]
     }} [[Category:Image_Needed]]
   }}
   }}
   {{!}}-
   {{!}}-
   {{!}}colspan=2 style="border:0px transparent" {{!}}<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>
   {{#if:{{{archetype|}}}|
   {{#if:{{{archetype|}}}|
     {{#if:{{#var: archetype}}|
     {{#if:{{#var: archetype}}|
       {{!}}-
       {{!}}-
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Player'''
       {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}'''Player'''
       {{!}}-
       {{!}}-
       {{#switch:{{#var: archetype}}
       {{#switch:{{#var: archetype}}
         |Overlord =
         |Overlord =
           {{!}}colspan=2 align=center style="border:0px transparent"{{!}}[[{{#var: archetype}}]]
           {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{#var: archetype}}]]
         |#default =
         |#default =
           {{!}}align=center width=50% style="border:0px transparent"{{!}}[[Hero|Hero:]]
           {{!}}align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[Hero|Hero:]]
           {{!}}align=center style="border:0px transparent" {{!}}[[{{#var: archetype}}]]
           {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{#var: archetype}}]]
           {{!}}-
           {{!}}-
           {{#if:{{#var: heroclass}}|
           {{#if:{{#var: heroclass}}|
             {{!}}align=center width=50% style="border:0px transparent"{{!}}[[Class|Class:]]
             {{!}}align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[Class|Class:]]
             {{!}}align=center style="border:0px transparent" {{!}}[[{{#var: heroclass}}]]
             {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{#var: heroclass}}]]
           |
           |
             {{#if:{{{character|}}}|
             {{#if:{{{character|}}}|
               {{!}}align=center width=50% style="border:0px transparent"{{!}}Character:
               {{!}}align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Character:
               {{!}}align=center style="border:0px transparent" {{!}}[[{{{character|}}}]]
               {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{{character|}}}]]
             |
             |
               {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateHeroClass|Invalid heroclass. Read the template documentation for valid hero classes]] [[Category:PagesWhichFailValidation]]
               {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateHeroClass|Invalid heroclass. Read the template documentation for valid hero classes]] [[Category:PagesWhichFailValidation]]
Line 94: Line 91:
     |
     |
       {{!}}-
       {{!}}-
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Player'''
       {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}'''Player'''
       {{!}}-
       {{!}}-
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateArchetype|Invalid archetype. Read the template documentation for valid archetypes]] [[Category:PagesWhichFailValidation]]
       {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[Template:ValidateArchetype|Invalid archetype. Read the template documentation for valid archetypes]] [[Category:PagesWhichFailValidation]]
       {{!}}-
       {{!}}-
       {{!}}colspan=2 style="border:0px transparent" {{!}}<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>
     }}
     }}
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Card Stats'''
   {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}'''Card Stats'''
   {{!}}-
   {{!}}-
   {{#if:{{{cardtype|}}}|
   {{#if:{{{cardtype|}}}|
     {{#if:{{#var: cardtype}}|
     {{#if:{{#var: cardtype}}|
       {{!}}-
       {{!}}-
       {{!}}align=center width=50% style="border:0px transparent" {{!}}Card Type:
       {{!}}align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Card Type:
       {{!}}align=center style="border:0px transparent" {{!}}[[{{{cardtype|}}}]]
       {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{{cardtype|}}}]]
     |
     |
       {{!}}-
       {{!}}-
Line 118: Line 115:
     |Overlord Card=
     |Overlord Card=
       {{#if:{{#var: overlordclass}}|
       {{#if:{{#var: overlordclass}}|
         {{!}}align=center style="border:0px transparent" {{!}} [[Overlord|Class:]]
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} [[Overlord|Class:]]
         {{!}}align=center style="border:0px transparent" {{!}} [[{{#var: overlordclass}}]]
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} [[{{#var: overlordclass}}]]
       |
       |
         {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateOverlordClass|Invalid overlordclass. Read the template documentation for valid classes]] [[Category:PagesWhichFailValidation]]
         {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateOverlordClass|Invalid overlordclass. Read the template documentation for valid classes]] [[Category:PagesWhichFailValidation]]
Line 125: Line 122:
       {{!}}-
       {{!}}-
       {{#if:{{#var: overlordcardtype}}|
       {{#if:{{#var: overlordcardtype}}|
         {{!}}align=center style="border:0px transparent" {{!}} Type:
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} Type:
         {{!}}align=center style="border:0px transparent" {{!}} [[:Category:{{OverlordCardTypeCategory|{{#var: overlordcardtype}}}}|{{#var: overlordcardtype}}]]
         {{!}}align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} [[:Category:{{OverlordCardTypeCategory|{{#var: overlordcardtype}}}}|{{#var: overlordcardtype}}]]
       |
       |
         {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateOverlordCardType|Invalid overlordcardtype. Read the template documentation for valid types]] [[Category:PagesWhichFailValidation]]
         {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateOverlordCardType|Invalid overlordcardtype. Read the template documentation for valid types]] [[Category:PagesWhichFailValidation]]
Line 132: Line 129:
     |Plot Card=
     |Plot Card=
       {{#if:{{#var: plotdeck}}|
       {{#if:{{#var: plotdeck}}|
         {{!}}align=center style="border:0px transparent" {{!}}[[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"{{!}}[[: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}}}
   }}
   }}
   {{!}}-
   {{!}}-
   {{#if:{{{attackdice|}}}|
   {{#if:{{{attackdice|}}}|
     {{!}} align=center width=50% style="border:0px transparent"{{!}}Attack Dice:
     {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Attack Dice:
     {{!}} align=center style="border:0px transparent"{{!}}{{{attackdice|}}}
     {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{attackdice|}}}
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{#if:{{{defensedice|}}}|
   {{#if:{{{defensedice|}}}|
     {{!}} align=center width=50% style="border:0px transparent"{{!}}Defense Dice:
     {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Defense Dice:
     {{!}} align=center style="border:0px transparent"{{!}}{{{defensedice|}}}
     {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{defensedice|}}}
   |}}
   |}}
   {{!}}-
   {{!}}-
Line 156: Line 163:
       |5
       |5
       |6 =
       |6 =
         {{!}} align=center width=50% style="border:0px transparent"{{!}}Health:
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Health:
         {{!}} align=center style="border:0px transparent"{{!}}{{{health|}}}
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{health|}}}
       |#default =
       |#default =
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid health. Valid values are in the range 1-6 [[Category:PagesWhichFailValidation]]
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid health. Valid values are in the range 1-6 [[Category:PagesWhichFailValidation]]
Line 165: Line 172:
   {{#if:{{{range|}}}|
   {{#if:{{{range|}}}|
     {{#if:{{ValidateRange|{{{range|}}}}}|
     {{#if:{{ValidateRange|{{{range|}}}}}|
       {{!}} align=center width=50% style="border:0px transparent"{{!}}Range:
       {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Range:
       {{!}} align=center style="border:0px transparent"{{!}}[[:Category:{{ValidateRange|{{{range|}}}}}|{{ValidateRange|{{{range|}}}}}]]
       {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{ValidateRange|{{{range|}}}}}|{{ValidateRange|{{{range|}}}}}]]
     |
     |
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateRange|Invalid range. Read the template documentation for valid ranges]] [[Category:PagesWhichFailValidation]]
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateRange|Invalid range. Read the template documentation for valid ranges]] [[Category:PagesWhichFailValidation]]
Line 179: Line 186:
       |4
       |4
       |5 =
       |5 =
         {{!}} align=center width=50% style="border:0px transparent"{{!}}Speed:
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Speed:
         {{!}} align=center style="border:0px transparent"{{!}}{{{speed|}}}
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{speed|}}}
       |#default =
       |#default =
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid speed. Valid values are in the range 1-5 [[Category:PagesWhichFailValidation]]
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid speed. Valid values are in the range 1-5 [[Category:PagesWhichFailValidation]]
Line 186: 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"{{!}}Traits:
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Traits:
         {{!}} align=center style="border:0px transparent"{{!}}[[: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"{{!}}Trait:
         {{#if:{{ValidateTrait|{{{trait2|}}}}}|
        {{!}} align=center style="border:0px transparent"{{!}}[[: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 202: Line 214:
   {{#if:{{{worn|}}}|
   {{#if:{{{worn|}}}|
     {{#if:{{ValidateWorn|{{{worn|}}}}}|
     {{#if:{{ValidateWorn|{{{worn|}}}}}|
       {{!}} align=center width=50% style="border:0px transparent"{{!}}Worn:
       {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Worn:
       {{!}} align=center style="border:0px transparent"{{!}}[[:Category:{{ValidateWorn|{{{worn|}}}}}|{{ValidateWorn|{{{worn|}}}}}]]
       {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[:Category:{{ValidateWorn|{{{worn|}}}}}|{{ValidateWorn|{{{worn|}}}}}]]
     |
     |
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateWorn|Invalid worn. Read the template documentation for valid worn strings]] [[Category:PagesWhichFailValidation]]
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateWorn|Invalid worn. Read the template documentation for valid worn strings]] [[Category:PagesWhichFailValidation]]
Line 210: Line 222:
   {{!}}-
   {{!}}-
   {{#if:{{{playcost|}}}|
   {{#if:{{{playcost|}}}|
     {{!}} align=center width=50% style="border:0px transparent"{{!}}Play Cost:
     {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Play Cost:
     {{!}} align=center style="border:0px transparent"{{!}}{{{playcost|}}}
     {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{playcost|}}}
   |}}
   |}}
   {{!}}-
   {{!}}-
Line 228: Line 240:
       |11
       |11
       |12 =
       |12 =
         {{!}} align=center width=50% style="border:0px transparent"{{!}}Plot card number:
         {{!}} align=center width=50% style="border:0px transparent; padding: 0px;" {{!}}Plot card number:
         {{!}} align=center style="border:0px transparent"{{!}}{{{plotcardnumber|}}}/12
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{plotcardnumber|}}}/12
       |#default =
       |#default =
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid plotcardnumber. Valid values are in the range 1-12 [[Category:PagesWhichFailValidation]]
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid plotcardnumber. Valid values are in the range 1-12 [[Category:PagesWhichFailValidation]]
Line 235: Line 247:
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{!}}colspan=2 style="border:0px transparent" {{!}}<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>
   {{!}}-
   {{!}}-
   {{#if:{{{reliccounterpart|}}}|
   {{#if:{{{reliccounterpart|}}}|
     {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Relic'''
     {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}'''Relic'''
     {{!}}-
     {{!}}-
     {{!}} align=center width=50% style="border:0px transparent"{{!}}Relic Counterpart:
     {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Relic Counterpart:
     {{!}} align=center style="border:0px transparent"{{!}}{{{reliccounterpart|}}}
     {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{reliccounterpart|}}}
     {{!}}-
     {{!}}-
     {{!}}colspan=2 style="border:0px transparent" {{!}}<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>
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Acquisition'''
   {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}'''Acquisition'''
   {{!}}-
   {{!}}-
   {{#if:{{{xpcost|}}}|
   {{#if:{{{xpcost|}}}|
     {{#switch:{{{xpcost|}}}
     {{#switch:{{{xpcost|}}}
       |0 =
       |0 =
         {{!}} colspan=2 align=center style="border:0px transparent"{{!}}{{#switch: {{#var: cardtype}}
         {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{#switch: {{#var: cardtype}}
           |Overlord Card= [[{{#var: overlordclass}}]] starting card
           |Overlord Card= [[{{#var: overlordclass}}]] starting card
           |#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"{{!}}XP cost:
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}XP cost:
         {{!}} align=center style="border:0px transparent"{{!}}{{{xpcost|}}} XP
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{xpcost|}}} XP
     }}
     }}
   |}}
   |}}
Line 264: Line 279:
     {{#switch:{{{threatcost|}}}
     {{#switch:{{{threatcost|}}}
       |0 =
       |0 =
         {{!}} colspan=2 align=center style="border:0px transparent"{{!}}{{#var: plotdeck}} starting card
         {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{#var: plotdeck}} starting card
       |#default =
       |#default =
         {{!}} align=center width=50% style="border:0px transparent"{{!}}Threat cost:
         {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Threat cost:
         {{!}} align=center style="border:0px transparent"{{!}}{{{threatcost|}}} Threat
         {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{threatcost|}}} Threat
     }}
     }}
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{#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"{{!}} [[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)]]
     |#default =
     |#default =
   }}
   }}
Line 281: Line 298:
       {{#switch:{{#var: cardtype}}
       {{#switch:{{#var: cardtype}}
         |Familiar =
         |Familiar =
           {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[{{#var: heroclass}}]] familiar
           {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{#var: heroclass}}]] familiar
         |Item =
         |Item =
           {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[{{#var: heroclass}}]] starting card
           {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{#var: heroclass}}]] starting card
           {{!}}-
           {{!}}-
           {{!}} align=center width=50% style="border:0px transparent"{{!}}Sell:
           {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Sell:
           {{!}} align=center style="border:0px transparent"{{!}} 25 Gold
           {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} 25 Gold
         |#default =
         |#default =
       }}
       }}
Line 293: Line 310:
       {{#switch:{{#var: cardtype}}
       {{#switch:{{#var: cardtype}}
         |Familiar =
         |Familiar =
           {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[{{{character|}}}]] familiar
           {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{{character|}}}]] familiar
         |#default =
         |#default =
       }}
       }}
Line 300: Line 317:
       {{#switch:{{#var: cardtype}}
       {{#switch:{{#var: cardtype}}
         |Servant =
         |Servant =
           {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[{{{overlordclass|}}}]] servant
           {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}[[{{{overlordclass|}}}]] servant
         |#default =
         |#default =
       }}
       }}
Line 307: Line 324:
   {{!}}-
   {{!}}-
   {{#if:{{{act|}}}|
   {{#if:{{{act|}}}|
     {{!}} colspan=2 align=center style="border:0px transparent"{{!}} Act {{{act|}}} shop
     {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}} Act {{{act|}}} shop
     {{#if:{{{buy|}}}|
     {{#if:{{{buy|}}}|
       {{!}}-
       {{!}}-
       {{!}} align=center width=50% style="border:0px transparent"{{!}}Buy:
       {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Buy:
       {{!}} align=center style="border:0px transparent"{{!}}{{{buy|}}} Gold
       {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{{buy|}}} Gold
       {{!}}-
       {{!}}-
       {{!}} align=center width=50% style="border:0px transparent"{{!}}Sell:
       {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Sell:
       {{!}} align=center style="border:0px transparent"{{!}}{{#expr:{{#expr:floor({{#expr:{{#expr:{{{buy|}}}/25}}/2}})}}*25}} Gold
       {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{#expr:{{#expr:floor({{#expr:{{#expr:{{{buy|}}}/25}}/2}})}}*25}} Gold
     |}}
     |}}
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{#if:{{{questreward|}}}|
   {{#if:{{{questreward|}}}|
     {{!}} align=center width=50% style="border:0px transparent"{{!}}Quest reward:
     {{!}} align=center width=50% style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}Quest reward:
     {{!}} align=center style="border:0px transparent"{{!}}{{Nowrap|{{{questreward|}}}}}
     {{!}} align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{Nowrap|{{{questreward|}}}}}
   |}}
   |}}
   {{!}}-
   {{!}}-
   {{#ifeq:{{{copies|1}}}|1||
   {{!}}colspan=2 style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}<div style="padding: 0px; width:100%; border:1px solid {{#var: bordercolor}};" ></div>
    {{!}} align=center width=50% style="border:0px transparent"{{!}}Copies:
    {{!}} align=center style="border:0px transparent"{{!}}{{{copies}}}
  }}
   {{!}}-
   {{!}}-
   {{!}}colspan=2 style="border:0px transparent" {{!}}<div style="padding: 0px; width:100%; border:1px solid {{#var: bordercolor}};" ></div>
   {{!}}colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}'''Expansion'''
  {{!}}-
  {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Expansion'''
   {{!}}-
   {{!}}-
   {{#if:{{#var: expansion}}|
   {{#if:{{#var: expansion}}|
     {{!}} colspan=2 align=center style="border:0px transparent"{{!}}{{#if:{{#var: expansionlogo}}|{{#var: expansionlogo}}<br>|}}{{#var: expansioncode}} [[{{#var: expansion}}]]
     {{!}} colspan=2 align=center style="border:0px transparent; padding-top: 0px; padding-bottom: 0px" {{!}}{{#if:{{#var: expansionlogo}}|{{#var: expansionlogo}}<br>|}}{{#var: expansioncode}} [[{{#var: expansion}}]]
   |
   |
     {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[Template:ValidateExpansion|Invalid expansion. Read the template documentation for valid expansions]] [[Category:PagesWhichFailValidation]]
     {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[Template:ValidateExpansion|Invalid expansion. Read the template documentation for valid expansions]] [[Category:PagesWhichFailValidation]]
Line 357: 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 363: 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 392: 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