Template:Kingdom/doc

From DominionStrategy Wiki
Revision as of 21:46, 7 November 2012 by TwiNight (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This template creates a table showing a kingdom.

Contents

Usage

{{Kingdom
| imgwidth =

| card1    =
| cost1    =

| card2    =
| cost2    =
...
| card10   =
| cost10   =
}}

Parameters

Required

cardn - The name of the nth Card
costn - The cost of the nth Card

Optional

imgwidth - The width of image in pixels

Examples

{{Kingdom
|card1 = Island
|cost1 = 2

|card2 = Secret Chamber
|cost2 = 2

|card3 = Shanty Town
|cost3 = 3

|card4 = Baron
|cost4 = 4

|card5 = Bridge
|cost5 = 4

|card6 = Ironworks
|cost6 = 4

|card7 = Moneylender
|cost7 = 4

|card8 = Remake
|cost8 = 4

|card9 = Possession
|cost9 = 6

|card10 = Peddler
|cost10 = 8*
}}
[images]
[[]] [[]] [[]] [[]] [[]]
[[File:{{{1}}}.jpg|200px]] [[File:{{{2}}}.jpg|200px]] [[File:{{{3}}}.jpg|200px]] [[File:{{{4}}}.jpg|200px]] [[File:{{{5}}}.jpg|200px]]
[[File:{{{6}}}.jpg|200px]] [[File:{{{7}}}.jpg|200px]] [[File:{{{8}}}.jpg|200px]] [[File:{{{9}}}.jpg|200px]] [[File:{{{10}}}.jpg|200px]]
[[]] [[]] [[]] [[]] [[]]

Using imgwidth parameter

{{Kingdom
|imgwidth = 125

|card1 = Island
|cost1 = 2

|card2 = Secret Chamber
|cost2 = 2

|card3 = Shanty Town
|cost3 = 3

|card4 = Baron
|cost4 = 4

|card5 = Bridge
|cost5 = 4

|card6 = Ironworks
|cost6 = 4

|card7 = Moneylender
|cost7 = 4

|card8 = Remake
|cost8 = 4

|card9 = Possession
|cost9 = 6P

|card10 = Peddler
|cost10 = 8*
}}
[images]
[[]] [[]] [[]] [[]] [[]]
[[File:{{{1}}}.jpg|125px]] [[File:{{{2}}}.jpg|125px]] [[File:{{{3}}}.jpg|125px]] [[File:{{{4}}}.jpg|125px]] [[File:{{{5}}}.jpg|125px]]
[[File:{{{6}}}.jpg|125px]] [[File:{{{7}}}.jpg|125px]] [[File:{{{8}}}.jpg|125px]] [[File:{{{9}}}.jpg|125px]] [[File:{{{10}}}.jpg|125px]]
[[]] [[]] [[]] [[]] [[]]
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Toolbox