Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 18: Line 18:
  <image source="image"><default>{{PAGENAME}}.png</default></image>
  <image source="image"><default>{{PAGENAME}}.png</default></image>
<group>
<group>
<data source="Weapon_Type"><label>Weapon Type:</label></data>
<data source="Weapon_Type"><span style="color:#82838e; font-weight:bold"><label>Type/Class:</label></span></data>
         <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="Rarity"><span style="color:#82838e; font-weight:bold"><label>Rarity:</label></span><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">{{{ManaDrain}}}✯</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">{{{ManaDrain}}}✯</span></format></data>     

Revision as of 04:08, 23 December 2023

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