Template:Infobox 2CardCombo/doc

From DominionStrategy Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "This template may be used to summarize information about a 2-card combo at the top of the page. ==Usage== The infobox may be added by pasting the blank templates below into a...")
 
Line 34: Line 34:
 
===Required===
 
===Required===
 
; name1, name2 : Names of the cards.
 
; name1, name2 : Names of the cards.
; set1, set2 : Name of the expansions the cards are in or "Base".
+
; set1, set2 : Name of the expansions the cards are in or "Base". It is recommended to list sets in chronological order instead of following the order of the cards.
  
 
===Optional===
 
===Optional===

Revision as of 19:04, 10 November 2012

This template may be used to summarize information about a 2-card combo at the top of the page.

Contents

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
| name1       =
| name2       =
| set1        =
| set2        =
| type        =
}}

Blank template with all parameters

{{Infobox Card
| bodystyle   =
| namestyle   =
| imagestyle  =
| headerstyle =
| labelstyle  =
| datastyle   =

| name1       =
| name2       =
| set1        =
| set2        =
| type        =

| nocats      =
}}

Parameters

Required

name1, name2 
Names of the cards.
set1, set2 
Name of the expansions the cards are in or "Base". It is recommended to list sets in chronological order instead of following the order of the cards.

Optional

type 
Type of the combo
nocats 
If this is not whitespace, categories will not be added. Useful when showing info about the combo 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

Black Market / Tactician
Black Market.jpg Tactician.jpg
Info
Set(s) Promo / Seaside
{{Infobox 2CardCombo
|name1 = Black Market
|name2 = Tactician

|set1 = Promo
|set2 = Seaside
}}
King's Court / Bridge
King's Court.jpg Bridge.jpg
Info
Set(s) Intrigue / Prosperity
Type Megaturn
{{Infobox 2CardCombo
|name1 = King's Court
|name2 = Bridge

|set1 = Intrigue
|set2 = Prosperity

|type = Megaturn
}}
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox