Jump to content

Template:Weapon: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 2: Line 2:
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}
}}
<!--
<!-- ========================== -->
==========================
<!--           STATS           -->
           STATS          
<!-- ========================== -->
==========================
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
<div style="margin-left: 1em;">
{{#ifeq:{{lc:{{{is_soulbound|}}}}}|yes|'''This item is Soulbound and cannot be traded.'''<br />
{{#ifeq:{{lc:{{{is_soulbound|}}}}}|yes|'''This item is Soulbound and cannot be traded.'''<br />
}}{{#if:{{{weapon_type|}}}|'''Weapon Type''': [[:Category:{{{weapon_type}}}|{{{weapon_type}}}]]<br />
}}{{#if:{{{weapon_type|}}}|'''Weapon Type:''' '''[[{{{weapon_type}}}]]'''<br />
}}{{#if:{{{durability|}}}|'''Durability''': {{{durability}}}<br />
}}{{#if:{{{durability|}}}|'''Durability:''' {{{durability}}}<br />
}}{{#if:{{{damage_min|}}}|'''Damage''': {{{damage_min}}} – {{{damage_max}}}<br />
}}{{#if:{{{damage_min|}}}|'''Damage:''' {{{damage_min}}} – {{{damage_max}}}<br />
}}{{#if:{{{dice_roll|}}}|<span style="margin-left: 1em; color: #aaa;">({{{dice_roll}}})</span><br />
}}{{#if:{{{dice_roll|}}}|<span style="margin-left: 1em; color: #aaa;">({{{dice_roll}}})</span><br />
}}{{#if:{{{delay|}}}|'''Delay''': {{{delay}}} s<br />
}}{{#if:{{{delay|}}}|'''Delay:''' {{{delay}}}s<br />
}}{{#if:{{{range|}}}|'''Range''': {{{range}}} m<br />
}}{{#if:{{{range|}}}|'''Range:''' {{#if:{{{range_min|}}}|{{{range_min|}}} -&nbsp;}}{{{range}}}m<br />
}}{{#if:{{{angle|}}}|'''Angle''': {{{angle}}}&deg;<br />
}}{{#if:{{{angle|}}}|'''Angle:''' {{{angle}}}&deg;<br />
}}{{#if:{{{OHAC|}}}|'''OHAC''': {{{OHAC}}}<br />
}}{{#if:{{{OHAC|}}}|'''OHAC:''' {{{OHAC}}}<br />
}}{{#if:{{{min_block|}}}|'''{{{min_block}}} – {{{max_block}}} [[:Category:Block Value|Block Value]]'''<br />
}}{{#if:{{{min_block|}}}|{{{min_block}}} – {{{max_block}}} '''[[Block Value]]'''<br />
}}
}}</div><!--  
</div>
==========================
<!-- ========================== -->
     ADDITIONAL STATS    
<!--     ADDITIONAL STATS       -->
==========================
<!-- ========================== -->
-->{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}|
{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Additional Stats</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Additional Stats</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
Line 41: Line 40:
  | stat6_name  = {{{stat6_name|}}}
  | stat6_name  = {{{stat6_name|}}}
  | stat6_value = {{{stat6_value|}}}
  | stat6_value = {{{stat6_value|}}}
}}
}}}}<!--
}}
==========================
<!-- ========================== -->
     POSITIONAL BONUSES  
