Template:Item: Difference between revisions

From Blockgame Wiki
mNo edit summary
(Redirected page to Template:BG Item)
Tag: New redirect
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="itembox" style="float: right; margin-left: 10px; border: 1px solid #ccc; background-color: #333; padding: 10px; width: auto; max-width: 80%;">
#REDIRECT [[Template:BG_Item]]
  <div style="font-size: 120%; font-weight: bold; margin-bottom: 5px;">{{#if: {{{name|}}} | {{{name}}} | Item Name }}</div>
  {{#if: {{{image|}}}
    | <div style="text-align: center;">[[File:{{{image}}}|300px]]</div>
  }}
  {{#if: {{{description|}}}
    | <div>{{{description}}}</div>
  }}
  {{#if: {{{lore|}}}
    | <div><strong>Lore:</strong> {{{lore}}}</div>
  }}
  {{#if: {{{type|}}}
    | <div><strong>Type:</strong> {{{type}}}</div>
  }}
  {{#if: {{{rarity|}}}
    | <div><strong>Rarity:</strong>
      {{#switch: {{{rarity}}}
        | Common = <span style="color:#c8c8c8;">Common</span>
        | Rare = <span style="color:#78ffff;">Rare</span>
        | Epic = <span style="color:#c800c8;">Epic</span>
        | Legendary = <span style="color:#FFAA00;">Legendary</span>
        | Quest = <span style="color:#FCA800;">Quest</span>
        | default = {{{rarity}}}
      }}
    </div>
  }}
  {{#if: {{{obtained_from|}}}
    | <div><strong>Obtained From:</strong> {{{obtained_from}}}</div>
  }}
</div>

Latest revision as of 01:24, 20 January 2024

Redirect to: