Template:Infobox Card/doc: Difference between revisions

From Descent-Community Wiki 1.2
Jump to navigation Jump to search
(Document template usage for overlord relics)
(Document the now optional name argument)
Line 45: Line 45:
  |cardtype      = Overlord Card
  |cardtype      = Overlord Card
  |expansion    = <required>
  |expansion    = <required>
  |image        = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png</nowiki>
  |image        = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png or {{PAGENAME}}.png</nowiki>
  |name          = <required>
  |name          = <optional, used to override the name if it is different than what <nowiki>{{PAGENAME}}</nowiki> returns>
  |overlordclass = <required>
  |overlordclass = <required>
  |text          = <optional, but highly recommended>
  |text          = <optional, but highly recommended>
Line 58: Line 58:
  |cardtype      = Plot Card
  |cardtype      = Plot Card
  |expansion      = <required>
  |expansion      = <required>
  |image          = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png</nowiki>
  |image          = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png or {{PAGENAME}}.png</nowiki>
  |name          = <required>
  |name          = <optional, used to override the name if it is different than what <nowiki>{{PAGENAME}}</nowiki> returns>
  |playcost      = <required>
  |playcost      = <required>
  |plotcardnumber = <required>
  |plotcardnumber = <required>
Line 74: Line 74:
  |expansion  = <required>
  |expansion  = <required>
  |heroclass  = <required>
  |heroclass  = <required>
  |image      = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png</nowiki>
  |image      = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png or {{PAGENAME}}.png</nowiki>
  |name      = <required>
  |name      = <optional, used to override the name if it is different than what <nowiki>{{PAGENAME}}</nowiki> returns>
  |playcost  = <required>
  |playcost  = <required>
  |text      = <optional, but highly recommended>
  |text      = <optional, but highly recommended>
Line 90: Line 90:
  |expansion  = <required>
  |expansion  = <required>
  |heroclass  = <required>
  |heroclass  = <required>
  |image      = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png</nowiki>
  |image      = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png or {{PAGENAME}}.png</nowiki>
  |name      = <required>
  |name      = <optional, used to override the name if it is different than what <nowiki>{{PAGENAME}}</nowiki> returns>
  |range      = <optional, if applicable>
  |range      = <optional, if applicable>
  |text      = <optional, but highly recommended>
  |text      = <optional, but highly recommended>
Line 108: Line 108:
  |dice      = <optional, if applicable>
  |dice      = <optional, if applicable>
  |expansion  = <required>
  |expansion  = <required>
  |image      = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png</nowiki>
  |image      = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png or {{PAGENAME}}.png</nowiki>
  |name      = <required>
  |name      = <optional, used to override the name if it is different than what <nowiki>{{PAGENAME}}</nowiki> returns>
  |range      = <optional, if applicable>
  |range      = <optional, if applicable>
  |text      = <optional, but highly recommended>
  |text      = <optional, but highly recommended>
Line 124: Line 124:
  |dice            = <optional, if applicable>
  |dice            = <optional, if applicable>
  |expansion        = <required>
  |expansion        = <required>
  |image            = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png</nowiki>
  |image            = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png or {{PAGENAME}}.png</nowiki>
  |name            = <required>
  |name            = <optional, used to override the name if it is different than what <nowiki>{{PAGENAME}}</nowiki> returns>
  |questreward      = <required, link to the quest where the relic can be gained>
  |questreward      = <required, link to the quest where the relic can be gained>
  |range            = <optional, if applicable>
  |range            = <optional, if applicable>
Line 142: Line 142:
  |cardtype        = Overlord Relic
  |cardtype        = Overlord Relic
  |expansion        = <required>
  |expansion        = <required>
  |image            = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png</nowiki>
  |image            = <optional, only used when image to show has a different name than <nowiki>{{{name|}}}.png or {{PAGENAME}}.png</nowiki>
  |name            = <required>
  |name            = <optional, used to override the name if it is different than what <nowiki>{{PAGENAME}}</nowiki> returns>
  |questreward      = <required, link to the quest where the relic can be gained>
  |questreward      = <required, link to the quest where the relic can be gained>
  |reliccounterpart = <required>
  |reliccounterpart = <required>

Revision as of 15:12, 31 May 2016

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 or {{PAGENAME}}.png
 |name          = <optional, used to override the name if it is different than what {{PAGENAME}} returns>
 |overlordclass = <required>
 |text          = <optional, but highly recommended>
 |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 or {{PAGENAME}}.png
 |name           = <optional, used to override the name if it is different than what {{PAGENAME}} returns>
 |playcost       = <required>
 |plotcardnumber = <required>
 |plotdeck       = <required>
 |text           = <optional, but highly recommended>
 |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 or {{PAGENAME}}.png
 |name       = <optional, used to override the name if it is different than what {{PAGENAME}} returns>
 |playcost   = <required>
 |text       = <optional, but highly recommended>
 |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 or {{PAGENAME}}.png
 |name       = <optional, used to override the name if it is different than what {{PAGENAME}} returns>
 |range      = <optional, if applicable>
 |text       = <optional, but highly recommended>
 |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 or {{PAGENAME}}.png
 |name       = <optional, used to override the name if it is different than what {{PAGENAME}} returns>
 |range      = <optional, if applicable>
 |text       = <optional, but highly recommended>
 |trait      = <optional, if applicable>
 |trait2     = <optional, if applicable>
 |worn       = <required>
}}
Usage for Hero relics
{{Infobox card
 |cardtype         = Item
 |dice             = <optional, if applicable>
 |expansion        = <required>
 |image            = <optional, only used when image to show has a different name than {{{name|}}}.png or {{PAGENAME}}.png
 |name             = <optional, used to override the name if it is different than what {{PAGENAME}} returns>
 |questreward      = <required, link to the quest where the relic can be gained>
 |range            = <optional, if applicable>
 |reliccounterpart = <required>
 |text             = <optional, but highly recommended>
 |trait            = <optional, if applicable>
 |trait2           = <optional, if applicable>
 |worn             = <optional, if applicable>
}}
Usage for Overlord relics
{{Infobox card
 |archetype        = <required> Overlord
 |cardtype         = Overlord Relic
 |expansion        = <required>
 |image            = <optional, only used when image to show has a different name than {{{name|}}}.png or {{PAGENAME}}.png
 |name             = <optional, used to override the name if it is different than what {{PAGENAME}} returns>
 |questreward      = <required, link to the quest where the relic can be gained>
 |reliccounterpart = <required>
 |text             = <optional, but highly recommended>
}}