Template:Loot Pool: Difference between revisions

From HorizonXI Wiki
mNo edit summary
(renamed parameter drop to rate; display no rate if none given (e.g. for "all of" tables))
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<onlyinclude><includeonly>
<onlyinclude><includeonly>{{#ifeq:{{lc:{{{doc|}}}}}|false||
{{Preview Only Infobox|
{{Preview Only Infobox|
* Please use [[Template:Hxi Drop Rate]] for the drop 1 - 16 parameters of [[Template:Loot Pool]].  
* Please use [[Template:Hxi Drop Rate]] for the rate 1 - 16 parameters of [[Template:Loot Pool]].  
:Syntax:
:Syntax:
:<pre>{{Hxi Drop Rate|asb=|total drops|total kills}}</pre>
:<pre>{{Hxi Drop Rate|asb=|total drops|total kills}}</pre>
:or for a known fixed drop rate:
:or for a known fixed drop rate:
:<pre>{{Hxi Drop Rate|100%}}</pre>
:<pre>{{Hxi Drop Rate|100%}}</pre>
* to indicate a Horizon change, please add <nowiki>{{changes}}</nowiki> in the ''drop'' parameter of the item after the [[Template:Hxi Drop Rate]]. This allows for a comment on the change which displays on hover with the syntax <nowiki>{{changes|optional text}}</nowiki>.  
* to indicate a Horizon change, please add <nowiki>{{changes}}</nowiki> in the ''rate'' parameter of the item after the [[Template:Hxi Drop Rate]]. This allows for a comment on the change which displays on hover with the syntax <nowiki>{{changes|optional text}}</nowiki>.  
}}
}}}}
{| class="horizon-table droppedby center-col-1"
{| class="horizon-table droppedby center-col-1 table-xs"
! {{#ifeq:{{lc:{{{one or all}}}}}|all|All of|One of}}
! {{#ifeq:{{lc:{{{one or all}}}}}|all|All of|One of}}
|- {{#if:{{{item 1|}}}||style="display: none;"}}
|- {{#if:{{{item 1|}}}||style="display: none;"}}
| [[{{{item 1}}}]] {{{drop 1}}}
| [[{{{item 1}}}]] {{{rate 1|}}}
|- {{#if:{{{item 2|}}}||style="display: none;"}}
|- {{#if:{{{item 2|}}}||style="display: none;"}}
| [[{{{item 2}}}]] {{{drop 2}}}
| [[{{{item 2}}}]] {{{rate 2|}}}
|- {{#if:{{{item 3|}}}||style="display: none;"}}
|- {{#if:{{{item 3|}}}||style="display: none;"}}
| [[{{{item 3}}}]] {{{drop 3}}}
| [[{{{item 3}}}]] {{{rate 3|}}}
|- {{#if:{{{item 4|}}}||style="display: none;"}}
|- {{#if:{{{item 4|}}}||style="display: none;"}}
| [[{{{item 4}}}]] {{{drop 4}}}
| [[{{{item 4}}}]] {{{rate 4|}}}
|- {{#if:{{{item 5|}}}||style="display: none;"}}
|- {{#if:{{{item 5|}}}||style="display: none;"}}
| [[{{{item 5}}}]] {{{drop 5}}}
| [[{{{item 5}}}]] {{{rate 5|}}}
|- {{#if:{{{item 6|}}}||style="display: none;"}}
|- {{#if:{{{item 6|}}}||style="display: none;"}}
| [[{{{item 6}}}]] {{{drop 6}}}
| [[{{{item 6}}}]] {{{rate 6|}}}
|- {{#if:{{{item 7|}}}||style="display: none;"}}
|- {{#if:{{{item 7|}}}||style="display: none;"}}
| [[{{{item 7}}}]] {{{drop 7}}}
| [[{{{item 7}}}]] {{{rate 7|}}}
|- {{#if:{{{item 8|}}}||style="display: none;"}}
|- {{#if:{{{item 8|}}}||style="display: none;"}}
| [[{{{item 8}}}]] {{{drop 8}}}
| [[{{{item 8}}}]] {{{rate 8|}}}
|- {{#if:{{{item 9|}}}||style="display: none;"}}
|- {{#if:{{{item 9|}}}||style="display: none;"}}
| [[{{{item 9}}}]] {{{drop 9}}}
| [[{{{item 9}}}]] {{{rate 9|}}}
|- {{#if:{{{item 10|}}}||style="display: none;"}}
|- {{#if:{{{item 10|}}}||style="display: none;"}}
| [[{{{item 10}}}]] {{{drop 10}}}
| [[{{{item 10}}}]] {{{rate 10|}}}
|- {{#if:{{{item 11|}}}||style="display: none;"}}
|- {{#if:{{{item 11|}}}||style="display: none;"}}
| [[{{{item 11}}}]] {{{drop 11}}}
| [[{{{item 11}}}]] {{{rate 11|}}}
|- {{#if:{{{item 12|}}}||style="display: none;"}}
|- {{#if:{{{item 12|}}}||style="display: none;"}}
| [[{{{item 12}}}]] {{{drop 12}}}
| [[{{{item 12}}}]] {{{rate 12|}}}
|- {{#if:{{{item 13|}}}||style="display: none;"}}
|- {{#if:{{{item 13|}}}||style="display: none;"}}
| [[{{{item 13}}}]] {{{drop 13}}}
| [[{{{item 13}}}]] {{{rate 13|}}}
|- {{#if:{{{item 14|}}}||style="display: none;"}}
|- {{#if:{{{item 14|}}}||style="display: none;"}}
| [[{{{item 14}}}]] {{{drop 14}}}
| [[{{{item 14}}}]] {{{rate 14|}}}
|- {{#if:{{{item 15|}}}||style="display: none;"}}
|- {{#if:{{{item 15|}}}||style="display: none;"}}
| [[{{{item 15}}}]] {{{drop 15}}}
| [[{{{item 15}}}]] {{{rate 15|}}}
|- {{#if:{{{item 16|}}}||style="display: none;"}}
|- {{#if:{{{item 16|}}}||style="display: none;"}}
| [[{{{item 16}}}]] {{{drop 16}}}
| [[{{{item 16}}}]] {{{rate 16|}}}
|- {{#if:{{{drop nothing|}}}||style="display: none;"}}
|- {{#if:{{{rate nothing|}}}||style="display: none;"}}
| Nothing {{Hxi Drop Rate|{{{drop nothing|0}}}%}}
| Nothing {{Hxi Drop Rate|{{{rate nothing|0}}}%}}
|}</includeonly></onlyinclude>
|}</includeonly></onlyinclude>
==Usage==
==Usage==
Line 52: Line 52:
| one or all = one
| one or all = one
| item 1 = Black Rock
| item 1 = Black Rock
| drop 1 = {{Hxi Drop Rate|asb=100/1000}}
| rate 1 = {{Hxi Drop Rate|asb=100/1000}}
| item 2 = Insect Wing
| item 2 = Insect Wing
| drop 2 = {{Hxi Drop Rate|asb=300/1000}}
| rate 2 = {{Hxi Drop Rate|asb=300/1000}}
| item 3 = Beetle Jaw
| item 3 = Beetle Jaw
| drop 3 = {{Hxi Drop Rate|asb=200/1000}}
| rate 3 = {{Hxi Drop Rate|asb=200/1000}}
| drop nothing = 20
| rate nothing = 20
}}
}}
</pre>
</pre>


{{Loot Pool
{{Loot Pool|doc=false
| one or all = one
| one or all = one
| item 1 = Black Rock
| item 1 = Black Rock
| drop 1 = {{Hxi Drop Rate|asb=100/1000}}
| rate 1 = {{Hxi Drop Rate|asb=100/1000}}
| item 2 = Insect Wing
| item 2 = Insect Wing
| drop 2 = {{Hxi Drop Rate|asb=300/1000}}
| rate 2 = {{Hxi Drop Rate|asb=300/1000}}
| item 3 = Beetle Jaw
| item 3 = Beetle Jaw
| drop 3 = {{Hxi Drop Rate|asb=200/1000}}
<!--| rate 3 = {{Hxi Drop Rate|asb=200/1000}}-->
| drop nothing = 20
| rate nothing = 20
}}
}}

Latest revision as of 13:00, 9 March 2024

Usage

Examples

{{Loot Pool
| one or all = one
| item 1 = Black Rock
| rate 1 = {{Hxi Drop Rate|asb=100/1000}}
| item 2 = Insect Wing
| rate 2 = {{Hxi Drop Rate|asb=300/1000}}
| item 3 = Beetle Jaw
| rate 3 = {{Hxi Drop Rate|asb=200/1000}}
| rate nothing = 20
}}


One of
Black Rock (10%)
Insect Wing (30%)
Beetle Jaw
[[{{{item 4}}}]]
[[{{{item 5}}}]]
[[{{{item 6}}}]]
[[{{{item 7}}}]]
[[{{{item 8}}}]]
[[{{{item 9}}}]]
[[{{{item 10}}}]]
[[{{{item 11}}}]]
[[{{{item 12}}}]]
[[{{{item 13}}}]]
[[{{{item 14}}}]]
[[{{{item 15}}}]]
[[{{{item 16}}}]]
Nothing (20%)