Jump to content

Template:CraftedWeapon/doc

From Drifters Almanac

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