Template:ItemListTable

From DemonCrawl Wiki
Jump to navigation Jump to search
Item Cost
Holy Water 19 coins
Justice Juice 20 coins

This is a template for a Table with a specific list of items, sorted by category (if displayed), cost (if displayed), then name.

Use

{{ItemListTable|Category=1|Description=1|Cost=1
{{IL|Item1}}
{{IL|Item2}}
{{IL|Item3}}
}}
  • Category optional parameter, set to "=1" show Category column, default is off
  • Description optional parameter, to "=1" show Description column, default is off
  • Cost optional parameter, set to "=0" hide Cost column, default is on

Example 1

{{ItemListTable|Category=1|
{{IL|Holy Water}}
{{IL|Justice Juice}}
}}

Result

Item Category Cost
Holy Water Magic 19 coins
Justice Juice Passive 20 coins


Example 2

{{ItemListTable|
{{IL|Holy Water}}
{{IL|Justice Juice}}
{{IL|Juice}}
}}

Result

Item Cost
Holy Water 19 coins
Juice 9 coins
Justice Juice 20 coins


Example 3

{{ItemListTable|Description=1|Cost=0|
{{IL|Deck of Cards}}
{{IL|Wildcard}}
{{IL|The Joker}}
}}

Result

Item Description
Deck of Cards [200 Mana] Gain a random card item that you don't already have.
The Joker If you use an item to target visible cells with a sum of 13 or greater, you lose.
Wildcard Randomize your card items, including this one.


Example 4

{{ItemListTable|Description=1|Cost=1|
{{IL|Deck of Cards}}
{{IL|Wildcard}}
{{IL|The Joker}}
}}

Result

Item Description Cost
Deck of Cards [200 Mana] Gain a random card item that you don't already have. 25 coins
The Joker If you use an item to target visible cells with a sum of 13 or greater, you lose. 0 coins
Wildcard Randomize your card items, including this one. 14 coins


Example 5

{{ItemListTable|Category=1|Description=1|Cost=1|
{{IL|Deck of Cards}}
{{IL|Wildcard}}
{{IL|The Joker}}
}}

Result

Item Description Category Cost
Wildcard Randomize your card items, including this one. Consumable 14 coins
Deck of Cards [200 Mana] Gain a random card item that you don't already have. Magic 25 coins
The Joker If you use an item to target visible cells with a sum of 13 or greater, you lose. Omen 0 coins


Depends On