Template:Infobox 2CardCombo/doc
From DominionStrategy Wiki
(Difference between revisions)
(→Examples) |
|||
Line 5: | Line 5: | ||
===Blank template with basic parameters=== | ===Blank template with basic parameters=== | ||
− | <pre>{{Infobox | + | <pre>{{Infobox 2CardCombo |
| name1 = | | name1 = | ||
| name2 = | | name2 = | ||
Line 14: | Line 14: | ||
===Blank template with all parameters=== | ===Blank template with all parameters=== | ||
− | <pre>{{Infobox | + | <pre>{{Infobox 2CardCombo |
| bodystyle = | | bodystyle = | ||
| namestyle = | | namestyle = |
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 | |||
---|---|---|---|
| |||
Info | |||
Set(s) | Seaside / Promo |
{{Infobox 2CardCombo |name1 = Black Market |name2 = Tactician |set1 = Seaside |set2 = Promo }}
King's Court / Bridge | |||
---|---|---|---|
| |||
Info | |||
Set(s) | Intrigue / Prosperity | ||
Type | Megaturn |
{{Infobox 2CardCombo |name1 = King's Court |name2 = Bridge |set1 = Intrigue |set2 = Prosperity |type = Megaturn }}