Template:Weapon Infobox: Difference between revisions
From Tiny Rogues Wiki
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
<data source="Weapon_Type"><label>Weapon Type:</label></data> | <data source="Weapon_Type"><label>Weapon Type:</label></data> | ||
<data source="Attack_Type"><label>Attack Type</label></data> | <data source="Attack_Type"><label>Attack Type</label></data> | ||
<data source="Rarity"><label>Rarity:</label><format>{{#ifeq: {{{Rarity}}} | C | | <data source="Rarity"><label>Rarity:</label><format>{{#ifeq: {{{Rarity}}} | C | {{Common}} |}}{{#ifeq: {{{Rarity}}} | U | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | R | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | E | {{Epic}}|}}{{#ifeq: {{{Rarity}}} | L | {{Legendary}}|}}</format></data> | ||
<data source="Hand"><label>Handling:</label><format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{Two-Handed}}|}}</format></data> | <data source="Hand"><label>Handling:</label><format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{Two-Handed}}|}}</format></data> | ||
<data source="DMGmin"><label><p style="margin-top:35px">DMG:</p></label><format><p><b>{{{DMGmin}}}-{{{DMGmax}}} (+0)</b><br>{{#switch: {{{Rarity}}} | C = {{#expr:{{{DMGmin|}}} * 1.16}}-{{#expr:{{{DMGmax|}}} * 1.16}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.32}}-{{#expr:{{{DMGmax|}}} * 1.32}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.48}}-{{#expr:{{{DMGmax|}}} * 1.48}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.64}}-{{#expr:{{{DMGmax|}}} * 1.64}} (+4) | U = {{#expr:{{{DMGmin|}}} * 1.13}}-{{#expr:{{{DMGmax|}}} * 1.13}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.26}}-{{#expr:{{{DMGmax|}}} * 1.26}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.39}}-{{#expr:{{{DMGmax|}}} * 1.39}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.52}}-{{#expr:{{{DMGmax|}}} * 1.52}} (+4) | R = {{#expr:{{{DMGmin|}}} * 1.10}}-{{#expr:{{{DMGmax|}}} * 1.10}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.20}}-{{#expr:{{{DMGmax|}}} * 1.20}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.30}}-{{#expr:{{{DMGmax|}}} * 1.30}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.40}}-{{#expr:{{{DMGmax|}}} * 1.40}} (+4) | E = {{#expr:{{{DMGmin|}}} * 1.07}}-{{#expr:{{{DMGmax|}}} * 1.07}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.14}}-{{#expr:{{{DMGmax|}}} * 1.14}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.21}}-{{#expr:{{{DMGmax|}}} * 1.21}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.28}}-{{#expr:{{{DMGmax|}}} * 1.28}} (+4) | L = {{#expr:{{{DMGmin|}}} * 1.06}}-{{#expr:{{{DMGmax|}}} * 1.06}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.12}}-{{#expr:{{{DMGmax|}}} * 1.12}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.18}}-{{#expr:{{{DMGmax|}}} * 1.18}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.24}}-{{#expr:{{{DMGmax|}}} * 1.24}} (+4) | ???}}</p></format></data> | <data source="DMGmin"><label><p style="margin-top:35px">DMG:</p></label><format><p><b>{{{DMGmin}}}-{{{DMGmax}}} (+0)</b><br>{{#switch: {{{Rarity}}} | C = {{#expr:{{{DMGmin|}}} * 1.16}}-{{#expr:{{{DMGmax|}}} * 1.16}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.32}}-{{#expr:{{{DMGmax|}}} * 1.32}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.48}}-{{#expr:{{{DMGmax|}}} * 1.48}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.64}}-{{#expr:{{{DMGmax|}}} * 1.64}} (+4) | U = {{#expr:{{{DMGmin|}}} * 1.13}}-{{#expr:{{{DMGmax|}}} * 1.13}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.26}}-{{#expr:{{{DMGmax|}}} * 1.26}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.39}}-{{#expr:{{{DMGmax|}}} * 1.39}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.52}}-{{#expr:{{{DMGmax|}}} * 1.52}} (+4) | R = {{#expr:{{{DMGmin|}}} * 1.10}}-{{#expr:{{{DMGmax|}}} * 1.10}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.20}}-{{#expr:{{{DMGmax|}}} * 1.20}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.30}}-{{#expr:{{{DMGmax|}}} * 1.30}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.40}}-{{#expr:{{{DMGmax|}}} * 1.40}} (+4) | E = {{#expr:{{{DMGmin|}}} * 1.07}}-{{#expr:{{{DMGmax|}}} * 1.07}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.14}}-{{#expr:{{{DMGmax|}}} * 1.14}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.21}}-{{#expr:{{{DMGmax|}}} * 1.21}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.28}}-{{#expr:{{{DMGmax|}}} * 1.28}} (+4) | L = {{#expr:{{{DMGmin|}}} * 1.06}}-{{#expr:{{{DMGmax|}}} * 1.06}} (+1) <br> {{#expr:{{{DMGmin|}}} * 1.12}}-{{#expr:{{{DMGmax|}}} * 1.12}} (+2) <br> {{#expr:{{{DMGmin|}}} * 1.18}}-{{#expr:{{{DMGmax|}}} * 1.18}} (+3) <br> {{#expr:{{{DMGmin|}}} * 1.24}}-{{#expr:{{{DMGmax|}}} * 1.24}} (+4) | ???}}</p></format></data> |
Revision as of 17:20, 16 April 2023
This template defines the table "Weapon_Infobox". View table.