Template:EquipmentTable: Difference between revisions

From Melvor Idle
No edit summary
(Support style (2) parameter)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
<div class="background-image">
<includeonly>{{#invoke:Items/ComparisonTables|getCategoryTable|{{{1}}}|{{{2|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
    test
</div>
<style>
    /* CSS styles specific to this template */
    .background-image {
        background-image: url('/images/5/5e/EquipmentWindowEmpty.png?20240324155321');
        background-repeat: no-repeat;
        background-position: top left;
        width: 225px;
        height: 320px;
        text-align: center;
        display: inline-block;
    }
</style>

Latest revision as of 18:35, 21 July 2024

Displays a list of equipment that fits in a specific slot.

  • The first parameter indicates the equipment slot to be returned.
  • The second parameter is optional, specifying the style of equipment (Melee, Ranged, Magic, Other)