Template:Rarity: Difference between revisions

From Blockgame Wiki
(Created page with "<includeonly> {{#if: {{{rarity|}}} | <div style="background-color: rgba(255, 255, 255, 0); padding: 5px; border-radius: 5px;"> {{#switch: {{{rarity}}} | Common= <span style="color:#c8c8c8; background-color: rgba(255, 255, 255, 0);">Common</span> | Uncommon= <span style="color:#78ff78; background-color: rgba(255, 255, 255, 0);">Uncommon</span> | Rare= <span style="color:#78ffff; background-color: rgba(255, 255, 255, 0);">Rare</span> | Epic= <...")
 
(Fixed the annoying Background)
Line 1: Line 1:
<includeonly>
{{#switch: {{{rarity}}}
{{#if: {{{rarity|}}}
   | Common= <span style="color:#c8c8c8; background-color: rgba(255, 255, 255, 0);">Common</span>
   | <div style="background-color: rgba(255, 255, 255, 0); padding: 5px; border-radius: 5px;">
  | Uncommon= <span style="color:#78ff78; background-color: rgba(255, 255, 255, 0);">Uncommon</span>
    {{#switch: {{{rarity}}}
  | Rare= <span style="color:#78ffff; background-color: rgba(255, 255, 255, 0);">Rare</span>
      | Common= <span style="color:#c8c8c8; background-color: rgba(255, 255, 255, 0);">Common</span>
  | Epic= <span style="color:#c800c8; background-color: rgba(255, 255, 255, 0);">Epic</span>
      | Uncommon= <span style="color:#78ff78; background-color: rgba(255, 255, 255, 0);">Uncommon</span>
  | Legendary= <span style="color:#FFAA00; background-color: rgba(255, 255, 255, 0);">Legendary</span>
      | Rare= <span style="color:#78ffff; background-color: rgba(255, 255, 255, 0);">Rare</span>
  | Quest= <span style="color:#FCA800; background-color: rgba(255, 255, 255, 0);">Quest</span>
      | Epic= <span style="color:#c800c8; background-color: rgba(255, 255, 255, 0);">Epic</span>
  | default= {{{rarity}}}
      | Legendary= <span style="color:#FFAA00; background-color: rgba(255, 255, 255, 0);">Legendary</span>
      | Quest= <span style="color:#FCA800; background-color: rgba(255, 255, 255, 0);">Quest</span>
      | default= {{{rarity}}}
    }}
  </div>
}}
}}
</includeonly>
 
 
[[Category:{{{rarity}}}_Item]]
<noinclude>[[Category:Template]]</noinclude>

Revision as of 12:07, 11 January 2024


[[Category:{{{rarity}}}_Item]]