Template:Infobox Card/doc
Jump to navigation
Jump to search
This template may be used to summarize information about a Dominion card at the top of the page.
Usage
The infobox may be added by pasting the blank templates below into an article and filling in the parameters. For a description of the parameters , see below.
Blank template with basic parameters
{{Infobox Card | name = | type1 = | type2 = | type3 = | type4 = | set = | illustrator = | text = }}
Blank template with all parameters
{{Infobox Card | bodystyle = | namestyle = | imagestyle = | headerstyle = | labelstyle = | datastyle = | name = | image = | image2 = | cost = | type1 = | type2 = | type3 = | type4 = | kingdom = | set = | illustrator = | text = | text2 = | nocats = }}
Parameters
Required
- name
- Name of the card.
- type1
- Type of the card.
- set
- Name of the expansion the card is in or "Base".
- illustrator
- Name of the illustrator for the card.
- text
- Card text. Use {{Cost}} as necessary.
Optional
- image
- Image of the card. Use full image syntax (e.g. [[File:Tactician.jpg|200px]]). Defaults to Cardname.jpg (or Card back.jpg if that doesn't exist).
- image2
- Second image. Use full image syntax. Defaults to Cardname-new.jpg if that exists. Note that this can be used without supplying
image
, in which caseimage
defaults as described above. - cost
- Cost of the card. Use, for example, "4P", for Potion cards. Defaults to cost of the named card retrieved from {{[[Template:Card2cost|Card2cost}}.
- typen
- Additional types of the card.
- kingdom
- "Yes" if the card is a Kingdom card, "No" if not. Defaults to "Yes".
- text2
- If card text consists of top and bottom parts, supply the top part as
text
and the bottom part astext2
. This is recommended over using a horizontal rule intext
. - nocats
- If this is not whitespace, categories will not be added. Useful when showing info about the card on related articles.
Style rules
- bodystyle
- Style rules applied to the whole box.
- namestyle
- Style rules applied to the name of the card.
- imagestyle
- Style rules applied to the image cells.
- headerstyle
- Style rules applied to the headers.
- labelstyle
- Style rules applied to the labels.
- datastyle
- Style rules applied to the data cells.
Examples
Tactician | |
---|---|
Info | |
Cost | |
Type(s) | Action - Duration |
Kingdom card? | Yes |
Set | Seaside |
Illustrator(s) | Martin Hoffmann |
Card text | |
Discard your hand. If you discarded any cards this way, then at the start of your next turn, +5 Cards; +1 Buy; and +1 Action. |
{{Infobox Card| |name = Tactician |set = Seaside |type1 = Action |type2 = Duration |illustrator = Martin Hoffmann |text = Discard your hand. <br />If you discarded any cards this way, then at the start of your next turn, +5 Cards; +1 Buy; and +1 Action. }}
Dame Josephine | |
---|---|
Info | |
Cost | |
Type(s) | Action - Attack - Knight - Victory |
Kingdom card? | Yes |
Set | Dark Ages |
Illustrator(s) | Lynell Ingram |
Card text | |
Each other player reveals the top 2 cards of his deck, trashes one of them costing from 2 | to , and discards the rest. If a Knight is trashed by this, trash this card.
{{Infobox Card| |name = Dame Josephine |set = Dark Ages |type1 = Action |type2 = Attack |type3 = Knight |type4 = Victory |illustrator = Lynell Ingram |text = Each other player reveals the top 2 cards of his deck, trashes one of them costing from {{Cost|3}} to {{Cost|6}}, and discards the rest. If a Knight is trashed by this, trash this card. |text2 = 2 {{VP}} }}
Gold | |
---|---|
Info | |
Cost | |
Type(s) | Treasure |
Kingdom card? | No |
Set | Base |
Illustrator(s) | Ryan Laukat |
Card text | |
{{Infobox Card| |name = Gold |image2 = [[File:Gold-new.jpg|200px]] |set = Base |kingdom = No |type1 = Treasure |illustrator = Ryan Laukat |text = {{Cost|3|xl}} }}