Jump to content

Template:Weapon: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
Line 2: Line 2:


'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
 
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]
[[File:{{{tooltip_image|WeaponPlaceholder.png}}}|thumb|{{{name}}} Tooltip]]
}}
 
<!-- ========================== -->
<!-- ========================== -->
<!--          STATS          -->
<!--          STATS          -->
Line 11: Line 10:
<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:{{{is_soulbound|}}}|'''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''': [[:Category:{{{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''': {{{range}}} m<br />
}}{{#if:{{{angle|}}}|'''Angle''': {{{angle}}}<br />
}}{{#if:{{{angle|}}}|'''Angle''': {{{angle}}}<br />
}}{{#if:{{{OHAC|}}}|'''OHAC''': {{{OHAC}}}<br />
}}{{#if:{{{OHAC|}}}|'''OHAC''': {{{OHAC}}}<br />
Line 25: Line 24:
<!--    ADDITIONAL STATS      -->
<!--    ADDITIONAL STATS      -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_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 50: Line 49:
<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>
<!-- ========================== -->
<!-- ========================== -->
Line 61: Line 59:
<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}}}]]}}
}}{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}}<br />}}
</div>
</div>
<!-- ========================== -->
<!-- ========================== -->
<!--       ACQUISITION         -->
<!--       HOW TO ACQUIRE      -->
<!-- ========================== -->
{{#if:{{{dropped_by|}}}|{{DroppedBy|dropped_by={{{dropped_by}}} }}
}}{{#if:{{{sold_by|}}}|{{SoldBy|sold_by={{{sold_by}}} }}
}}{{#if:{{{quest_reward|}}}|{{QuestReward|quest_reward={{{quest_reward}}} }}
}}
<!-- ========================== -->
<!--         FLAVOR TEXT      -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{how_to_acquire|}}}|
{{#if:{{{flavor_text|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Acquisition</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
{{Div col|colwidth=20em}}
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div>
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
}}
{{Div col end}}
<!-- ========================== -->
<!--        SELL PRICE        -->
<!-- ========================== -->
{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
{{PriceDisplay
| gold  = {{{sell_price_gold|}}}
| silver = {{{sell_price_silver|}}}
| copper = {{{sell_price_copper|}}}
}}
}}
}}
<!-- ========================== -->
<!-- ========================== -->
<!--         Sell PRICE        -->
<!--       CRAFTING INFO        -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{sell_price|}}}|
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sell Price</div>
{{CraftingDetails
<hr style="border: 0; border-top: 1px solid #555;" />
| crafting_profession = {{{crafting_profession|}}}
<div style="margin-left: 1em;">
| recipe_page        = {{{recipe_page|}}}
'''Sell Price''': {{{sell_price}}}<br />
 
</div>
| component1_name              = {{{component1_name|}}}
| component1_material          = {{{component1_material|}}}
| component1_material_category = {{{component1_material_category|}}}
 
| component2_name              = {{{component2_name|}}}
| component2_material          = {{{component2_material|}}}
| component2_material_category = {{{component2_material_category|}}}
 
| component3_name              = {{{component3_name|}}}
| component3_material          = {{{component3_material|}}}
| component3_material_category = {{{component3_material_category|}}}
 
| component4_name              = {{{component4_name|}}}
| component4_material          = {{{component4_material|}}}
| component4_material_category = {{{component4_material_category|}}}
 
| component5_name              = {{{component5_name|}}}
| component5_material          = {{{component5_material|}}}
| component5_material_category = {{{component5_material_category|}}}
}}
}}
}}
<!-- ========================== -->
<!-- ========================== -->
Line 90: Line 122:
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
}}
}}
{{#if:{{{model_image1|}}}|[[File:{{{model_image1}}}|frameless|200px]] }}
{{#if:{{{model_image1|}}}|[[File:{{{model_image1}}}|frameless|200px]]
{{#if:{{{model_image2|}}}|[[File:{{{model_image2}}}|frameless|200px]] }}
}}{{#if:{{{model_image2|}}}|[[File:{{{model_image2}}}|frameless|200px]]
{{#if:{{{model_image3|}}}|[[File:{{{model_image3}}}|frameless|200px]] }}
}}{{#if:{{{model_image3|}}}|[[File:{{{model_image3}}}|frameless|200px]]
}}
<!-- ========================== -->
<!--        CATEGORIES        -->
<!-- ========================== -->
<includeonly>[[Category:Weapons]]</includeonly>
{{#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]]
}}
</div>


[[Category:Weapons]]
<includeonly><div style="display:none">
{{#if:{{{weapon_type|}}}|[[Category:{{{weapon_type}}}]]}}
[[Is soulbound::{{{is_soulbound|}}}]]
{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Weapons]]}}
[[Weapon type::{{{weapon_type|}}}]]
{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Weapons]]}}
[[Durability::{{{durability|}}}]]
{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Weapons]]}}
[[Damage minimum::{{{damage_min|}}}]]
 
[[Damage maximum::{{{damage_max|}}}]]
</div>
[[Dice roll::{{{dice_roll|}}}]]
[[Delay::{{{delay|}}}]]
[[Range::{{{range|}}}]]
[[Angle::{{{angle|}}}]]
[[OHAC::{{{OHAC|}}}]]
[[Front positional value::{{{front_value|}}}]]
[[Front positional type::{{{front_type|}}}]]
[[Front positional percentage::{{{front_percentage|}}}]]
[[Side positional value::{{{side_value|}}}]]
[[Side positional type::{{{side_type|}}}]]
[[Side positional percentage::{{{side_percentage|}}}]]
[[Rear positional value::{{{rear_value|}}}]]
[[Rear positional type::{{{rear_type|}}}]]
[[Rear positional percentage::{{{rear_percentage|}}}]]
[[Level requirement::{{{level_requirement|}}}]]
[[Class requirement::{{{class_requirement1}}}]]}}
[[Class requirement::{{{class_requirement2}}}]]}}
[[Class requirement::{{{class_requirement3}}}]]}}
[[Dropped by::{{{dropped_by|}}}]]
[[Sold by::{{{sold_by|}}}]]
[[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|}}}]]
[[Recipe page::{{{recipe_page|}}}]]
[[Crafting component name::{{{component1_name|}}}]]
[[Crafting component material::{{{component1_material|}}}]]
[[Crafting component material category::{{{component1_material_category|}}}]]
[[Crafting component name::{{{component2_name|}}}]]
[[Crafting component material::{{{component2_material|}}}]]
[[Crafting component material category::{{{component2_material_category|}}}]]
[[Crafting component name::{{{component3_name|}}}]]
[[Crafting component material::{{{component3_material|}}}]]
[[Crafting component material category::{{{component3_material_category|}}}]]
[[Crafting component name::{{{component4_name|}}}]]
[[Crafting component material::{{{component4_material|}}}]]
[[Crafting component material category::{{{component4_material_category|}}}]]
[[Crafting component name::{{{component5_name|}}}]]
[[Crafting component material::{{{component5_material|}}}]]
[[Crafting component material category::{{{component5_material_category|}}}]]
<span style="display:none">{{#default_form:Weapon}}</span>
</div></includeonly>

Revision as of 09:40, 28 May 2025

Weapon

Stats

Positional Bonuses

Requirements