Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 20: Line 20:
<group>
<group>
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type:</span></label></data>
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type:</span></label></data>
<data source="Weapon_Subtype"><label><span style="color:#82838e; font-weight:bold">Type:</span></label></data>
<data source="Weapon_Subtype"><label><span style="color:#82838e; font-weight:bold">Subtype:</span></label></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="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>

Revision as of 13:10, 15 May 2024

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