Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
Remove deprecated |dice argument. Add All pages which fail a validation to the category PagesWhichFailValidation
(Add |attackdice and |defensedice. Add all pages with |dice to the category RefactorDice. This is in preparation for support for monster/lieutenant cards)
(Remove deprecated |dice argument. Add All pages which fail a validation to the category PagesWhichFailValidation)
Line 58: Line 58:
               {{!}}align=center style="border:0px transparent" {{!}}[[{{{character|}}}]]
               {{!}}align=center style="border:0px transparent" {{!}}[[{{{character|}}}]]
             |
             |
               {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateHeroClass|Invalid heroclass. Read the template documentation for valid hero classes]]
               {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateHeroClass|Invalid heroclass. Read the template documentation for valid hero classes]] [[Category:PagesWhichFailValidation]]
             }}
             }}
           }}
           }}
Line 68: Line 68:
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Player'''
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}'''Player'''
       {{!}}-
       {{!}}-
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateArchetype|Invalid archetype. Read the template documentation for valid archetypes]]
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[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" {{!}}<div style="padding: 0px; width:100%; border:1px solid {{#var: bordercolor}};" ></div>
Line 83: Line 83:
     |
     |
       {{!}}-
       {{!}}-
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateCardType|Invalid cardtype. Read the template documentation for valid cardtypes]]
       {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateCardType|Invalid cardtype. Read the template documentation for valid cardtypes]] [[Category:PagesWhichFailValidation]]
     }}
     }}
   }}
   }}
Line 93: Line 93:
         {{!}}align=center style="border:0px transparent" {{!}} [[{{#var: overlordclass}}]]
         {{!}}align=center style="border:0px transparent" {{!}} [[{{#var: overlordclass}}]]
       |
       |
         {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateOverlordClass|Invalid overlordclass. Read the template documentation for valid classes]]
         {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateOverlordClass|Invalid overlordclass. Read the template documentation for valid classes]] [[Category:PagesWhichFailValidation]]
       }}
       }}
       {{!}}-
       {{!}}-
Line 100: Line 100:
         {{!}}align=center style="border:0px transparent" {{!}} [[:Category:{{OverlordCardTypeCategory|{{#var: overlordcardtype}}}}|{{#var: overlordcardtype}}]]
         {{!}}align=center style="border:0px transparent" {{!}} [[: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]]
         {{!}}colspan=2 align=center style="border:0px transparent" {{!}}[[Template:ValidateOverlordCardType|Invalid overlordcardtype. Read the template documentation for valid types]] [[Category:PagesWhichFailValidation]]
       }}
       }}
     |Plot Card=
     |Plot Card=
Line 120: Line 120:
     {{!}} align=center width=50% style="border:0px transparent"{{!}}Defense Dice:
     {{!}} align=center width=50% style="border:0px transparent"{{!}}Defense Dice:
     {{!}} align=center style="border:0px transparent"{{!}}{{{defensedice|}}}
     {{!}} align=center style="border:0px transparent"{{!}}{{{defensedice|}}}
  |}}
  {{!}}-
  {{#if:{{{dice|}}}|
    {{!}} align=center width=50% style="border:0px transparent"{{!}}Dice:
    {{!}} align=center style="border:0px transparent"{{!}}{{{dice|}}} [[Category:RefactorDice]]
   |}}
   |}}
   {{!}}-
   {{!}}-
Line 138: Line 133:
         {{!}} align=center style="border:0px transparent"{{!}}{{{health|}}}
         {{!}} align=center style="border:0px transparent"{{!}}{{{health|}}}
       |#default =
       |#default =
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid health. Valid values are in the range 1-6
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid health. Valid values are in the range 1-6 [[Category:PagesWhichFailValidation]]
     }}
     }}
   |}}
   |}}
Line 147: Line 142:
       {{!}} align=center style="border:0px transparent"{{!}}[[:Category:{{ValidateRange|{{{range|}}}}}|{{ValidateRange|{{{range|}}}}}]]
       {{!}} align=center style="border:0px transparent"{{!}}[[:Category:{{ValidateRange|{{{range|}}}}}|{{ValidateRange|{{{range|}}}}}]]
     |
     |
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateRange|Invalid range. Read the template documentation for valid ranges]]
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateRange|Invalid range. Read the template documentation for valid ranges]] [[Category:PagesWhichFailValidation]]
     }}
     }}
   |}}
   |}}
Line 161: Line 156:
         {{!}} align=center style="border:0px transparent"{{!}}{{{speed|}}}
         {{!}} align=center style="border:0px transparent"{{!}}{{{speed|}}}
       |#default =
       |#default =
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid speed. Valid values are in the range 1-5
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid speed. Valid values are in the range 1-5 [[Category:PagesWhichFailValidation]]
     }}
     }}
   |}}
   |}}
Line 175: Line 170:
       }}
       }}
     |
     |
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateTrait|Invalid Trait. Read the template documentation for valid traits]]
       {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}[[Template:ValidateTrait|Invalid Trait. Read the template documentation for valid traits]] [[Category:PagesWhichFailValidation]]
     }}
     }}
   |}}
   |}}
Line 184: Line 179:
       {{!}} align=center style="border:0px transparent"{{!}}[[:Category:{{ValidateWorn|{{{worn|}}}}}|{{ValidateWorn|{{{worn|}}}}}]]
       {{!}} align=center style="border:0px transparent"{{!}}[[: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]]
       {{!}}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 205:
         {{!}} align=center style="border:0px transparent"{{!}}{{{plotcardnumber|}}}/12
         {{!}} align=center style="border:0px transparent"{{!}}{{{plotcardnumber|}}}/12
       |#default =
       |#default =
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid plotcardnumber. Valid values are in the range 1-12
         {{!}}colspan= 2 align=center style="border:0px transparent"{{!}}Invalid plotcardnumber. Valid values are in the range 1-12 [[Category:PagesWhichFailValidation]]
     }}
     }}
   |}}
   |}}
Line 297: Line 292:
       {{!}} colspan=2 align=center style="border:0px transparent"{{!}}{{ValidateExpansionCode|{{{expansion|}}}}} [[{{ValidateExpansion|{{{expansion|}}}}}]]
       {{!}} colspan=2 align=center style="border:0px transparent"{{!}}{{ValidateExpansionCode|{{{expansion|}}}}} [[{{ValidateExpansion|{{{expansion|}}}}}]]
     |
     |
       {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[Template:ValidateExpansion|Invalid expansion. Read the template documentation for valid expansions]]
       {{!}} colspan=2 align=center style="border:0px transparent"{{!}}[[Template:ValidateExpansion|Invalid expansion. Read the template documentation for valid expansions]] [[Category:PagesWhichFailValidation]]
     }}
     }}
   |
   |

Navigation menu