Jump to content

Template:CraftedWeapon/doc: Difference between revisions

From Drifters Almanac
m Protected "Template:CraftedWeapon/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is used to display detailed information about a crafted weapon in Embers Adrift.
This template is used to display detailed information about a crafted weapon.
It is intended to show the final stats and composition of a specific weapon created via crafting.
It is intended to show the final stats and composition of a specific weapon created via crafting.


Line 12: Line 12:
| damage_min =  
| damage_min =  
| damage_max =  
| damage_max =  
| dice_roll =
| delay =  
| delay =  
| range =  
| range =  
Line 52: Line 53:
| component1_name =  
| component1_name =  
| component1_material =  
| component1_material =  
| component1_material_category =
| component2_name =  
| component2_name =  
| component2_material =  
| component2_material =  
| component2_material_category =
| component3_name =  
| component3_name =  
| component3_material =  
| component3_material =  
| component3_material_category =
| component4_name =  
| component4_name =  
| component4_material =  
| component4_material =  
| component4_material_category =
| component5_name =  
| component5_name =  
| component5_material =  
| component5_material =  
| component5_material_category =


| model_image1 =  
| model_image1 =  
Line 72: Line 78:
;weapon_type: Type of weapon, used for display and categorization.
;weapon_type: Type of weapon, used for display and categorization.
;damage_min / damage_max: Minimum and maximum damage range.
;damage_min / damage_max: Minimum and maximum damage range.
;dice_roll: The hidden dice formula used to calculate damage (e.g., 2d4 + 20). Appears below the damage line in parentheses.
;delay: Weapon delay in seconds.
;delay: Weapon delay in seconds.
;range: Weapon range.
;range: Weapon range.
Line 91: Line 98:
;recipe_page: Page name of the recipe used to craft the weapon.
;recipe_page: Page name of the recipe used to craft the weapon.
;component1_name – component5_name: Display name of each crafting component (e.g., Axe Head, Handle).
;component1_name – component5_name: Display name of each crafting component (e.g., Axe Head, Handle).
;component1_material – component5_material: Material actually used for that component (e.g., Highlands Copper Ingot).
;component1_material – component5_material: One or more specific items that can be used for this component (e.g., Highlands Copper Ingot, Highlands Zink Ingot). Separate multiple items with commas. Each will be automatically linked to its page.
;component1_material_category – component5_material_category: One or more material categories that can be used for this component (e.g., Copper Metal, Zink Metal). Separate multiple categories with commas. Each will link to its category page.
 


;model_image1 – model_image3: Optional in-game screenshots of the item model, displayed in a gallery.
;model_image1 – model_image3: Optional in-game screenshots of the item model, displayed in a gallery.

Latest revision as of 16:18, 6 May 2025

This template is used to display detailed information about a crafted weapon. It is intended to show the final stats and composition of a specific weapon created via crafting.

Usage

Paste the following example into any page to use the template:

{{CraftedWeapon
| name = 
| tooltip_image = 
| weapon_type = 
| damage_min = 
| damage_max = 
| dice_roll = 
| delay = 
| range = 
| angle = 
| OHAC = 
| durability = 

| stat1_name = 
| stat1_value = 
| stat2_name = 
| stat2_value = 
| stat3_name = 
| stat3_value = 
| stat4_name = 
| stat4_value = 
| stat5_name = 
| stat5_value =
| stat6_name = 
| stat6_value =

| front_value = 
| front_type = 
| front_percentage = 

| side_value = 
| side_type = 
| side_percentage = 

| rear_value = 
| rear_type = 
| rear_percentage = 

| level_requirement = 
| class_requirement1 = 
| class_requirement2 = 

| crafting_profession = 
| recipe_page = 

| component1_name = 
| component1_material = 
| component1_material_category = 
| component2_name = 
| component2_material = 
| component2_material_category = 
| component3_name = 
| component3_material = 
| component3_material_category = 
| component4_name = 
| component4_material = 
| component4_material_category = 
| component5_name = 
| component5_material = 
| component5_material_category = 

| model_image1 = 
| model_image2 = 
| model_image3 = 
}}

Parameters

name
Optional. The display name of the weapon (defaults to page name if omitted).
tooltip_image
File name for the weapon tooltip image (use only the file name, not full path).
weapon_type
Type of weapon, used for display and categorization.
damage_min / damage_max
Minimum and maximum damage range.
dice_roll
The hidden dice formula used to calculate damage (e.g., 2d4 + 20). Appears below the damage line in parentheses.
delay
Weapon delay in seconds.
range
Weapon range.
angle
Weapon arc angle in degrees.
OHAC
Off-Hand Ability Contribution in percentage.
durability
Durability rating of the weapon.
stat1_name – stat6_name
Names of additional stats (e.g., Haste, Hit, Penetration, Combat Movement).
stat1_value – stat6_value
Corresponding values for the above stats.
front_value / front_type / front_percentage
Positional bonus for front attacks.
side_value / side_type / side_percentage
Positional bonus for side attacks.
rear_value / rear_type / rear_percentage
Positional bonus for rear attacks.
level_requirement
Required level.
class_requirement1 – class_requirement3
Class(es) that can use the weapon.
crafting_profession
Name of the profession that crafts the weapon.
recipe_page
Page name of the recipe used to craft the weapon.
component1_name – component5_name
Display name of each crafting component (e.g., Axe Head, Handle).
component1_material – component5_material
One or more specific items that can be used for this component (e.g., Highlands Copper Ingot, Highlands Zink Ingot). Separate multiple items with commas. Each will be automatically linked to its page.
component1_material_category – component5_material_category
One or more material categories that can be used for this component (e.g., Copper Metal, Zink Metal). Separate multiple categories with commas. Each will link to its category page.


model_image1 – model_image3
Optional in-game screenshots of the item model, displayed in a gallery.

Categories

Pages using this template are automatically categorized into:

  • Category:Weapons
  • Category:Crafted Weapons
  • Category:<weapon_type>
  • Category:<class_requirement> Weapons