<!--     POSITIONAL BONUSES     -->
==========================
<!-- ========================== -->
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Positional Bonuses</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Positional Bonuses</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
<div style="margin-left: 1em;">
{{#if:{{{front_value|}}}|'''Front''': {{{front_value}}} {{{front_type}}} +{{{front_percentage}}}% Positional<br />
{{#if:{{{front_value|}}}|'''Front''': {{{front_value}}} '''[[{{{front_type}}}]]''' +{{{front_percentage}}}% '''[[Positional]]'''<br />
}}{{#if:{{{side_value|}}}|'''Side''':  {{{side_value}}} {{{side_type}}} +{{{side_percentage}}}% Positional<br />
}}{{#if:{{{side_value|}}}|'''Side''':  {{{side_value}}} '''[[{{{side_type}}}]]''' +{{{side_percentage}}}% '''[[Positional]]'''<br />
}}{{#if:{{{rear_value|}}}|'''Rear''':  {{{rear_value}}} {{{rear_type}}} +{{{rear_percentage}}}% Positional<br />}}
}}{{#if:{{{rear_value|}}}|'''Rear''':  {{{rear_value}}} '''[[{{{rear_type}}}]]''' +{{{rear_percentage}}}% '''[[Positional]]'''<br />}}
</div>
</div><!--
<!-- ========================== -->
==========================
<!--       REQUIREMENTS       -->
       REQUIREMENTS      
<!-- ========================== -->
==========================
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Requirements</div>
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Requirements</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
<div style="margin-left: 1em;">
{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
}}{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}}<br />}}
}}{{#if:{{{class_requirement|}}}|'''Class Requirement''': {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br />
</div>
}}</div><!--
<!-- ========================== -->
==========================
<!--      HOW TO ACQUIRE      -->
    ACQUISITION         
<!-- ========================== -->
==========================
{{#if:{{{dropped_by|}}}|{{DroppedBy|dropped_by={{{dropped_by}}} }}
-->{{Acquisition
}}{{#if:{{{sold_by|}}}|{{SoldBy|sold_by={{{sold_by}}} }}  
|harvested_from={{{harvested_from|}}}
}}{{#if:{{{quest_reward|}}}|{{QuestReward|quest_reward={{{quest_reward}}} }}
|dropped_by={{{dropped_by|}}}
}}
|sold_by={{{sold_by|}}}
<!-- ========================== -->
|quest_reward={{{quest_reward|}}}
<!--        FLAVOR TEXT      -->
}}<!--
<!-- ========================== -->
==========================
{{#if:{{{flavor_text|}}}|
    USED IN QUESTS     
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div>
==========================
<hr style="border: 0; border-top: 1px solid #555;" />
-->{{#if:{{{used_in_quests|}}}|
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div>
{{UsedInQuests
}}
|used_in_quests={{{used_in_quests|}}}
<!-- ========================== -->
}}}}<!--
<!--        SELL PRICE        -->
==========================
<!-- ========================== -->
      FLAVOR TEXT       
{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
==========================
-->{{#if:{{{flavor_text|}}}|
{{FlavorText
|flavor_text={{{flavor_text|}}}
}}}}<!--
==========================
      SELL PRICE         
==========================
-->{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
{{PriceDisplay
{{PriceDisplay
| gold   = {{{sell_price_gold|}}}
|gold={{{sell_price_gold|}}}
| silver = {{{sell_price_silver|}}}
|silver={{{sell_price_silver|}}}
| copper = {{{sell_price_copper|}}}
|copper={{{sell_price_copper|}}}
}}
}}}}<!--
}}
==========================
<!-- ========================== -->
      CRAFTING INFO      
