Template:Weapon: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(41 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<div class="weapon-template"> | <div class="weapon-template"> | ||
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly> | |||
'''{{{name|{{PAGENAME}}}}}''' | '''{{{name|{{PAGENAME}}}}}''' | ||
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}} | |||
[[File:{{{tooltip_image | <!-- | ||
========================== | |||
<!-- ========================== | 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 /> | ||
}}{{#if:{{{durability|}}}|'''Durability''' | }}{{#if:{{{weapon_type|}}}|'''Weapon Type:''' '''[[{{{weapon_type}}}]]'''<br /> | ||
}}{{#if:{{{damage_min|}}}|'''Damage''': {{{ | }}{{#if:{{{durability|}}}|'''Durability:''' {{{durability}}}<br /> | ||
}}{{#if:{{{delay|}}}|'''Delay''' | }}{{#if:{{{damage_min|}}}|'''Damage:''' {{{damage_min}}} – {{{damage_max}}}<br /> | ||
}}{{#if:{{{range|}}}|'''Range''': {{{range}}}m<br /> | }}{{#if:{{{dice_roll|}}}|<span style="margin-left: 1em; color: #aaa;">({{{dice_roll}}})</span><br /> | ||
}}{{#if:{{{angle|}}}|'''Angle''' | }}{{#if:{{{delay|}}}|'''Delay:''' {{{delay}}}s<br /> | ||
}}{{#if:{{{OHAC|}}}|'''OHAC''' | }}{{#if:{{{range|}}}|'''Range:''' {{#if:{{{range_min|}}}|{{{range_min|}}} - }}{{{range}}}m<br /> | ||
}}{{#if:{{{ | }}{{#if:{{{angle|}}}|'''Angle:''' {{{angle}}}°<br /> | ||
}} | }}{{#if:{{{OHAC|}}}|'''OHAC:''' {{{OHAC}}}<br /> | ||
</div> | }}{{#if:{{{min_block|}}}|{{{min_block}}} – {{{max_block}}} '''[[Block Value]]'''<br /> | ||
<!-- ========================== | }}</div><!-- | ||
========================== | |||
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 40: | Line 40: | ||
| stat6_name = {{{stat6_name|}}} | | stat6_name = {{{stat6_name|}}} | ||
| stat6_value = {{{stat6_value|}}} | | stat6_value = {{{stat6_value|}}} | ||
}} | }}}}<!-- | ||
}} | ========================== | ||
<!-- ========================== | 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 | ||
========================== | |||
--><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:{{{ | }}{{#if:{{{class_requirement|}}}|'''Class Requirement''': {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br /> | ||
}}</div><!-- | |||
<!-- ========================== --> | ========================== | ||
<!-- | ACQUISITION | ||
<!-- ========================== --> | ========================== | ||
{{#if:{{{ | -->{{Acquisition | ||
< | |harvested_from={{{harvested_from|}}} | ||
|dropped_by={{{dropped_by|}}} | |||
{{ | |sold_by={{{sold_by|}}} | ||
{{ | |quest_reward={{{quest_reward|}}} | ||
{{ | }}<!-- | ||
========================== | |||
USED IN QUESTS | |||
========================== | |||
-->{{#if:{{{used_in_quests|}}}| | |||
{{UsedInQuests | |||
|used_in_quests={{{used_in_quests|}}} | |||
}}}}<!-- | |||
========================== | |||
FLAVOR TEXT | |||
========================== | |||
-->{{#if:{{{flavor_text|}}}| | |||
{{FlavorText | |||
|flavor_text={{{flavor_text|}}} | |||
}}}}<!-- | |||
========================== | |||
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|}}} | |||
}}}}<!-- | |||
========================== | |||
CRAFTING INFO | |||
========================== | |||
-->{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}| | |||
{{CraftingDetails | |||
| crafting_profession = {{{crafting_profession|}}} | |||
| recipe_page = {{{recipe_page|}}} | |||
| component1_name = {{{component1_name|}}} | |||
| component1_material = {{{component1_material|}}} | |||
| component1_category_tier = {{{component1_category_tier|}}} | |||
| component1_material_category = {{{component1_material_category|}}} | |||
| component2_name = {{{component2_name|}}} | |||
| component2_material = {{{component2_material|}}} | |||
| component2_category_tier = {{{component2_category_tier|}}} | |||
| component2_material_category = {{{component2_material_category|}}} | |||
| component3_name = {{{component3_name|}}} | |||
| component3_material = {{{component3_material|}}} | |||
| component3_category_tier = {{{component3_category_tier|}}} | |||
| component3_material_category = {{{component3_material_category|}}} | |||
| component4_name = {{{component4_name|}}} | |||
| component4_material = {{{component4_material|}}} | |||
| component4_category_tier = {{{component4_category_tier|}}} | |||
| component4_material_category = {{{component4_material_category|}}} | |||
| component5_name = {{{component5_name|}}} | |||
| component5_material = {{{component5_material|}}} | |||
| component5_category_tier = {{{component5_category_tier|}}} | |||
| component5_material_category = {{{component5_material_category|}}} | |||
}}}}<!-- | |||
========================== | |||
NOTES | |||
========================== | |||
-->{{#if:{{{notes|}}}| | |||
{{Notes | |||
|notes={{{notes|}}} | |||
}}}}<!-- | |||
========================== | |||
GALLERY | |||
========================== | |||
-->{{#if:{{{model_image1|}}}{{{model_image2|}}}{{{model_image3|}}}| | |||
{{Gallery | |||
|model_image1={{{model_image1|}}} | |||
|model_image2={{{model_image2|}}} | |||
|model_image3={{{model_image3|}}} | |||
}}}}<!-- | |||
========================== | |||
CATEGORIES | |||
========================== | |||
--><includeonly>[[Category:Weapons]]</includeonly> | |||
{{#if:{{{weapon_type|}}}|[[Category:{{{weapon_type}}}]] | |||
}}{{#if:{{{crafting_profession|}}}|[[Category:Crafted Weapons]] | |||
}} | }} | ||
{{#if:{{{class_requirement|}}}| | |||
{{#invoke:ClassCategories|fromDelimited | |||
| {{{class_requirement}}} | |||
{{#if:{{{ | | delimiter=, | ||
| equipment_type=Weapons | |||
}} }} | |||
</div> | </div> | ||
[[ | <includeonly><div style="display:none"> | ||
[[Is soulbound::{{{is_soulbound|}}}]] | |||
{{ | [[Equipment type::{{{weapon_type|}}}]] | ||
[[Durability::{{{durability|}}}]] | |||
{{ | [[Damage minimum::{{{damage_min|}}}]] | ||
{{ | [[Damage maximum::{{{damage_max|}}}]] | ||
{{ | [[Dice roll::{{{dice_roll|}}}]] | ||
[[Delay::{{{delay|}}}]] | |||
[[Range::{{{range|}}}]] | |||
[[Range (min)::{{{range_min|}}}]] | |||
[[Angle::{{{angle|}}}]] | |||
[[OHAC::{{{OHAC|}}}]] | |||
[[Minimum block value::{{{min_block|}}}]] | |||
[[Maximum block value::{{{max_block|}}}]] | |||
[[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|}}}]] | |||
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}} | |||
</div> | [[Profession::{{{crafting_profession|}}}]] | ||
{{#arraymap:{{{recipe_page|}}}|,|x|[[Recipe page::x]]}} | |||
[[Crafting component name::{{{component1_name|}}}]] | |||
{{#arraymap:{{{component1_material|}}}|,|x|[[Crafting component material::x]]}} | |||
{{#arraymap:{{{component1_material_category|}}}|,|x|[[Crafting component material category::x]]}} | |||
[[Crafting component name::{{{component2_name|}}}]] | |||
{{#arraymap:{{{component2_material|}}}|,|x|[[Crafting component material::x]]}} | |||
{{#arraymap:{{{component2_material_category|}}}|,|x|[[Crafting component material category::x]]}} | |||
[[Crafting component name::{{{component3_name|}}}]] | |||
{{#arraymap:{{{component3_material|}}}|,|x|[[Crafting component material::x]]}} | |||
{{#arraymap:{{{component3_material_category|}}}|,|x|[[Crafting component material category::x]]}} | |||
[[Crafting component name::{{{component4_name|}}}]] | |||
{{#arraymap:{{{component4_material|}}}|,|x|[[Crafting component material::x]]}} | |||
{{#arraymap:{{{component4_material_category|}}}|,|x|[[Crafting component material category::x]]}} | |||
[[Crafting component name::{{{component5_name|}}}]] | |||
{{#arraymap:{{{component5_material|}}}|,|x|[[Crafting component material::x]]}} | |||
{{#arraymap:{{{component5_material_category|}}}|,|x|[[Crafting component material category::x]]}} | |||
<span style="display:none">{{#default_form:Weapon}}</span> | |||
</div></includeonly> |