Jump to content

Template:CraftedArmor/doc: Difference between revisions

From Drifters Almanac
Created page with "<noinclude>{{Documentation subpage}}</noinclude> == Usage == <syntaxhighlight lang="wikitext"> {{CraftedArmor | name = | tooltip_image = | equipment_type = | armor_weight = | armor_class = | 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 = | level_requirement = | class_requirement1 = | class_require..."
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>{{Documentation subpage}}</noinclude>
This template is used to display detailed information about a crafted armor piece. 
It is intended to show the final stats and composition of a specific armor item created via crafting.


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


<syntaxhighlight lang="wikitext">
<pre>
{{CraftedArmor
{{CraftedArmor
| name =  
| name =  
Line 36: Line 38:
| 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 49: Line 56:
| model_image3 =  
| model_image3 =  
}}
}}
</syntaxhighlight>
</pre>


== Parameters ==
== Parameters ==
;name: Optional. Display name of the armor (defaults to page name if omitted).
;tooltip_image: File name for the armor tooltip image (use only the file name, not full path).


=== General ===
;equipment_type: Slot the armor occupies (Chest, Legs, Feet, Hands, etc.).
* <code>name</code> – Name of the armor (defaults to page name if omitted).
;armor_weight: Numerical armor weight value.
* <code>tooltip_image</code> – Image file name showing the armor tooltip.
;armor_class: Armor Class value.
;durability: Durability rating of the armor.


=== Stats ===
;stat1_name stat6_name: Names of additional stats (e.g., Positional, Combat Movement, Chemical Damage Resist).
* <code>equipment_type</code> Slot the armor fits into (Chest, Legs, Feet, etc.).
;stat1_value stat6_value: Corresponding values for the above stats.
* <code>armor_weight</code> Numerical armor weight value.
* <code>armor_class</code> – Armor Class value.
* <code>durability</code> – Maximum durability.


=== Additional Stats ===
;level_requirement: Minimum player level required to equip the armor.
* <code>stat1_name</code> to <code>stat6_name</code> Stat names (Max Health, Strength, etc.).
;class_requirement1 class_requirement3: Class(es) that can equip the armor.
* <code>stat1_value</code> to <code>stat6_value</code> – Corresponding stat values.


=== Requirements ===
;crafting_profession: Name of the profession that crafts the armor (e.g., Armorsmith, Outfitter).
* <code>level_requirement</code> Minimum player level to equip.
;recipe_page: Page name of the recipe used to craft the armor.
* <code>class_requirement1</code> to <code>class_requirement3</code> Classes that can equip the armor.
;component1_name – component5_name: Display name of each crafting component (e.g., Metal, Strapping, Chain Mesh, Thread, Flux).
;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, Dense Leather). Separate multiple categories with commas. Each will link to its category page.


=== Crafting Info ===
;model_image1 model_image3: Optional in-game screenshots of the armor model, displayed in a gallery.
* <code>crafting_profession</code> Crafting profession that creates the item (Armorsmith, Leatherworker, etc.).
* <code>recipe_page</code> – Name of the recipe page that produces the item.
* <code>component1_name</code> to <code>component5_name</code> – Names of the components (e.g., Chestplate Frame).
* <code>component1_material</code> to <code>component5_material</code> – Materials used for each component (e.g., High-Quality Iron).


=== Gallery ===
== Categories ==
* <code>model_image1</code> to <code>model_image3</code> – Images showing how the armor looks on the player model.
Pages using this template are automatically categorized into:
 
* Category:Armor
== Auto-categorization ==
* Category:Crafted Armor
Pages using this template will automatically be added to:
* Category:<equipment_type> Equipment
* [[:Category:Armor]]
* Category:<class_requirement> Armor
* [[:Category:Crafted Armor]]
* [[:Category:Equipment Type]] based on the <code>equipment_type</code> (e.g., Chest Equipment).
* [[:Category:Class Armor]] for each class that can equip it.
 
== Notes ==
* If a parameter is left blank, that section will not be displayed.
* Up to five components are supported.
* Up to six additional stats are supported.

Latest revision as of 12:41, 6 May 2025

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

Usage

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

{{CraftedArmor
| name = 
| tooltip_image = 

| equipment_type = 
| armor_weight = 
| armor_class = 
| 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 = 

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

| 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. Display name of the armor (defaults to page name if omitted).
tooltip_image
File name for the armor tooltip image (use only the file name, not full path).
equipment_type
Slot the armor occupies (Chest, Legs, Feet, Hands, etc.).
armor_weight
Numerical armor weight value.
armor_class
Armor Class value.
durability
Durability rating of the armor.
stat1_name – stat6_name
Names of additional stats (e.g., Positional, Combat Movement, Chemical Damage Resist).
stat1_value – stat6_value
Corresponding values for the above stats.
level_requirement
Minimum player level required to equip the armor.
class_requirement1 – class_requirement3
Class(es) that can equip the armor.
crafting_profession
Name of the profession that crafts the armor (e.g., Armorsmith, Outfitter).
recipe_page
Page name of the recipe used to craft the armor.
component1_name – component5_name
Display name of each crafting component (e.g., Metal, Strapping, Chain Mesh, Thread, Flux).
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, Dense Leather). Separate multiple categories with commas. Each will link to its category page.
model_image1 – model_image3
Optional in-game screenshots of the armor model, displayed in a gallery.

Categories

Pages using this template are automatically categorized into:

  • Category:Armor
  • Category:Crafted Armor
  • Category:<equipment_type> Equipment
  • Category:<class_requirement> Armor