Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
(test)
Tag: Manual revert
(moving aps below damage)
Line 24: Line 24:
         <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}}{{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}}|}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}}|}}</format></data>
         <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></label><format>{{#ifeq: {{{Rarity}}} | 1 | {{Common}} |}}{{#ifeq: {{{Rarity}}} | 2 | {{Uncommon}} |}}{{#ifeq: {{{Rarity}}} | 3 | {{Rare}} |}}{{#ifeq: {{{Rarity}}} | 4 | {{Epic}}|}}{{#ifeq: {{{Rarity}}} | 5 | {{Legendary}}|}}</format></data>
         <data source="Hand"> <label><span style="color:#82838e; font-weight:bold">Hand:</span></label> <format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{KW|2H}}|}}</format></data>
         <data source="Hand"> <label><span style="color:#82838e; font-weight:bold">Hand:</span></label> <format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{KW|2H}}|}}</format></data>
<data source="ManaDrain"> <label><span style="color:#1dc1ee; font-weight:bold">Mana Drain:</span></label><format><span style="color:#1dc1ee; font-weight:bold">{{tt|{{{ManaDrain}}}[[File:IconMana.png|15px|link=]]|{{KW/Mana}} }}</span></format></data>   
<data source="ManaDrain"> <label><span style="color:#1dc1ee; font-weight:bold">Mana Drain:</span></label><format><span style="color:#1dc1ee; font-weight:bold">{{tt|{{{ManaDrain}}}[[File:IconMana.png|15px|link=]]|{{KW/Mana}} }}</span></format></data>
<data source="APS"><label> <span style="color:#63a303; font-weight:bold">APS:</span></label> <format><span style="color:#63a303; font-weight:bold">{{{APS}}}</span></format></data>
<data source="AttackRange"><label><span style="color:#82838e; font-weight:bold">Range:</span></label></data>
<data source="AttackRange"><label><span style="color:#82838e; font-weight:bold">Range:</span></label></data>
<data source="Damage_Range"><label><span style="color:#82838e; font-weight:bold">Damage:</span></label></data>
<data source="Damage_Range"><label><span style="color:#82838e; font-weight:bold">Damage:</span></label></data>
<data source="APS"><label> <span style="color:#63a303; font-weight:bold">APS:</span></label> <format><span style="color:#63a303; font-weight:bold">{{{APS}}}</span></format></data>
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style=" padding-bottom:10px; padding-top:10px"><span style="text-align:center; font-size:13px; font-weight:bold;">{{{Effect}}}</p></format></data>
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect:</span></label><format><p style=" padding-bottom:10px; padding-top:10px"><span style="text-align:center; font-size:13px; font-weight:bold;">{{{Effect}}}</p></format></data>
<data source="Tags"><label><span style="color:#82838e; font-weight:bold">Tags:</span></label></data>
<data source="Tags"><label><span style="color:#82838e; font-weight:bold">Tags:</span></label></data>

Revision as of 12:54, 24 August 2024

This template defines the table "Weapon_Infobox". View table.