Template:Infobox Set: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Wikiwikiwiki (talk | contribs) No edit summary |
||
(26 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|imagestyle = {{{imagestyle|}}} | |imagestyle = {{{imagestyle|}}} | ||
|headerstyle = background-color:#CCF{{{headerstyle|}}} | |headerstyle = background-color:#CCF{{{headerstyle|}}} | ||
|labelstyle = width: | |labelstyle = width:125px{{{labelstyle|}}} | ||
|datastyle = {{{datastyle|}}} | |datastyle = {{{datastyle|}}} | ||
|above = [[{{{name}}}]] | |above = {{#if:{{{link|}}}|[[{{{link}}}|{{{name}}}]]|[[{{{name}}}]]}} | ||
|image = {{{image|{{#ifexist:File:{{{name}}}.jpg|[[File:{{{name}}}.jpg|x300px]]| | |image = {{{image|{{#ifexist:File:{{{name}}}.jpg|[[File:{{{name}}}.jpg|300px|x300px]]|}}}}} | ||
| | |image2 = {{exist|File:{{{name}}}2.jpg|{{{image2|[[File:{{{name}}}2.jpg|300px|x300px]]|}}}}} | ||
|data1 = {{#if:{{{image|}}}||{{#ifexist:File:{{{name}}}.jpg||<span class="plainlinks">''Seems that we don't have the box image.<br />Maybe you can help by [{{fullurl:Special:Upload|wpDestFile={{urlencode:{{{name}}}.jpg|PATH}}}} uploading] it?''</span>}}}} | |||
| | |header2 = Info | ||
| | |label3 = Type | ||
| | |data3 = {{{type|}}} | ||
| | |label4 = Icon | ||
| | |data4 = {{#ifexist:File:{{{name}}} icon.png|[[File:{{{name}}} icon.png|20px|x20px]]|}} | ||
| | |||
| | |||
| | |label5 = Cards | ||
| | |data5 = {{{cards|{{#expr:{{{kingdomcards|0}}}+{{{basiccards|0}}}+{{{randomizers|0}}}+{{{blankcards|0}}}+{{{othercards|0}}}}}}}} | ||
| | |label6 = <div style="margin:0 0 0 1.6em">[[Kingdom card|Kingdom]]</div> | ||
| | |data6 = {{#if:{{{kingdomcards|}}}|<div style="margin:0 0 0 1.6em">{{{kingdomcards|}}} {{#if:{{{kingdomsets|}}}|({{{kingdomsets|}}} sets)}}</div>}} | ||
| | |label7 = <div style="margin:0 0 0 1.6em">[[Basic cards|Basic]]</div> | ||
| | |data7 = {{#if:{{{basiccards|}}}|<div style="margin:0 0 0 1.6em">{{{basiccards|}}}</div>}} | ||
| | |label8 = <div style="margin:0 0 0 1.6em">[[Randomizer]]s</div> | ||
| | |data8 = {{#if:{{{randomizers|}}}|<div style="margin:0 0 0 1.6em">{{{randomizers|}}}</div>}} | ||
|label9 = <div style="margin:0 0 0 1.6em">[[Blank Card]](s)</div> | |||
|data9 = {{#if:{{{blankcards|}}}|<div style="margin:0 0 0 1.6em">{{{blankcards|}}}</div>}} | |||
|label10 = <div style="margin:0 0 0 1.6em">Other Card(s)</div> | |||
|data10 = {{#if:{{{othercards|}}}|<div style="margin:0 0 0 1.6em"> | |||
{{{othercards|}}}</div>}} | |||
| | |label11 = Additional Material(s) | ||
|data13 = {{{ | |data11 = {{#if:{{{mats|}}}{{{tokens|}}}{{{materials|}}}|{{#if:{{{mats|}}}{{{tokens|}}}| |{{{materials}}}}}}} | ||
|label12 = <div style="margin:0 0 0 1.6em">[[Mat]]s</div> | |||
|data12 = {{#if:{{{mats|}}}|<div style="margin:0 0 0 1.6em"> | |||
{{{mats|}}}</div>}} | |||
|label13 = <div style="margin:0 0 0 1.6em">[[Token]]s</div> | |||
|data13 = {{#if:{{{tokens|}}}|<div style="margin:0 0 0 1.6em"> | |||
{{{tokens|}}}</div>}} | |||
|label14 = <div style="margin:0 0 0 1.6em">Others</div> | |||
|data14 = {{#if:{{{materials|}}}|{{#if:{{{mats|}}}{{{tokens|}}}|<div style="margin:0 0 0 1.6em"> | |||
{{{materials|}}}</div>}}}} | |||
| | |label15 = Theme(s) | ||
| | |data15 = {{{theme|}}} | ||
| | |label16 = Release | ||
| | |data16 = {{{release|}}} | ||
}} | |||
|label17 = Cover artist | |||
|data17 = {{{coverartist|}}} | |||
|label18 = Official Rulebook | |||
|data18 = {{#if:{{{rulebook|}}}|[{{{rulebook}}} PDF]}} | |||
}}<includeonly>{{#if:{{{nocats|}}}|| | |||
[[Category:Sets]] | |||
[[Category:{{#ifeq:{{{name}}}|Dominion|Base|{{{name}}}}}]] | |||
}}</includeonly><noinclude> | |||
{{-}} | |||
{{doc}}</noinclude> |
Latest revision as of 22:40, 17 September 2024
[[{{{name}}}]] | |
---|---|
[[File:{{{name}}}2.jpg|300px|x300px]] | |
Seems that we don't have the box image. Maybe you can help by uploading it? | |
Info | |
Cards | 0 |
Template documentation [edit]
This template may be used to summarize information about a Dominion set 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 Set | name = | type = | cards = | kingdomcards = | kingdomsets = | basiccards = | randomizers = | blankcards = | mats = | tokens = | materials = | theme = | release = | coverartist = | rulebook = }}
Blank template with all parameters
{{Infobox Card | bodystyle = | namestyle = | imagestyle = | headerstyle = | labelstyle = | datastyle = | name = | link = | image = | type = | cards = | kingdomcards = | kingdomsets = | basiccards = | randomizers = | blankcards = | othercards = | mats = | tokens = | materials = | theme = | release = | coverartist = | rulebook = | nocats = }}
Parameters
Required
- name
- Name of the set.
Optional
Basic
- link
- Link to the set page. Defaults to name of the set.
- image
- Image of the card. Use full image syntax (e.g. [[File:Tactician.jpg|200px]]). Defaults to Setname.jpg (or blank if that doesn't exist).
- type
- Type of the set. (Base Game, Standalone, Expansion, Large Expansion, etc.)
- theme
- Theme(s) of the set. Use full wikitext syntax.
- release
- Time of release. Usually the month is suffice.
- coverartist
- Name of the box cover illustrator
- rulebook
- Link to the official rulebook.
Cards
- cards
- Total number of cards in the set. Defaults to the sum of other card number parameters. Note that if non-number text is used in those, this must be explicitly specified or an error will be generated.
- kingdomcards
- Total number of Kingdom cards in the set.
- kingdomsets
- Total number of sets of Kingdom cards in the set.
- basiccards
- Total number of basic cards in the set.
- randomizers
- Total number of randomizer cards in the set (does NOT include blank randomizers).
- blankcards
- Total number of blank cards in the set (including blanks randomizers).
- othercards
- Cards that does not fall into one of the categories above. It is recommended to include a description of the cards instead of just putting a number here.
Additional materials
- mats
- Player mats in the set. It is recommended to list out different kinds of mats instead of just putting a number here.
- tokens
- Tokens provided in the set. Again listing is recommended
- materials
- Materials that does not fall into one of the categories above.
Others
- nocats
- If this is not whitespace, categories will not be added. Useful when showing info about the set 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
Dominion | |
---|---|
Info | |
Type | Base Game |
Icon | |
Cards | 500 |
252 (25 sets) | |
208 | |
32 | |
Blank Card(s) |
7 |
Other Card(s) |
1 Trash card |
Theme(s) | Simplicity |
Release | October 2008 |
Cover artist | Matthias Catrein |
Official Rulebook |
{{Infobox Set |name = Dominion |link = Dominion (Base game} |type = Base Game |cards = 500 |kingdomcards = 252 |kingdomsets = 25 |basiccards = 208 |randomizers = 32 |blankcards = 7 |othercards = 1 Trash card |theme = Simplicity |release = October 2008 |coverartist = Matthias Catrein |rulebook = http://www.riograndegames.com/uploads/Game/Game_278_gameRules.pdf }}
Intrigue | |
---|---|
Info | |
Type | Standalone |
Icon | |
Cards | 500 |
258 (25 sets) | |
208 | |
26 | |
Blank Card(s) |
7 |
Other Card(s) |
1 Trash card |
Theme(s) |
|
Release | July 2009 |
Cover artist | Matthias Catrein |
Official Rulebook |
{{Infobox Set |name = Intrigue |type = Standalone |cards = 500 |kingdomcards = 258 |kingdomsets = 25 |basiccards = 208 |randomizers = 26 |blankcards = 7 |othercards = 1 Trash card |theme = *Choices between different effects *Multi-type [[Victory|Victories]] |release = July 2009 |coverartist = Matthias Catrein |rulebook = http://www.riograndegames.com/uploads/Game/Game_306_gameRules.pdf }}
Seaside | |
---|---|
Info | |
Type | Expansion |
Icon | |
Cards | 300 |
262 (26 sets) | |
26 | |
Blank Card(s) |
12 |
Additional Material(s) | |
| |
| |
Theme(s) |
The next turn (Duration cards) |
Release | October 2009 |
Official Rulebook |
{{Infobox Set |name = Seaside |type = Expansion |kingdomcards = 262 |kingdomsets = 26 |randomizers = 26 |blankcards = 12 |mats = *6 [[Island]] mats *6 [[Pirate Ship]] mats *6 [[Native Village]] mats |tokens = *15 [[Embargo]] tokens *25 [[Pirate Ship|Coin tokens]] |theme = The next turn<br />([[Duration|Duration cards]]) |release = October 2009 |rulebook = http://www.riograndegames.com/uploads/Game/Game_326_gameRules.pdf }}