Template:Equipment/Recommended: Difference between revisions

From Melvor Idle
(Created page with "{{Recommended equipment |style = |helm# = |neck# = |cape# = |body# = |legs# = |weapon# = |2hweapon# = |shield# = |ammo# = |gloves# = |boots# = |ring# = |special# = }}")
 
(Update example params)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Recommended equipment
<includeonly>{{#invoke:Equipment/Recommended|main}}</includeonly><noinclude>
|style =
 
|helm# =
{{Equipment/Recommended
|neck# =
|style = Magic
|cape# =
|helm1 = Glacia God Helmet
|body# =
|helm2 = Ancient Wizard Hat
|legs# =
|neck1 = Fury of the Elemental Zodiacs
|neck2 = Elite Amulet of Magic
|cape1 = Skull Cape
|body1 = Glacia God Platebody
|legs1 = Glacia God Platelegs
|weapon# =
|weapon# =
|2hweapon# =
|shield# =
|shield# =
|ammo# =
|ammo# =
|gloves# =
|consumable1 = Wizard's Scroll
|boots# =
|gloves1 = Glacia God Gloves
|ring# =
|boots1 = Glacia God Boots
|special# =
|ring1 = Shaman Ring
|passive1 = Wasteful Ring
|enhC1 = Magic Enhancement 1
|enhT1 = Dragon Enhancement 2
|enhS1 = Gods Enhancement 3
}}
}}
{{/doc}}
</noinclude>

Latest revision as of 13:10, 12 July 2024


This template displays the recommended equipment for an activity.

Usage

This template can be used by entering the following onto a relevant page.

The following parameters are supported:

  • style - Optional. Specifies the relevant combat style: Melee, Ranged, or Magic.
  • imgSize - Optional. Specifies the slot image's dimensions in pixels. Defaults to 36 if not specified.
  • showDR - Optional. If true, adds another column listing the equipments' damage reduction statistic. Only supported if at most one item of equipment is specified for each equipment slot
  • showall - Optional. If true, shows all item slots in the table even if the slot is empty
  • setname - Optional. Specifies the custom text above the table's header; 'Recommended equipment for <setname>'
  • header# - Optional. Specifies the custom header text for headers 1 through 5

For all other parameters, the value passed will be the name of an item of equipment by default. If required, plain text may also be passed by prefixing the value with !. For example, specifying passive1 = !Any Master Slayer armour piece will result in the text following the prefix to be displayed in the table as is. A slot can also be left empty by passing in Empty as the item name.

Currently there is a cap of 5 that will be rendered per slot. Anything added past that will not be shown on the table.

{{Equipment/Recommended
|style =
|imgSize =
|showDR = true|false
|showall = true|false
|setname =
|header# =
|helm# =
|neck# =
|cape# =
|body# =
|legs# =
|weapon# =
|shield# =
|ammo# =
|consumable# =
|gloves# =
|boots# =
|ring# =
|gem# =
|passive# =
|familiar1# =
|familiar2# =
|enhC# =
|enhT# =
|enhS# =
|prayer1# =
|prayer2# =
}}