Template:Equipment Infobox: Difference between revisions

From Tiny Rogues Wiki
(added optional image parameter)
(Added Set Rarity)
Line 19: Line 19:
       | 4  = #b100fc  
       | 4  = #b100fc  
       | 5 = #f64e00  
       | 5 = #f64e00  
      | 6 = #00af00
       |  Grey }};
       |  Grey }};
     height:5pxfont-size: 0.8em;" >{{PAGENAME}}</p></center></default>
     height:5pxfont-size: 0.8em;" >{{PAGENAME}}</p></center></default>
Line 27: Line 28:
<data source="Equipment_Type"><label><span style="color:#82838e; font-weight:bold">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}} |}}</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="Equip_Load"><label><span style="color:#82838e; font-weight:bold">Equip Load</span></label></data>
<data source="Equip_Load"><label><span style="color:#82838e; font-weight:bold">Equip Load</span></label></data>
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect</span></label></data>
<data source="Effect"><label><span style="color:#82838e; font-weight:bold">Effect</span></label></data>

Revision as of 11:37, 31 December 2023

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