Template:Weapon Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 19: Line 19:
<group>
<group>
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type / Class:</span></label></data>
<data source="Weapon_Type"><label><span style="color:#82838e; font-weight:bold">Type / Class:</span></label></data>
<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="ProfDEX"><label><p style="color:#8bdf7e">DEX</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfINT|}}}| - }}</default><format><span style="color:#8bdf7e; font-weight:bold; font-size: 15px">{{{ProfDEX}}}</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>
         <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>
Line 32: Line 25:
<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>
<data source="Damage_Range"><label><span style="color:#82838e; font-weight:bold">Damage Range:</span></label></data>
<data source="Damage_Range"><label><span style="color:#82838e; font-weight:bold">Damage Range:</span></label></data>
<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="ProfDEX"><label><p style="color:#8bdf7e">DEX</p></label><default>{{#if:{{{ProfSTR|}}}{{{ProfINT|}}}| - }}</default><format><span style="color:#8bdf7e; font-weight:bold; font-size: 15px">{{{ProfDEX}}}</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>
<data source="Effect"><format><span style="text-align:center; font-size:15px; font-weight:bold">{{{Effect}}}</format></data>
<data source="Effect"><format><span style="text-align:center; font-size:15px; font-weight:bold">{{{Effect}}}</format></data>
</group>
</group>

Revision as of 06:01, 23 December 2023

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