Template:Infobox Card/doc: Difference between revisions
Jump to navigation
Jump to search
(Documentation on new template for a card infobox) |
(Allow text to be optional) |
||
Line 48: | Line 48: | ||
|name = <required> | |name = <required> | ||
|overlordclass = <required> | |overlordclass = <required> | ||
|text = < | |text = <optional, but highly recommended> | ||
|xpcost = <required> | |xpcost = <required> | ||
}}</pre> | }}</pre> | ||
Line 63: | Line 63: | ||
|plotcardnumber = <required> | |plotcardnumber = <required> | ||
|plotdeck = <required> | |plotdeck = <required> | ||
|text = < | |text = <optional, but highly recommended> | ||
|threatcost = <required> | |threatcost = <required> | ||
}}</pre> | }}</pre> | ||
Line 77: | Line 77: | ||
|name = <required> | |name = <required> | ||
|playcost = <required> | |playcost = <required> | ||
|text = < | |text = <optional, but highly recommended> | ||
|xpcost = <required> | |xpcost = <required> | ||
}} | }} | ||
Line 93: | Line 93: | ||
|name = <required> | |name = <required> | ||
|range = <optional, if applicable> | |range = <optional, if applicable> | ||
|text = < | |text = <optional, but highly recommended> | ||
|trait = <optional, if applicable> | |trait = <optional, if applicable> | ||
|trait2 = <optional, if applicable> | |trait2 = <optional, if applicable> | ||
Line 111: | Line 111: | ||
|name = <required> | |name = <required> | ||
|range = <optional, if applicable> | |range = <optional, if applicable> | ||
|text = < | |text = <optional, but highly recommended> | ||
|trait = <optional, if applicable> | |trait = <optional, if applicable> | ||
|trait2 = <optional, if applicable> | |trait2 = <optional, if applicable> | ||
Line 130: | Line 130: | ||
|range = <optional, if applicable> | |range = <optional, if applicable> | ||
|reliccounterpart = <required> | |reliccounterpart = <required> | ||
|text = < | |text = <optional, but highly recommended> | ||
|trait = <optional, if applicable> | |trait = <optional, if applicable> | ||
|trait2 = <optional, if applicable> | |trait2 = <optional, if applicable> |
Revision as of 16:31, 12 April 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 |name = <required> |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 |name = <required> |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 |name = <required> |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 |name = <required> |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 |name = <required> |range = <optional, if applicable> |text = <optional, but highly recommended> |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 = <optional, but highly recommended> |trait = <optional, if applicable> |trait2 = <optional, if applicable> |worn = <optional, if applicable> }}