Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 21: Line 21:
         <data source="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></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="Rarity"><label><span style="color:#82838e; font-weight:bold">Rarity:</span></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><span style="color:#82838e; font-weight:bold">Handling:</span></label> <format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{Two-Handed}}|}}</format></data>
         <data source="Hand"> <label><span style="color:#82838e; font-weight:bold">Handling:</span></label> <format>{{#ifeq: {{{Hand}}} | 1 | {{One-Handed}} |}} {{#ifeq: {{{Hand}}} | 2 | {{Two-Handed}}|}}</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}}}✯|{{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}}}✯|{{Mana/a}} }}</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="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">Weapon Range:</span></label></data>
<data source="AttackRange"><label><span style="color:#82838e; font-weight:bold">Weapon Range:</span></label></data>

Revision as of 04:44, 23 December 2023

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