No edit summary |
mNo edit summary |
||
(37 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | Captioned box containing item icons, links and custom text (presumably reagent / vendor lists). Maximum 30 items per box. |
||
− | |||
− | Use: |
||
− | :<nowiki>{{</nowiki>'''User:Gourra/Reagentbox'''{{t/piece|caption}}{{t/piece|item<sup>n</sup>}}{{t/piece|q<sup>n</sup>}}{{t/piece|c<sup>n</sup>}}{{t/piece|...}}{{t/piece|item30}}{{t/piece|q30}}{{t/piece|c30}}<nowiki>}}</nowiki> |
||
− | :;item<sup>n</sup>:Item number <sup>n</sup>. Icon and quality is shown automatically. |
||
− | :;q<sup>n</sup>:Quantity of item <sup>n</sup>. Defaults to 1x. |
||
− | :;c<sup>n</sup>:Cost of item <sup>n</sup>. Defaults to show nothing. |
||
− | Example: |
||
− | :See [[User talk:Gourra/Reagentbox|{{Discussiontab}}]] |
||
− | |||
− | Template: |
||
<includeonly><onlyinclude>{| class="darktable" cellpadding="2" cellspacing="1" |
<includeonly><onlyinclude>{| class="darktable" cellpadding="2" cellspacing="1" |
||
− | |+ |
+ | |+ {{{caption|{{{1|Relevant items}}}}}} |
+ | {{#if:{{{item1|{{{2|}}}}}}|{{!}}- |
||
− | {{{{#if:{{{item1|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item1|}}}|qo={{{q1|}}}|co={{{c1|}}}|itemt={{{item2|}}}|qt={{{q2|}}}|ct={{{c2|}}}}} {{{{#if:{{{item3|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item3|}}}|qo={{{q3|}}}|co={{{c3|}}}|itemt={{{item4|}}}|qt={{{q4|}}}|ct={{{c4|}}}}} {{{{#if:{{{item5|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item5|}}}|qo={{{q5|}}}|co={{{c5|}}}|itemt={{{item6|}}}|qt={{{q6|}}}|ct={{{c6|}}}}} {{{{#if:{{{item7|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item7|}}}|qo={{{q7|}}}|co={{{c7|}}}|itemt={{{item8|}}}|qt={{{q8|}}}|ct={{{c8|}}}}} {{{{#if:{{{item9|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item9|}}}|qo={{{q9|}}}|co={{{c9|}}}|itemt={{{item10|}}}|qt={{{q10|}}}|ct={{{c10|}}}}} {{{{#if:{{{item11|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item11|}}}|qo={{{q11|}}}|co={{{c11|}}}|itemt={{{item12|}}}|qt={{{q12|}}}|ct={{{c12|}}}}} {{{{#if:{{{item13|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item13|}}}|qo={{{q13|}}}|co={{{c13|}}}|itemt={{{item14|}}}|qt={{{q14|}}}|ct={{{c14|}}}}} {{{{#if:{{{item15|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item15|}}}|qo={{{q15|}}}|co={{{c15|}}}|itemt={{{item16|}}}|qt={{{q16|}}}|ct={{{c16|}}}}} {{{{#if:{{{item17|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item17|}}}|qo={{{q17|}}}|co={{{c17|}}}|itemt={{{item18|}}}|qt={{{q18|}}}|ct={{{c18|}}}}} {{{{#if:{{{item19|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item19|}}}|qo={{{q19|}}}|co={{{c19|}}}|itemt={{{item20|}}}|qt={{{q20|}}}|ct={{{c20|}}}}} {{{{#if:{{{item21|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item21|}}}|qo={{{q21|}}}|co={{{c21|}}}|itemt={{{item22|}}}|qt={{{q22|}}}|ct={{{c22|}}}}} {{{{#if:{{{item23|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item23|}}}|qo={{{q23|}}}|co={{{c23|}}}|itemt={{{item24|}}}|qt={{{q24|}}}|ct={{{c24|}}}}} {{{{#if:{{{item25|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item25|}}}|qo={{{q25|}}}|co={{{c25|}}}|itemt={{{item26|}}}|qt={{{q26|}}}|ct={{{c26|}}}}} {{{{#if:{{{item27|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item27|}}}|qo={{{q27|}}}|co={{{c27|}}}|itemt={{{item28|}}}|qt={{{q28|}}}|ct={{{c28|}}}}} {{{{#if:{{{item29|}}}|User:Gourra/Reagentbox/Row|Lootbox/Blank}}|itemo={{{item29|}}}|qo={{{q29|}}}|co={{{c29|}}}|itemt={{{item30|}}}|qt={{{q30|}}}|ct={{{c30|}}}}} |
||
+ | {{#using:{{{item1|{{{2|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item1|{{{2|}}}}}}|{{{q1|{{{q|}}}}}}|{{{c1|}}}}}|quantity={{{q1|{{{q|}}}}}}|cost={{{c1|}}}}}{{!}}width="4em"{{!}} |
||
⚫ | |||
+ | {{#if:{{{item2|{{{3|}}}}}}|{{#using:{{{item2|{{{3|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item2|{{{3|}}}}}}|{{{q2|}}}|{{{c2|}}}}}|quantity={{{q2|}}}|cost={{{c2|}}}}} |
||
− | |||
+ | {{#if:{{{item3|{{{4|}}}}}}|{{!}}- |
||
− | *[[User:Gourra/Reagentbox/Code]] |
||
+ | {{#using:{{{item3|{{{4|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item3|{{{4|}}}}}}|{{{q3|}}}|{{{c3|}}}}}|quantity={{{q3|}}}|cost={{{c3|}}}}}{{!}}width="4em"{{!}} |
||
− | *[[User:Gourra/Reagentbox/Row]]--> |
||
+ | {{#if:{{{item4|{{{5|}}}}}}|{{#using:{{{item4|{{{5|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item4|{{{5|}}}}}}|{{{q4|}}}|{{{c4|}}}}}|quantity={{{q4|}}}|cost={{{c4|}}}}} |
||
+ | {{#if:{{{item5|{{{6|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item5|{{{6|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item5|{{{6|}}}}}}|{{{q5|}}}|{{{c5|}}}}}|quantity={{{q5|}}}|cost={{{c5|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item6|{{{7|}}}}}}|{{#using:{{{item6|{{{7|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item6|{{{7|}}}}}}|{{{q6|}}}|{{{c6|}}}}}|quantity={{{q6|}}}|cost={{{c6|}}}}} |
||
+ | {{#if:{{{item7|{{{8|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item7|{{{8|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item7|{{{8|}}}}}}|{{{q7|}}}|{{{c7|}}}}}|quantity={{{q7|}}}|cost={{{c7|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item8|{{{9|}}}}}}|{{#using:{{{item8|{{{9|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item8|{{{9|}}}}}}|{{{q8|}}}|{{{c8|}}}}}|quantity={{{q8|}}}|cost={{{c8|}}}}} |
||
+ | {{#if:{{{item9|{{{10|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item9|{{{10|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item9|{{{10|}}}}}}|{{{q9|}}}|{{{c9|}}}}}|quantity={{{q9|}}}|cost={{{c9|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item10|{{{11|}}}}}}|{{#using:{{{item10|{{{11|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item10|{{{11|}}}}}}|{{{q10|}}}|{{{c10|}}}}}|quantity={{{q10|}}}|cost={{{c10|}}}}} |
||
+ | {{#if:{{{item11|{{{12|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item11|{{{12|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item11|{{{12|}}}}}}|{{{q11|}}}|{{{c11|}}}}}|quantity={{{q11|}}}|cost={{{c11|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item12|{{{13|}}}}}}|{{#using:{{{item12|{{{13|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item12|{{{13|}}}}}}|{{{q12|}}}|{{{c12|}}}}}|quantity={{{q12|}}}|cost={{{c12|}}}}} |
||
+ | {{#if:{{{item13|{{{14|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item13|{{{14|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item13|{{{14|}}}}}}|{{{q13|}}}|{{{c13|}}}}}|quantity={{{q13|}}}|cost={{{c13|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item14|{{{15|}}}}}}|{{#using:{{{item14|{{{15|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item14|{{{15|}}}}}}|{{{q14|}}}|{{{c14|}}}}}|quantity={{{q14|}}}|cost={{{c14|}}}}} |
||
+ | {{#if:{{{item15|{{{16|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item15|{{{16|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item15|{{{16|}}}}}}|{{{q15|}}}|{{{c15|}}}}}|quantity={{{q15|}}}|cost={{{c15|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item16|{{{17|}}}}}}|{{#using:{{{item16|{{{17|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item16|{{{17|}}}}}}|{{{q16|}}}|{{{c16|}}}}}|quantity={{{q16|}}}|cost={{{c16|}}}}} |
||
+ | {{#if:{{{item17|{{{18|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item17|{{{18|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item17|{{{18|}}}}}}|{{{q17|}}}|{{{c17|}}}}}|quantity={{{q17|}}}|cost={{{c17|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item18|{{{19|}}}}}}|{{#using:{{{item18|{{{19|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item18|{{{19|}}}}}}|{{{q18|}}}|{{{c18|}}}}}|quantity={{{q18|}}}|cost={{{c18|}}}}} |
||
+ | {{#if:{{{item19|{{{20|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item19|{{{20|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item19|{{{20|}}}}}}|{{{q19|}}}|{{{c19|}}}}}|quantity={{{q19|}}}|cost={{{c19|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item20|{{{21|}}}}}}|{{#using:{{{item20|{{{21|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item20|{{{21|}}}}}}|{{{q20|}}}|{{{c20|}}}}}|quantity={{{q20|}}}|cost={{{c20|}}}}} |
||
+ | {{#if:{{{item21|{{{22|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item21|{{{22|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item21|{{{22|}}}}}}|{{{q21|}}}|{{{c21|}}}}}|quantity={{{q21|}}}|cost={{{c21|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item22|{{{23|}}}}}}|{{#using:{{{item22|{{{23|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item22|{{{23|}}}}}}|{{{q22|}}}|{{{c22|}}}}}|quantity={{{q22|}}}|cost={{{c22|}}}}} |
||
+ | {{#if:{{{item23|{{{24|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item23|{{{24|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item23|{{{24|}}}}}}|{{{q23|}}}|{{{c23|}}}}}|quantity={{{q23|}}}|cost={{{c23|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item24|{{{25|}}}}}}|{{#using:{{{item24|{{{25|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item24|{{{25|}}}}}}|{{{q24|}}}|{{{c24|}}}}}|quantity={{{q24|}}}|cost={{{c24|}}}}} |
||
+ | {{#if:{{{item25|{{{26|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item25|{{{26|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item25|{{{26|}}}}}}|{{{q25|}}}|{{{c25|}}}}}|quantity={{{q25|}}}|cost={{{c25|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item26|{{{27|}}}}}}|{{#using:{{{item26|{{{27|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item26|{{{27|}}}}}}|{{{q26|}}}|{{{c26|}}}}}|quantity={{{q26|}}}|cost={{{c26|}}}}} |
||
+ | {{#if:{{{item27|{{{28|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item27|{{{28|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item27|{{{28|}}}}}}|{{{q27|}}}|{{{c27|}}}}}|quantity={{{q27|}}}|cost={{{c27|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item28|{{{29|}}}}}}|{{#using:{{{item28|{{{29|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item28|{{{29|}}}}}}|{{{q28|}}}|{{{c28|}}}}}|quantity={{{q28|}}}|cost={{{c28|}}}}} |
||
+ | {{#if:{{{item29|{{{30|}}}}}}|{{!}}- |
||
+ | {{#using:{{{item29|{{{30|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item29|{{{30|}}}}}}|{{{q29|}}}|{{{c29|}}}}}|quantity={{{q29|}}}|cost={{{c29|}}}}}{{!}}width="4em"{{!}} |
||
+ | {{#if:{{{item30|{{{31|}}}}}}|{{#using:{{{item30|{{{31|}}}}}}|Itembox/entry|{{Itembox/fallback|{{{item30|{{{31|}}}}}}|{{{q30|}}}|{{{c30|}}}}}|quantity={{{q30|}}}|cost={{{c30|}}}}} |
||
+ | }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}<!-- These are your father's curly brackets --> |
||
⚫ |
Latest revision as of 21:12, 29 December 2018
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:
- {{Itembox|<caption=>|<itemn=>|<qn=>|<cn=>|<...>|<item30=>|<q30=>|<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.
- cn=
- Cost of item n. Use together with {{cost}}. Defaults to show nothing.
Examples
Common uses
{{itembox|caption=Requires Enchanting (275) and |item1=Adamantite Rod|q1=1 |item2=Greater Planar Essence|q2=8 |item3=Adamantite Rod|q3=1}}
1x [Adamantite Rod] | 8x [Greater Planar Essence] | |||
1x [Adamantite Rod] |
{{itembox|caption=Vendor sells this stuff: |item1=Adamantite Rod|c1={{cost|5}} |item2=Greater Planar Essence|c2={{cost||50}}}}
[Adamantite Rod] 5 |
[Greater Planar Essence] 50 |
{{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}}
[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] |
{{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}}}}
[Talador Sentinel Gauntlets] |
[Sha'tari Keeper Gauntlets] | |||
[Auchenai Keeper Handwraps] |
[Sha'tari Deadeye Mitts] |
{{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}} }}
{{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:
[Snowfall Lager] 2 |
[Drakefire Chile Ale] 2 | |||
[Airy Pale Ale] 10 |
[Worg Tooth Oatmeal Stout] 10 | |||
[Iron Boot Flask] 10 |