Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
Add cards only to the weapons category if they are actually an item.
(Show which heroclass the starting skill belongs to)
(Add cards only to the weapons category if they are actually an item.)
Line 228: Line 228:
   {{#switch:{{ValidateCardType|{{{cardtype|}}}}}
   {{#switch:{{ValidateCardType|{{{cardtype|}}}}}
     |Item = [[Category:Items]]
     |Item = [[Category:Items]]
            {{#if:{{ValidateRange|{{{range|}}}}}|
              [[Category:Weapons]]
            |}}
     |Skill = [[Category:Skills]]
     |Skill = [[Category:Skills]]
     |Overlord Card = [[Category:Overlord Cards]]
     |Overlord Card = [[Category:Overlord Cards]]
Line 247: Line 250:
{{#if:{{ValidateRange|{{{range|}}}}}|
{{#if:{{ValidateRange|{{{range|}}}}}|
   [[Category:{{ValidateRange|{{{range|}}}}}]]
   [[Category:{{ValidateRange|{{{range|}}}}}]]
  [[Category:Weapons]]
|}}
|}}
{{#if:{{ValidateTrait|{{{trait|}}}}}|
{{#if:{{ValidateTrait|{{{trait|}}}}}|

Navigation menu