Jump to content

Template:Shield/doc: Difference between revisions

From Drifters Almanac
m Protected "Template:Shield/doc" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
Line 47: Line 47:
| crafting_profession =  
| crafting_profession =  
| recipe_page =  
| recipe_page =  
| 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 104: Line 110:
;crafting_profession: Profession that crafts the shield (e.g., Armorsmith).
;crafting_profession: Profession that crafts the shield (e.g., Armorsmith).
;recipe_page: Name of the recipe used.
;recipe_page: Name of the recipe used.
;component1–5_name: Name of each required part (e.g., Frame, Handle).
;component1–5_name: Name of each required part (e.g., Body, Strap).
;component1–5_material: Material used for each part.
;component1–5_material: Material used for each part.
;component1_material_category – component5_material_category: If the component accepts a material category (e.g., Copper Metal, Dense Leather, Leather), enter the category name here.


<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Gallery</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Gallery</div>

Revision as of 10:43, 6 May 2025

Shield Template Documentation

This template is used to display information for all shield items — both crafted and dropped. It covers stats, durability, block values, threat bonuses, crafting materials, and acquisition sources.

Usage

Paste this structure into any item page that is a shield:

{{Shield
| name = 
| tooltip_image = 

| is_soulbound = 
| shield_type = 
| armor_class = 
| durability = 
| min_block = 
| max_block = 
| threat = 
| plus_block = 

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

| level_requirement = 
| class_requirement1 = 
| class_requirement2 = 
| class_requirement3 = 

| how_to_acquire = 
| sale_price = 

| 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

Basic Info

name
Optional. Defaults to the page name.
tooltip_image
Tooltip screenshot filename. Do not include the full path.
is_soulbound
Set to any value to show the soulbound message.
Stats

shield_type
The shield's subtype (e.g., Kite Shield, Round Shield).
armor_class
Defense value provided.
durability
Max durability before breaking.
min_block / max_block
Range of damage blocked by this shield.
threat
Percent threat bonus (e.g., 15%).
plus_block
Flat bonus to the block skill (e.g., +5).
Additional Stats

stat1_name – stat6_name
Stat names like Combat Movement, Resilience, etc.
stat1_value – stat6_value
Corresponding stat values.
Requirements

level_requirement
Required level to equip.
class_requirement1–3
Up to 3 supported classes.
Acquisition

how_to_acquire
Use comma-separated sources.

Use :: for pretty links. Example: Doe/Newhaven_Valley::Doe (Newhaven Valley)

sale_price
Vendor sale value (e.g., 15 Gold 10 Silver 5 Copper)
Crafting (Optional)

crafting_profession
Profession that crafts the shield (e.g., Armorsmith).
recipe_page
Name of the recipe used.
component1–5_name
Name of each required part (e.g., Body, Strap).
component1–5_material
Material used for each part.
component1_material_category – component5_material_category
If the component accepts a material category (e.g., Copper Metal, Dense Leather, Leather), enter the category name here.
Gallery

model_image1–3
Optional in-game model screenshots.
Categories

Pages are automatically placed into:

  • Category:Shield
  • Category:Crafted Shields (if crafted)
  • Category:<shield_type>
Notes

  • If a parameter is left blank, its section will not appear.
  • Up to 6 additional stats and 5 crafting components are supported.