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 | * 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 '' | * 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}}}]] {{{ | | [[{{{item 1}}}]] {{{rate 1|}}} | ||
|- {{#if:{{{item 2|}}}||style="display: none;"}} | |- {{#if:{{{item 2|}}}||style="display: none;"}} | ||
| [[{{{item 2}}}]] {{{ | | [[{{{item 2}}}]] {{{rate 2|}}} | ||
|- {{#if:{{{item 3|}}}||style="display: none;"}} | |- {{#if:{{{item 3|}}}||style="display: none;"}} | ||
| [[{{{item 3}}}]] {{{ | | [[{{{item 3}}}]] {{{rate 3|}}} | ||
|- {{#if:{{{item 4|}}}||style="display: none;"}} | |- {{#if:{{{item 4|}}}||style="display: none;"}} | ||
| [[{{{item 4}}}]] {{{ | | [[{{{item 4}}}]] {{{rate 4|}}} | ||
|- {{#if:{{{item 5|}}}||style="display: none;"}} | |- {{#if:{{{item 5|}}}||style="display: none;"}} | ||
| [[{{{item 5}}}]] {{{ | | [[{{{item 5}}}]] {{{rate 5|}}} | ||
|- {{#if:{{{item 6|}}}||style="display: none;"}} | |- {{#if:{{{item 6|}}}||style="display: none;"}} | ||
| [[{{{item 6}}}]] {{{ | | [[{{{item 6}}}]] {{{rate 6|}}} | ||
|- {{#if:{{{item 7|}}}||style="display: none;"}} | |- {{#if:{{{item 7|}}}||style="display: none;"}} | ||
| [[{{{item 7}}}]] {{{ | | [[{{{item 7}}}]] {{{rate 7|}}} | ||
|- {{#if:{{{item 8|}}}||style="display: none;"}} | |- {{#if:{{{item 8|}}}||style="display: none;"}} | ||
| [[{{{item 8}}}]] {{{ | | [[{{{item 8}}}]] {{{rate 8|}}} | ||
|- {{#if:{{{item 9|}}}||style="display: none;"}} | |- {{#if:{{{item 9|}}}||style="display: none;"}} | ||
| [[{{{item 9}}}]] {{{ | | [[{{{item 9}}}]] {{{rate 9|}}} | ||
|- {{#if:{{{item 10|}}}||style="display: none;"}} | |- {{#if:{{{item 10|}}}||style="display: none;"}} | ||
| [[{{{item 10}}}]] {{{ | | [[{{{item 10}}}]] {{{rate 10|}}} | ||
|- {{#if:{{{item 11|}}}||style="display: none;"}} | |- {{#if:{{{item 11|}}}||style="display: none;"}} | ||
| [[{{{item 11}}}]] {{{ | | [[{{{item 11}}}]] {{{rate 11|}}} | ||
|- {{#if:{{{item 12|}}}||style="display: none;"}} | |- {{#if:{{{item 12|}}}||style="display: none;"}} | ||
| [[{{{item 12}}}]] {{{ | | [[{{{item 12}}}]] {{{rate 12|}}} | ||
|- {{#if:{{{item 13|}}}||style="display: none;"}} | |- {{#if:{{{item 13|}}}||style="display: none;"}} | ||
| [[{{{item 13}}}]] {{{ | | [[{{{item 13}}}]] {{{rate 13|}}} | ||
|- {{#if:{{{item 14|}}}||style="display: none;"}} | |- {{#if:{{{item 14|}}}||style="display: none;"}} | ||
| [[{{{item 14}}}]] {{{ | | [[{{{item 14}}}]] {{{rate 14|}}} | ||
|- {{#if:{{{item 15|}}}||style="display: none;"}} | |- {{#if:{{{item 15|}}}||style="display: none;"}} | ||
| [[{{{item 15}}}]] {{{ | | [[{{{item 15}}}]] {{{rate 15|}}} | ||
|- {{#if:{{{item 16|}}}||style="display: none;"}} | |- {{#if:{{{item 16|}}}||style="display: none;"}} | ||
| [[{{{item 16}}}]] {{{ | | [[{{{item 16}}}]] {{{rate 16|}}} | ||
|- {{#if:{{{ | |- {{#if:{{{rate nothing|}}}||style="display: none;"}} | ||
| Nothing {{Hxi Drop Rate|{{{ | | 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 | ||
| | | rate 1 = {{Hxi Drop Rate|asb=100/1000}} | ||
| item 2 = Insect Wing | | item 2 = Insect Wing | ||
| | | rate 2 = {{Hxi Drop Rate|asb=300/1000}} | ||
| item 3 = Beetle Jaw | | item 3 = Beetle Jaw | ||
| | | rate 3 = {{Hxi Drop Rate|asb=200/1000}} | ||
| | | 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 | ||
| | | rate 1 = {{Hxi Drop Rate|asb=100/1000}} | ||
| item 2 = Insect Wing | | item 2 = Insect Wing | ||
| | | rate 2 = {{Hxi Drop Rate|asb=300/1000}} | ||
| item 3 = Beetle Jaw | | item 3 = Beetle Jaw | ||
| | <!--| rate 3 = {{Hxi Drop Rate|asb=200/1000}}--> | ||
| | | 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 |
Nothing (20%) |