Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 17: Line 17:
   </title>
   </title>
  <image source="image"><default>{{PAGENAME}}.png</default></image>
  <image source="image"><default>{{PAGENAME}}.png</default></image>
<group>
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type / Class:</span></label></data>
<group layout="horizontal" row-items="3">
<group layout="horizontal" row-items="3">
<data source="ProfSTR"><label><p style="color:#fa0e83">STR</p></label><default style="padding-left:50px">{{#if:{{{ProfDEX|}}}{{{ProfINT|}}}| - }}</default><format><span style="color:#fa0e83; font-weight:bold"; font-size: 15px>{{{ProfSTR}}}</span></format></data>
<data source="ProfSTR"><label><p style="color:#fa0e83">STR</p></label><default style="padding-left:50px">{{#if:{{{ProfDEX|}}}{{{ProfINT|}}}| - }}</default><format><span style="color:#fa0e83; font-weight:bold"; font-size: 15px>{{{ProfSTR}}}</span></format></data>
Line 22: Line 25:
<data source="ProfINT"><label><p style="color:#1bc4f0">INT</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfDEX|}}}| - }}</default><format><span style="color:#1bc4f0; font-weight:bold; font-size: 15px">{{{ProfINT}}}</span></format></data>
<data source="ProfINT"><label><p style="color:#1bc4f0">INT</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfDEX|}}}| - }}</default><format><span style="color:#1bc4f0; font-weight:bold; font-size: 15px">{{{ProfINT}}}</span></format></data>
</group>
</group>
<group>
 
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type / Class:</span></label></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="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>

Revision as of 06:00, 23 December 2023

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