Template:Equipment Infobox: Difference between revisions

From Tiny Rogues Wiki
(added padding but properly this time)
(nevermind i dont know how to do it)
Line 27: Line 27:
<group>
<group>
<header><center>Stats</center></header>
<header><center>Stats</center></header>
<data source="Equipment_Type"><label><span style="color:#82838e; font-weight:bold; padding-right:10px">Equipment Type:</span></label><format>[[{{{Equipment_Type}}}]] [[Category:{{{Equipment_Type}}}]]
<data source="Equipment_Type"><label><span style="color:#82838e; font-weight:bold">Equipment Type:</span></label><format>[[{{{Equipment_Type}}}]] [[Category:{{{Equipment_Type}}}]]
   </format></data>
   </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}} |}}{{#ifeq: {{{Rarity}}} | 6 | {{Set}} |}}</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}} |}}{{#ifeq: {{{Rarity}}} | 6 | {{Set}} |}}</format></data>

Revision as of 04:45, 22 January 2024

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