User:DJScias/Sandbox/Itembox

From Warcraft Wiki
Jump to navigation Jump to search

Captioned box containing item icons, links, quantity and cost (ideal for ingredient / reagent / vendor lists and quest rewards (limited to 8 items)). Maximum 30 items per box.

Use:

{{User:DJScias/Sandbox/Itembox|<caption=>|<itemn=>|<qn=>|<lqn=>|<sn=>|<cn=>|<...>|<item30=>|<q30=>|<lq30=>|<s30=>|<c30=>}}
caption=
(optional) Caption of the item box.
itemn=
Item number n. Icon and quality is shown automatically.
qn=
Quantity of item n. Defaults to show nothing.
lqn=
Limited quantity of item n for vendor. Defaults to show nothing.
sn=
Stack size of item n for vendor. Defaults to show nothing.
cn=
Cost of item n. Use together with {{cost}}. Defaults to show nothing.

Examples

Common uses

{{User:DJScias/Sandbox/Itembox|caption=Requires Enchanting (275) and
|item1=Adamantite Rod|q1=1
|item2=Greater Planar Essence|q2=8
|item3=Adamantite Rod|q3=1}}
Requires Enchanting (275) and
Inv rod adamantite.png 1x [Adamantite Rod] Inv enchant essencearcanelarge.png 8x [Greater Planar Essence]
Inv rod adamantite.png 1x [Adamantite Rod]

{{User:DJScias/Sandbox/Itembox|caption=Vendor sells this stuff:
|item1=Adamantite Rod|c1={{cost|5}}
|item2=Greater Planar Essence|c2={{cost||50}}}}
Vendor sells this stuff:
Inv rod adamantite.png [Adamantite Rod]
5g
Inv enchant essencearcanelarge.png [Greater Planar Essence]
50s

{{User:DJScias/Sandbox/Itembox|You will be able to choose one of these rewards:
|Borean Smasher
|Axe of Frozen Death
|Staff of the Purposeful Mendicant
|Fury of the Raging Dragon
|Fang of the Desolate Soul
|Tower of the Infinite Mind}}
You will be able to choose one of these rewards:
Inv weapon hand 18.png [Borean Smasher] Inv axe 83.png [Axe of Frozen Death]
Inv staff 50.png [Staff of the Purposeful Mendicant] Inv weapon rifle 27.png [Fury of the Raging Dragon]
Inv weapon shortblade 67.png [Fang of the Desolate Soul] Inv staff 50.png [Tower of the Infinite Mind]
{{User:DJScias/Sandbox/Itembox|You will receive one of these rewards:
|Talador Sentinel Gauntlets|c1={{ClassIcon|Druid}}{{ClassIcon|Monk}}{{ClassIcon|Rogue}}
|Sha'tari Keeper Gauntlets|c2={{ClassIcon|Death knight}}{{ClassIcon|Paladin}}{{ClassIcon|Warrior}}
|Auchenai Keeper Handwraps|c3={{ClassIcon|Mage}}{{ClassIcon|Priest}}{{ClassIcon|Warlock}}
|Sha'tari Deadeye Mitts|c4={{ClassIcon|Hunter}}{{ClassIcon|Shaman}}}}
You will receive one of these rewards:
Inv glove leather draenorquest90 b 01.png [Talador Sentinel Gauntlets]
DruidMonkRogue
Inv plate draenorquest90 b 01glove.png [Sha'tari Keeper Gauntlets]
Death knightPaladinWarrior
Inv glove cloth draenorquest90 b 01.png [Auchenai Keeper Handwraps]
MagePriestWarlock
Inv mail draenorquest90 b 01glove.png [Sha'tari Deadeye Mitts]
HunterShaman

{{User:DJScias/Sandbox/Itembox|Limited Quantity
|Pattern: Green Whelp Bracers|c1={{Cost||22|40}}|lq1=1
}}
Limited Quantity
Inv scroll 03.png (1) [Pattern: Green Whelp Bracers]
22s 40c

{{User:DJScias/Sandbox/Itembox|Stack Size
|Pattern: Green Whelp Bracers|c1={{Cost||22|40}}|s1=5
}}
Stack Size
Inv scroll 03.png 5x [Pattern: Green Whelp Bracers]
22s 40c

{{User:DJScias/Sandbox/Itembox|Limited Quantity + Stack Size
|Pattern: Green Whelp Bracers|c1={{Cost||22|40}}|lq1=1|s1=5
}}
Limited Quantity + Stack Size
Inv scroll 03.png (1) 5x [Pattern: Green Whelp Bracers]
22s 40c

No caption

{{User:DJScias/Sandbox/Itembox|caption=
|item1=Snowfall Lager|c1={{costitem|2|Relic of Ulduar}}
|item2=Drakefire Chile Ale|c2={{costitem|2|Relic of Ulduar}}
|item3=Airy Pale Ale|c3={{costitem|10|Relic of Ulduar}}
|item4=Worg Tooth Oatmeal Stout|c4={{costitem|10|Relic of Ulduar}}
|item5=Iron Boot Flask|c5={{costitem|10|Relic of Ulduar}}
}}
{{User:DJScias/Sandbox/Itembox|
|item1=Snowfall Lager|c1={{costitem|2|Relic of Ulduar}}
|item2=Drakefire Chile Ale|c2={{costitem|2|Relic of Ulduar}}
|item3=Airy Pale Ale|c3={{costitem|10|Relic of Ulduar}}
|item4=Worg Tooth Oatmeal Stout|c4={{costitem|10|Relic of Ulduar}}
|item5=Iron Boot Flask|c5={{costitem|10|Relic of Ulduar}}
}}

...will both result in:

Inv drink 05.png [Snowfall Lager]
2 Relic of Ulduar
Inv drink 03.png [Drakefire Chile Ale]
2 Relic of Ulduar
Inv drink 08.png [Airy Pale Ale]
10 Relic of Ulduar
Inv drink 13.png [Worg Tooth Oatmeal Stout]
10 Relic of Ulduar
Inv drink 01.png [Iron Boot Flask]
10 Relic of Ulduar

Fallback

{{User:DJScias/Sandbox/Itembox|
|Non-existing Item|c1={{Cost||22|40}}|q1=1
}}
Inv misc questionmark.png 1x Non-existing Item
22s 40c
{{User:DJScias/Sandbox/Itembox|
|Non-existing Item|c1={{Cost||22|40}}|lq1=2
}}
Inv misc questionmark.png (2) Non-existing Item
22s 40c
{{User:DJScias/Sandbox/Itembox|
|Non-existing Item|c1={{Cost||22|40}}|s1=5
}}
Inv misc questionmark.png 5x Non-existing Item
22s 40c
{{User:DJScias/Sandbox/Itembox|
|Non-existing Item|c1={{Cost||22|40}}|q1=1|lq1=2|s1=5
}}
Inv misc questionmark.png 1x (2) 5x Non-existing Item
22s 40c