|
|
Line 1: |
Line 1: |
| {{#ifeq: {{{1|}}}|no | <!-- Do nothing if first parameter is "no" --> | | {{#ifeq:{{{r}}}|no|{{#if:{{{r2|}}}| |- | rowspan="1" colspan="1" class="plinkt-image" | [[File:{{{name}}}.png|link=]] ||rowspan="1" colspan="1" class="plinkt-link" | {{{name}}} | {{#ifeq:{{{r}}}|yes|style="background-color: #ff6262;"|{{#ifeq:{{{r2}}}|yes|style="background-color: #ff863c;"|{{#ifeq:{{{r3}}}|yes|style="background-color: #ff863c;"|}}}}}} |
| {{#if: {{{2|}}} <!-- Check if second parameter is provided --> | |
| | <!-- If second parameter is provided, start generating row --> | |
| |- | |
| | {{plinkt|{{{1}}}}} <!-- Item name, linked to its page --> | |
| | {{{2|}}} <!-- Quantity -->
| |
| {{#ifeq: {{{3|}}}|yes | style="background-color: #ff6262;" | <!-- Drop Rate 1 (red) -->
| |
| {{#ifeq: {{{4|}}}|yes | style="background-color: #ff863c;" | <!-- Drop Rate 2 (orange) -->
| |
| {{#ifeq: {{{5|}}}|yes | style="background-color: #ff863c;" | <!-- Drop Rate 3 (orange) -->
| |
| {{#ifeq: {{{6|}}}|yes | style="background-color: #ff863c;" | <!-- Drop Rate 4 (orange) --> | |
| {{#ifeq: {{{7|}}}|yes | style="background-color: #ff863c;" | <!-- Drop Rate 5 (orange) --> | |
| {{#ifeq: {{{8|}}}|yes | style="background-color: #ff863c;" | <!-- Drop Rate 6 (orange) --> | |
| {{#ifeq: {{{9|}}}|yes | style="background-color: #ff863c;" | <!-- Drop Rate 7 (orange) --> | |
| | <!-- Default style for other drop rates -->
| |
| }}}}
| |
| {{#ifeq: {{{3|}}}|yes | <center>1/1024</center> | <!-- Drop Rate 1 -->
| |
| {{#ifeq: {{{4|}}}|yes | <center>1/870</center> | <!-- Drop Rate 2 -->
| |
| {{#ifeq: {{{5|}}}|yes | <center>1/778</center> | <!-- Drop Rate 3 -->
| |
| {{#ifeq: {{{6|}}}|yes | <center>1/716</center> | <!-- Drop Rate 4 -->
| |
| {{#ifeq: {{{7|}}}|yes | <center>1/665</center> | <!-- Drop Rate 5 -->
| |
| {{#ifeq: {{{8|}}}|yes | <center>1/614</center> | <!-- Drop Rate 6 -->
| |
| {{#ifeq: {{{9|}}}|yes | <center>1/588</center> | <!-- Drop Rate 7 -->
| |
| }}}}
| |
| | {{Price|{{{1|}}}}} <!-- Price template to display the price -->
| |
| }}}}}}}}}}}}
| |