<!--      CRAFTING INFO       -->
==========================
<!-- ========================== -->
-->{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}|
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}|
{{CraftingDetails
{{CraftingDetails
| crafting_profession = {{{crafting_profession|}}}
| crafting_profession = {{{crafting_profession|}}}
| recipe_page        = {{{recipe_page|}}}
| recipe_page        = {{{recipe_page|}}}


| component1_name              = {{{component1_name|}}}
| component1_name              = {{{component1_name|}}}
| component1_material          = {{{component1_material|}}}
| component1_material          = {{{component1_material|}}}
| component1_material_category = {{{component1_material_category|}}}
| component1_category_tier    = {{{component1_category_tier|}}}
| component1_material_category = {{{component1_material_category|}}}


| component2_name              = {{{component2_name|}}}
| component2_name              = {{{component2_name|}}}
| component2_material          = {{{component2_material|}}}
| component2_material          = {{{component2_material|}}}
| component2_material_category = {{{component2_material_category|}}}
| component2_category_tier    = {{{component2_category_tier|}}}
| component2_material_category = {{{component2_material_category|}}}


| component3_name              = {{{component3_name|}}}
| component3_name              = {{{component3_name|}}}
| component3_material          = {{{component3_material|}}}
| component3_material          = {{{component3_material|}}}
| component3_material_category = {{{component3_material_category|}}}
| component3_category_tier    = {{{component3_category_tier|}}}
| component3_material_category = {{{component3_material_category|}}}


| component4_name              = {{{component4_name|}}}
| component4_name              = {{{component4_name|}}}
| component4_material          = {{{component4_material|}}}
| component4_material          = {{{component4_material|}}}
| component4_material_category = {{{component4_material_category|}}}
| component4_category_tier    = {{{component4_category_tier|}}}
| component4_material_category = {{{component4_material_category|}}}


| component5_name              = {{{component5_name|}}}
| component5_name              = {{{component5_name|}}}
| component5_material          = {{{component5_material|}}}
| component5_material          = {{{component5_material|}}}
| component5_material_category = {{{component5_material_category|}}}
| component5_category_tier    = {{{component5_category_tier|}}}
}}
| component5_material_category = {{{component5_material_category|}}}
}}
}}}}<!--
<!-- ========================== -->
==========================
<!--           GALLERY          -->
           NOTES         
<!-- ========================== -->
==========================
{{#if:{{{model_image1|}}}{{{model_image2|}}}{{{model_image3|}}}|
-->{{#if:{{{notes|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Gallery</div>
{{Notes
<hr style="border: 0; border-top: 1px solid #555;" />
|notes={{{notes|}}}
}}
}}}}<!--
{{#if:{{{model_image1|}}}|[[File:{{{model_image1}}}|frameless|200px]]
==========================
}}{{#if:{{{model_image2|}}}|[[File:{{{model_image2}}}|frameless|200px]]
        GALLERY       
}}{{#if:{{{model_image3|}}}|[[File:{{{model_image3}}}|frameless|200px]]
==========================
}}
-->{{#if:{{{model_image1|}}}{{{model_image2|}}}{{{model_image3|}}}|
<!-- ========================== -->
{{Gallery
<!--         CATEGORIES         -->
|model_image1={{{model_image1|}}}
<!-- ========================== -->
|model_image2={{{model_image2|}}}
<includeonly>[[Category:Weapons]]</includeonly>
|model_image3={{{model_image3|}}}
}}}}<!--
==========================
         CATEGORIES      
==========================
--><includeonly>[[Category:Weapons]]</includeonly>
{{#if:{{{weapon_type|}}}|[[Category:{{{weapon_type}}}]]
{{#if:{{{weapon_type|}}}|[[Category:{{{weapon_type}}}]]
}}{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Weapons]]
}}{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Weapons]]
}}{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Weapons]]
}}{{#if:{{{crafting_profession|}}}|[[Category:Crafted Weapons]]
}}{{#if:{{{crafting_profession|}}}|[[Category:Crafted Weapons]]
}}
}}
{{#if:{{{class_requirement|}}}|
{{#invoke:ClassCategories|fromDelimited
| {{{class_requirement}}}
| delimiter=,
| equipment_type=Weapons
}} }}
</div>
</div>


Line 148: Line 166:
[[Delay::{{{delay|}}}]]
[[Delay::{{{delay|}}}]]
[[Range::{{{range|}}}]]
[[Range::{{{range|}}}]]
[[Range (min)::{{{range_min|}}}]]
[[Angle::{{{angle|}}}]]
[[Angle::{{{angle|}}}]]
[[OHAC::{{{OHAC|}}}]]
[[OHAC::{{{OHAC|}}}]]
[[Minimum block value::{{{min_block|}}}]]
[[Minimum block value::{{{min_block|}}}]]
[[Maximum block value::{{{max_block|}}}]]
[[Maximum block value::{{{max_block|}}}]]
[[Additional stats::{{{stat1_name|}}}]]
 
