Template:Infobox 2CardCombo
From DominionStrategy Wiki
(Difference between revisions)
m |
Thirtyseven (Talk | contribs) (added text for category sorting purposes) |
||
Line 23: | Line 23: | ||
|data4 = {{#if:{{{type|}}}|[[{{{type|}}}]]}} | |data4 = {{#if:{{{type|}}}|[[{{{type|}}}]]}} | ||
}}<includeonly>{{#if:{{{nocats|}}}|| | }}<includeonly>{{#if:{{{nocats|}}}|| | ||
− | [[Category: Combo]] | + | [[Category: Combo|{{{name1}}} and {{{name2}}}]] |
− | [[Category: Combos with {{{set1}}} cards]] | + | [[Category: Combos with {{{set1}}} cards|{{{name1}}} and {{{name2}}}]] |
− | [[Category: Combos with {{{set2}}} cards]] | + | [[Category: Combos with {{{set2}}} cards|{{{name1}}} and {{{name2}}}]] |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
<div style="clear:both"></div> | <div style="clear:both"></div> | ||
{{doc}} | {{doc}} | ||
</noinclude> | </noinclude> |
Revision as of 16:30, 8 December 2012
[[{{{name1}}}]] / [[{{{name2}}}]] | |||
---|---|---|---|
| |||
Info | |||
Set(s) | [[{{{set1}}}]] |
Template documentation [edit]
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 2CardCombo | name1 = | name2 = | set1 = | set2 = | type = }}
Blank template with all parameters
{{Infobox 2CardCombo | 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 | |||
---|---|---|---|
| |||
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 }}