Template:Item Infobox: Difference between revisions

From Tiny Rogues Wiki
No edit summary
No edit summary
Line 21: Line 21:
  <image source="image"><default>{{PAGENAMEE}}.png</default></image>
  <image source="image"><default>{{PAGENAMEE}}.png</default></image>
<group>
<group>
<data source="Item_Type"><label><span style="color:#82838e; font-weight:bold">Equipment Type:</span></label><format>[[{{{Equipment_Type}}}]] [[Category:{{{Equipment_Type}}}]]
<data source="Item_Type"><label><span style="color:#82838e; font-weight:bold">Equipment Type:</span></label><format>[[{{{Item_Type}}}]] [[Category:{{{Item_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}}|}}</format></data>

Revision as of 19:53, 22 January 2024

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