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...")
 
 
(2 intermediate revisions by one user not shown)
Line 5: Line 5:
  
 
===Blank template with basic parameters===
 
===Blank template with basic parameters===
<pre>{{Infobox Card
+
<pre>{{Infobox 2CardCombo
 
| name1      =
 
| name1      =
 
| name2      =
 
| name2      =
Line 14: Line 14:
  
 
===Blank template with all parameters===
 
===Blank template with all parameters===
<pre>{{Infobox Card
+
<pre>{{Infobox 2CardCombo
 
| bodystyle  =
 
| bodystyle  =
 
| namestyle  =
 
| namestyle  =
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===
Line 53: Line 53:
 
|name2 = Tactician
 
|name2 = Tactician
  
|set1 = Promo
+
|set1 = Seaside
|set2 = Seaside
+
|set2 = Promo
  
 
|nocats = 1
 
|nocats = 1
Line 62: Line 62:
 
|name2 = Tactician
 
|name2 = Tactician
  
|set1 = Promo
+
|set1 = Seaside
|set2 = Seaside
+
|set2 = Promo
 
}}</pre>
 
}}</pre>
 
<div style="clear:both"></div>
 
<div style="clear:both"></div>

Latest revision as of 03:29, 27 June 2017

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

Contents

[edit] 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.

[edit] Blank template with basic parameters

{{Infobox 2CardCombo
| name1       =
| name2       =
| set1        =
| set2        =
| type        =
}}

[edit] Blank template with all parameters

{{Infobox 2CardCombo
| bodystyle   =
| namestyle   =
| imagestyle  =
| headerstyle =
| labelstyle  =
| datastyle   =

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

| nocats      =
}}

[edit] Parameters

[edit] 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.

[edit] 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.

[edit] 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.

[edit] Examples

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

|set1 = Seaside
|set2 = Promo
}}
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