Template:Infobox Card: Difference between revisions

Jump to navigation Jump to search
Add the cardtype "hero relic" to the same categories as the cardtype "item"
(Explicitly add Relics to the Overlord Relic and Hero Relic categories in addition to the Relic category.)
(Add the cardtype "hero relic" to the same categories as the cardtype "item")
Line 231: Line 231:
{{#if:{{ValidateCardType|{{{cardtype|}}}}}|
{{#if:{{ValidateCardType|{{{cardtype|}}}}}|
   {{#switch:{{ValidateCardType|{{{cardtype|}}}}}
   {{#switch:{{ValidateCardType|{{{cardtype|}}}}}
    |Hero Relic
     |Item = [[Category:Items]]
     |Item = [[Category:Items]]
             {{#if:{{ValidateRange|{{{range|}}}}}|
             {{#if:{{ValidateRange|{{{range|}}}}}|
Line 277: Line 278:
   {{#switch:{{ValidateCardType|{{{cardtype|}}}}}
   {{#switch:{{ValidateCardType|{{{cardtype|}}}}}
     |Overlord Relic = [[Category:Overlord Relic]]
     |Overlord Relic = [[Category:Overlord Relic]]
     |Item = [[Category:Hero Relic]]
     |Hero Relic = [[Category:Hero Relic]]
     |#default=
     |#default=
   }}
   }}

Navigation menu