Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 10: Line 10:
         <data source="Rarity"><label>Rarity:</label><format> {{#ifeq: {{{Rarity}}} | C | [[Category:Common]][[:Category:Common|Common]] |}}{{#ifeq: {{{Rarity}}} | U | [[Category:Uncommon]][[:Category:Uncommon|Uncommon]] |}}{{#ifeq: {{{Rarity}}} | R | [[Category:Rare]][[:Category:Rare|Rare]] |}}{{#ifeq: {{{Rarity}}} | E | [[Category:Epic]][[:Category:Epic|Epic]] |}}{{#ifeq: {{{Rarity}}} | L | [[Category:Legendary]][[:Category:Legendary|Legendary]] |}}</format></data>
         <data source="Rarity"><label>Rarity:</label><format> {{#ifeq: {{{Rarity}}} | C | [[Category:Common]][[:Category:Common|Common]] |}}{{#ifeq: {{{Rarity}}} | U | [[Category:Uncommon]][[:Category:Uncommon|Uncommon]] |}}{{#ifeq: {{{Rarity}}} | R | [[Category:Rare]][[:Category:Rare|Rare]] |}}{{#ifeq: {{{Rarity}}} | E | [[Category:Epic]][[:Category:Epic|Epic]] |}}{{#ifeq: {{{Rarity}}} | L | [[Category:Legendary]][[:Category:Legendary|Legendary]] |}}</format></data>
         <data source="Hand"><label>Handling:</label><format>{{#ifeq: {{{Hand}}} | 1 | {{#replaceset:{{{Hand|}}}|/(\w+)/i=[[Category:One-Handed]][[:Category:One-Handed|One-Handed]]}} |}}{{#ifeq: {{{Hand}}} | 2 | {{#replaceset:{{{Hand|}}}|/(\w+)/i=[[Category:Two-Handed]][[:Category:Two-Handed|Two-Handed]]}} |}}</format></data>
         <data source="Hand"><label>Handling:</label><format>{{#ifeq: {{{Hand}}} | 1 | {{#replaceset:{{{Hand|}}}|/(\w+)/i=[[Category:One-Handed]][[:Category:One-Handed|One-Handed]]}} |}}{{#ifeq: {{{Hand}}} | 2 | {{#replaceset:{{{Hand|}}}|/(\w+)/i=[[Category:Two-Handed]][[:Category:Two-Handed|Two-Handed]]}} |}}</format></data>
         <data source="DMG-min"><label><p  style="margin-top:35px">DMG</p></label><format><p><b>{{{DMG-min}}}-{{{DMG-max}}} (+0)</b><br>{{#switch: {{{Rarity}}} | C = {{#expr:{{{DMG-min|}}} * 1.16}}-{{#expr:{{{DMG-max|}}} * 1.16}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.32}}-{{#expr:{{{DMG-max|}}} * 1.32}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.48}}-{{#expr:{{{DMG-max|}}} * 1.48}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.64}}-{{#expr:{{{DMG-max|}}} * 1.64}} (+4) | U = {{#expr:{{{DMG-min|}}} * 1.13}}-{{#expr:{{{DMG-max|}}} * 1.13}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.26}}-{{#expr:{{{DMG-max|}}} * 1.26}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.39}}-{{#expr:{{{DMG-max|}}} * 1.39}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.52}}-{{#expr:{{{DMG-max|}}} * 1.52}} (+4) |  R = {{#expr:{{{DMG-min|}}} * 1.10}}-{{#expr:{{{DMG-max|}}} * 1.10}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.20}}-{{#expr:{{{DMG-max|}}} * 1.20}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.30}}-{{#expr:{{{DMG-max|}}} * 1.30}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.40}}-{{#expr:{{{DMG-max|}}} * 1.40}} (+4) |  E = {{#expr:{{{DMG-min|}}} * 1.07}}-{{#expr:{{{DMG-max|}}} * 1.07}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.14}}-{{#expr:{{{DMG-max|}}} * 1.14}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.21}}-{{#expr:{{{DMG-max|}}} * 1.21}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.28}}-{{#expr:{{{DMG-max|}}} * 1.28}} (+4) |  L = {{#expr:{{{DMG-min|}}} * 1.06}}-{{#expr:{{{DMG-max|}}} * 1.06}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.12}}-{{#expr:{{{DMG-max|}}} * 1.12}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.18}}-{{#expr:{{{DMG-max|}}} * 1.18}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.24}}-{{#expr:{{{DMG-max|}}} * 1.24}} (+4) |  ???}}</p></format></data>
         <data source="DMG-min"><label><p  style="margin-top:35px">DMG:</p></label><format><p><b>{{{DMG-min}}}-{{{DMG-max}}} (+0)</b><br>{{#switch: {{{Rarity}}} | C = {{#expr:{{{DMG-min|}}} * 1.16}}-{{#expr:{{{DMG-max|}}} * 1.16}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.32}}-{{#expr:{{{DMG-max|}}} * 1.32}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.48}}-{{#expr:{{{DMG-max|}}} * 1.48}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.64}}-{{#expr:{{{DMG-max|}}} * 1.64}} (+4) | U = {{#expr:{{{DMG-min|}}} * 1.13}}-{{#expr:{{{DMG-max|}}} * 1.13}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.26}}-{{#expr:{{{DMG-max|}}} * 1.26}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.39}}-{{#expr:{{{DMG-max|}}} * 1.39}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.52}}-{{#expr:{{{DMG-max|}}} * 1.52}} (+4) |  R = {{#expr:{{{DMG-min|}}} * 1.10}}-{{#expr:{{{DMG-max|}}} * 1.10}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.20}}-{{#expr:{{{DMG-max|}}} * 1.20}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.30}}-{{#expr:{{{DMG-max|}}} * 1.30}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.40}}-{{#expr:{{{DMG-max|}}} * 1.40}} (+4) |  E = {{#expr:{{{DMG-min|}}} * 1.07}}-{{#expr:{{{DMG-max|}}} * 1.07}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.14}}-{{#expr:{{{DMG-max|}}} * 1.14}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.21}}-{{#expr:{{{DMG-max|}}} * 1.21}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.28}}-{{#expr:{{{DMG-max|}}} * 1.28}} (+4) |  L = {{#expr:{{{DMG-min|}}} * 1.06}}-{{#expr:{{{DMG-max|}}} * 1.06}} (+1) <br> {{#expr:{{{DMG-min|}}} * 1.12}}-{{#expr:{{{DMG-max|}}} * 1.12}} (+2) <br> {{#expr:{{{DMG-min|}}} * 1.18}}-{{#expr:{{{DMG-max|}}} * 1.18}} (+3) <br>  {{#expr:{{{DMG-min|}}} * 1.24}}-{{#expr:{{{DMG-max|}}} * 1.24}} (+4) |  ???}}</p></format></data>
         <data source="APS"><label>APS:</label></data>
         <data source="APS"><label>APS:</label></data>
<data source="Capacity"><label>Capacity:</label></data>
<data source="Capacity"><label>Capacity:</label></data>

Revision as of 15:07, 4 April 2023