Template:Infobox Card/doc

From Descent-Community Wiki 1.2
Revision as of 22:13, 11 April 2016 by Psymia (talk | contribs) (Documentation on new template for a card infobox)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
This template is display an infobox about a game card.
Currently the template supports the following cards:
  • Skills
  • Items (Starting Gear, Shop, Relic)
  • Overlord Cards
  • Plot Cards
Not supported yet are:
  • Monster Cards
  • Lieutenant Cards
  • Search Cards
  • Travel Cards
  • ?
Syntax, all possible arguments in alphabetical order
{{Infobox card
 |act =
 |archetype =
 |buy =
 |cardtype =
 |dice =
 |expansion =
 |heroclass =
 |image =
 |name =
 |overlordclass =
 |playcost =
 |plotcardnumber =
 |plotdeck =
 |questreward =
 |range =
 |reliccounterpart =
 |text =
 |threatcost =
 |trait =
 |trait2 =
 |worn =
 |xpcost =
}}
Usage for an overlord card
{{Infobox card
 |archetype     = Overlord
 |cardtype      = Overlord Card
 |expansion     = <required>
 |image         = <optional, only used when image to show has a different name than {{{name|}}}.png
 |name          = <required>
 |overlordclass = <required>
 |text          = <required>
 |xpcost        = <required>
}}
Usage for a plot card
{{Infobox card
 |archetype      = Overlord
 |cardtype       = Plot Card
 |expansion      = <required>
 |image          = <optional, only used when image to show has a different name than {{{name|}}}.png
 |name           = <required>
 |playcost       = <required>
 |plotcardnumber = <required>
 |plotdeck       = <required>
 |text           = <required>
 |threatcost     = <required>
}}
Usage for a skill
{{Infobox card
 |archetype  = <required: Healer, Mage, Warrior, Scout>
 |cardtype   = Skill
 |expansion  = <required>
 |heroclass  = <required>
 |image      = <optional, only used when image to show has a different name than {{{name|}}}.png
 |name       = <required>
 |playcost   = <required>
 |text       = <required>
 |xpcost     = <required>
}}
Usage for starting gear
{{Infobox card
 |archetype  = <required, Healer, Mage, Warrior, Scout>
 |cardtype   = Item
 |dice       = <required>
 |expansion  = <required>
 |heroclass  = <required>
 |image      = <optional, only used when image to show has a different name than {{{name|}}}.png
 |name       = <required>
 |range      = <optional, if applicable>
 |text       = <required>
 |trait      = <optional, if applicable>
 |trait2     = <optional, if applicable>
 |worn       = <required>
}}
Usage for shop gear
{{Infobox card
 |act        = <required>
 |buy        = <required>
 |cardtype   = Item
 |dice       = <optional, if applicable>
 |expansion  = <required>
 |image      = <optional, only used when image to show has a different name than {{{name|}}}.png
 |name       = <required>
 |range      = <optional, if applicable>
 |text       = <required>
 |trait      = <optional, if applicable>
 |trait2     = <optional, if applicable>
 |worn       = <required>
}}
Usage for relics
{{Infobox card
 |archetype        = <optional, set for Overlord, leave empty for player>
 |cardtype         = Item
 |dice             = <optional, if applicable>
 |expansion        = <required>
 |image            = <optional, only used when image to show has a different name than {{{name|}}}.png
 |name             = <required>
 |questreward      = <required, link to the quest where the relic can be gained>
 |range            = <optional, if applicable>
 |reliccounterpart = <required>
 |text             = <required>
 |trait            = <optional, if applicable>
 |trait2           = <optional, if applicable>
 |worn             = <optional, if applicable>
}}