[[Additional stats::{{{stat2_name|}}}]]
[[Additional stats::{{{stat3_name|}}}]]
[[Additional stats::{{{stat4_name|}}}]]
[[Additional stats::{{{stat5_name|}}}]]
[[Additional stats::{{{stat6_name|}}}]]
[[Front positional value::{{{front_value|}}}]]
[[Front positional value::{{{front_value|}}}]]
[[Front positional type::{{{front_type|}}}]]
[[Front positional type::{{{front_type|}}}]]
Line 167: Line 181:
[[Rear positional type::{{{rear_type|}}}]]
[[Rear positional type::{{{rear_type|}}}]]
[[Rear positional percentage::{{{rear_percentage|}}}]]
[[Rear positional percentage::{{{rear_percentage|}}}]]
[[Level requirement::{{{level_requirement|}}}]]
[[Level requirement::{{{level_requirement|}}}]]
[[Class requirement::{{{class_requirement1}}}]]}}
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}}
[[Class requirement::{{{class_requirement2}}}]]}}
 
[[Class requirement::{{{class_requirement3}}}]]}}
{{#arraymap:{{{dropped_by|}}}|,|x|[[Dropped by::x]]}}
{{#arraymap:{{{sold_by|}}}|,|x|[[Sold by::x]]}}
[[Quest reward from::{{{quest_reward|}}}]]
[[Sell price (gold)::{{{sell_price_gold|}}}]]
[[Sell price (silver)::{{{sell_price_silver|}}}]]
[[Sell price (copper)::{{{sell_price_copper|}}}]]
[[Profession::{{{crafting_profession|}}}]]
[[Profession::{{{crafting_profession|}}}]]
{{#arraymap:{{{recipe_page|}}}|,|x|[[Recipe page::x]]}}
{{#arraymap:{{{recipe_page|}}}|,|x|[[Recipe page::x]]}}
[[Crafting component name::{{{component1_name|}}}]]
[[Crafting component name::{{{component1_name|}}}]]
[[Crafting component material::{{{component1_material|}}}]]
{{#arraymap:{{{component1_material|}}}|,|x|[[Crafting component material::x]]}}
[[Crafting component material category::{{{component1_material_category|}}}]]
{{#arraymap:{{{component1_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component2_name|}}}]]
[[Crafting component name::{{{component2_name|}}}]]
[[Crafting component material::{{{component2_material|}}}]]
{{#arraymap:{{{component2_material|}}}|,|x|[[Crafting component material::x]]}}
[[Crafting component material category::{{{component2_material_category|}}}]]
{{#arraymap:{{{component2_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component3_name|}}}]]
[[Crafting component name::{{{component3_name|}}}]]
[[Crafting component material::{{{component3_material|}}}]]
{{#arraymap:{{{component3_material|}}}|,|x|[[Crafting component material::x]]}}
[[Crafting component material category::{{{component3_material_category|}}}]]
{{#arraymap:{{{component3_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component4_name|}}}]]
[[Crafting component name::{{{component4_name|}}}]]
[[Crafting component material::{{{component4_material|}}}]]
{{#arraymap:{{{component4_material|}}}|,|x|[[Crafting component material::x]]}}
[[Crafting component material category::{{{component4_material_category|}}}]]
{{#arraymap:{{{component4_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component5_name|}}}]]
[[Crafting component name::{{{component5_name|}}}]]
[[Crafting component material::{{{component5_material|}}}]]
{{#arraymap:{{{component5_material|}}}|,|x|[[Crafting component material::x]]}}
[[Crafting component material category::{{{component5_material_category|}}}]]
{{#arraymap:{{{component5_material_category|}}}|,|x|[[Crafting component material category::x]]}}
<span style="display:none">{{#default_form:Weapon}}</span>
<span style="display:none">{{#default_form:Weapon}}</span>
</div></includeonly>
</div></includeonly>

Latest revision as of 11:36, 2 July 2025

Weapon

Image Needed
Stats

Positional Bonuses

Requirements