Template:Offhand/doc: Difference between revisions
Appearance
Created page with "<div style="font-size: 1.5em; font-weight: bold; margin-top: 1em;">Overview</div> <hr style="border: 0; border-top: 1px solid #555;" /> This template is used to display information about offhand equipment such as Scepters and Banners. It supports both dropped and crafted offhand items, including stats, requirements, and crafting details (if applicable). <div style="font-size: 1.5em; font-weight: bold; margin-top: 1em;">Usage</div> <hr style="border: 0; border-top: 1px..." |
No edit summary |
||
| Line 48: | Line 48: | ||
| component5_name = | | component5_name = | ||
| component5_material = | | component5_material = | ||
| sale_price = | |||
| model_image1 = | |||
| model_image2 = | |||
| model_image3 = | |||
}} | }} | ||
</pre> | </pre> | ||
| Line 66: | Line 71: | ||
;stat1_value – stat6_value: Corresponding values for the above stats. | ;stat1_value – stat6_value: Corresponding values for the above stats. | ||
;crafting_profession: The crafting profession responsible for this offhand (e.g., | ;crafting_profession: The crafting profession responsible for this offhand (e.g., Tinkerer). | ||
;recipe_page: Name of the crafting recipe page. | ;recipe_page: Name of the crafting recipe page. | ||
;component1_name – component5_name: Display names for each component slot. | ;component1_name – component5_name: Display names for each component slot. | ||
;component1_material – component5_material: Material used for each component (each one will be linked). | ;component1_material – component5_material: Material used for each component (each one will be linked). | ||
;sale_price: Sale price shown on tooltips (e.g., 15 Gold 50 Silver 11 Copper). | |||
;model_image1 – model_image3: Optional images of the item as it appears in-game (displayed in a gallery). | |||
<div style="font-size: 1.5em; font-weight: bold; margin-top: 1em;">Categories</div> | <div style="font-size: 1.5em; font-weight: bold; margin-top: 1em;">Categories</div> | ||
| Line 85: | Line 93: | ||
* All sections are optional and will only appear if data is provided. | * All sections are optional and will only appear if data is provided. | ||
* Up to 6 additional stats and 5 components are supported. | * Up to 6 additional stats and 5 components are supported. | ||
* This template does not support set bonuses, as offhands do not grant any. | * This template does not support set bonuses, as offhands do not grant any in Embers Adrift. | ||
Revision as of 10:54, 2 May 2025
Overview
This template is used to display information about offhand equipment such as Scepters and Banners. It supports both dropped and crafted offhand items, including stats, requirements, and crafting details (if applicable).
Usage
Paste the following example into any page to use the template:
{{Offhand
| name =
| tooltip_image =
| equipment_type =
| level_requirement =
| class_requirement1 =
| class_requirement2 =
| class_requirement3 =
| durability =
| is_soulbound =
| stat1_name =
| stat1_value =
| stat2_name =
| stat2_value =
| stat3_name =
| stat3_value =
| stat4_name =
| stat4_value =
| stat5_name =
| stat5_value =
| stat6_name =
| stat6_value =
| crafting_profession =
| recipe_page =
| component1_name =
| component1_material =
| component2_name =
| component2_material =
| component3_name =
| component3_material =
| component4_name =
| component4_material =
| component5_name =
| component5_material =
| sale_price =
| model_image1 =
| model_image2 =
| model_image3 =
}}
Parameters
- name
- Optional. Display name of the offhand item (defaults to the page name if omitted).
- tooltip_image
- File name for the tooltip image (do not include the "File:" prefix).
- equipment_type
- The type of offhand item (e.g., Offhand Accessory).
- level_requirement
- Minimum level required to equip.
- class_requirement1 – class_requirement3
- Class(es) that can equip the offhand.
- durability
- Maximum durability value shown on the tooltip.
- is_soulbound
- Set to any non-blank value to display "This item is Soulbound and cannot be traded."
- stat1_name – stat6_name
- Names of additional stats (e.g., Hit, Healing, Haste).
- stat1_value – stat6_value
- Corresponding values for the above stats.
- crafting_profession
- The crafting profession responsible for this offhand (e.g., Tinkerer).
- recipe_page
- Name of the crafting recipe page.
- component1_name – component5_name
- Display names for each component slot.
- component1_material – component5_material
- Material used for each component (each one will be linked).
- sale_price
- Sale price shown on tooltips (e.g., 15 Gold 50 Silver 11 Copper).
- model_image1 – model_image3
- Optional images of the item as it appears in-game (displayed in a gallery).
Categories
Pages using this template are automatically added to:
- Category:Offhand
- Category:Crafted Offhand (only if crafting info is present)
- Category:<equipment_type> Equipment
- Category:<class_requirement> Offhand
Notes
- All sections are optional and will only appear if data is provided.
- Up to 6 additional stats and 5 components are supported.
- This template does not support set bonuses, as offhands do not grant any in Embers Adrift.