Template:Consumable: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
| (13 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 | |||
<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:{{{category|}}}|'''Category | }}{{#if:{{{category|}}}|'''Category: [[{{{category}}}]]'''<br /> | ||
}}{{#if:{{{execution_time|}}}|'''Execution Time''' | }}{{#if:{{{execution_time|}}}|'''Execution Time:''' {{{execution_time}}}s<br /> | ||
}}{{#if:{{{cooldown_minutes|}}}{{{cooldown_seconds|}}}|'''Cooldown''' | }}{{#if:{{{cooldown_minutes|}}}{{{cooldown_seconds|}}}|'''Cooldown:''' {{#if:{{{cooldown_minutes|}}}|{{{cooldown_minutes}}}m}}{{#if:{{{cooldown_seconds|}}}|  {{{cooldown_seconds}}}s}}<br /> | ||
}}{{#if:{{{movement_penalty|}}}|'''Movement Penalty''' | }}{{#if:{{{movement_penalty|}}}|'''Movement Penalty:''' - {{{movement_penalty}}}%<br /> | ||
}}{{#if:{{{range|}}}|'''Range''' | }}{{#if:{{{range|}}}|'''Range:''' {{{range}}}m<br /> | ||
}}{{#if:{{{angle|}}}|'''Angle''' | }}{{#if:{{{angle|}}}|'''Angle:''' {{{angle}}}°<br /> | ||
}}{{#if:{{{effect_targets|}}}|'''Target''' | }}{{#if:{{{effect_targets|}}}|'''Target:''' {{{effect_targets}}}<br /> | ||
}}{{#if:{{{duration_minutes|}}}{{{duration_seconds|}}}|'''Duration''' | }}{{#if:{{{duration_minutes|}}}{{{duration_seconds|}}}|'''Duration:''' {{#if:{{{duration_minutes|}}}|{{{duration_minutes}}}m}}{{#if:{{{duration_seconds|}}}|  {{{duration_seconds}}}s}}<br /> | ||
}} | }}</div><!-- | ||
</div> | ========================== | ||
<!-- ========================== | EFFECTS | ||
========================== | |||
-->{{#if:{{{effect_value|}}}{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}{{{heal_min|}}}{{{damage|}}}| | |||
{{#if:{{{effect_value|}}}{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Effect</div> | <div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Effect</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:{{{effect_value|}}}| {{{effect_value}}}<br /> | {{#if:{{{effect_value|}}}| {{{effect_value}}}<br /> | ||
}}{{#if:{{{heal_min|}}}| {{{heal_min}}} – {{{heal_max}}} Health<br /> | }}{{#if:{{{heal_min|}}}| {{{heal_min}}}{{#if:{{{heal_max|}}}| – {{{heal_max}}}}} Health<br /> | ||
}}{{#if:{{{ | }}{{#if:{{{heal_dice_roll|}}}|<span style="margin-left: 1em; color: #aaa;">({{{heal_dice_roll}}})</span><br /> | ||
}}{{#if:{{{damage|}}}| {{{damage}}} {{{damage_type|}}}<br /> | |||
}}{{#if:{{{damage_dice_roll|}}}|<span style="margin-left: 1em; color: #aaa;">({{{damage_dice_roll}}})</span><br /> | |||
}}</div> | }}</div> | ||
{{#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|}}}| | ||
| Line 45: | Line 47: | ||
| stat6_name = {{{stat6_name|}}} | | stat6_name = {{{stat6_name|}}} | ||
| stat6_value = {{{stat6_value|}}} | | stat6_value = {{{stat6_value|}}} | ||
}} }} }} | }} }} }}<!-- | ||
<!-- ========================== | ========================== | ||
TRIGGERED EFFECTS | |||
========================== | |||
{{#ifeq:{{lc:{{{has_trigger|}}}}}|yes| | -->{{#ifeq:{{lc:{{{has_trigger|}}}}}|yes| | ||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Triggered Effect</div> | <div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Triggered Effect</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;"> | ||
• '''Condition''': {{#if:{{{trigger_max_hits|}}}|{{{trigger_max_hits}}}x }}{{#if:{{{trigger_chance|}}}|  {{{trigger_chance}}} chance }}  {{{trigger_type}}}<br /> | • '''Condition''': {{#if:{{{trigger_max_hits|}}}|{{{trigger_max_hits}}}x }}{{#if:{{{trigger_chance|}}}|  {{{trigger_chance}}}% chance }}  {{{trigger_type}}}<br /> | ||
{{#if:{{{trigger_effect1|}}}| {{{trigger_effect1}}}<br /> | {{#if:{{{trigger_effect1|}}}| {{{trigger_effect1}}}<br /> | ||
}}{{#if:{{{trigger_effect2|}}}| {{{trigger_effect2}}}<br /> | }}{{#if:{{{trigger_effect2|}}}| {{{trigger_effect2}}}<br /> | ||
}}{{#if:{{{trigger_duration|}}}| for | }}{{#if:{{{trigger_duration|}}}| for {{{trigger_duration}}} }}<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> | }}</div><!-- | ||
<!-- ========================== | ========================== | ||
ACQUISITION | |||
========================== | |||
{{ | -->{{Acquisition | ||
|harvested_from={{{harvested_from|}}} | |||
|dropped_by={{{dropped_by|}}} | |||
}} | |sold_by={{{sold_by|}}} | ||
<!-- ========================== | |quest_reward={{{quest_reward|}}} | ||
}}<!-- | |||
========================== | |||
{{#if:{{{flavor_text|}}}| | USED IN QUESTS | ||
========================== | |||
-->{{#if:{{{used_in_quests|}}}| | |||
{{UsedInQuests | |||
}} | |used_in_quests={{{used_in_quests|}}} | ||
<!-- ========================== | }}}}<!-- | ||
========================== | |||
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 | ||
========================== | |||
-->{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}| | |||
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}| | |||
{{CraftingDetails | {{CraftingDetails | ||
| crafting_profession = {{{crafting_profession|}}} | | crafting_profession = {{{crafting_profession|}}} | ||
| Line 125: | Line 134: | ||
| component5_category_tier = {{{component5_category_tier|}}} | | component5_category_tier = {{{component5_category_tier|}}} | ||
| component5_material_category = {{{component5_material_category|}}} | | component5_material_category = {{{component5_material_category|}}} | ||
}} | }}}}<!-- | ||
}} | ========================== | ||
<!-- ========================== --> | NOTES | ||
<!-- CATEGORIES | ========================== | ||
-->{{#if:{{{notes|}}}| | |||
<includeonly>[[Category: | {{Notes | ||
{{#if:{{{crafting_profession|}}}|[[Category:Crafted | |notes={{{notes|}}} | ||
}}}}<!-- | |||
========================== | |||
CATEGORIES | |||
========================== | |||
--><includeonly>[[Category:Consumables]]</includeonly> | |||
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Consumables]]}} | |||
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}} | {{#if:{{{category|}}}|[[Category:{{{category}}}]]}} | ||
<includeonly><div style="display:none"> | <includeonly><div style="display:none"> | ||
[[Is soulbound::{{{is_soulbound|}}}]] | [[Is soulbound::{{{is_soulbound|}}}]] | ||
[[ | [[Consumable category::{{{category|}}}]] | ||
[[Execution time::{{{execution_time|}}}]] | [[Execution time::{{{execution_time|}}}]] | ||
[[Cooldown (minutes)::{{{cooldown_minutes|}}}]] | [[Cooldown (minutes)::{{{cooldown_minutes|}}}]] | ||
| Line 148: | Line 163: | ||
[[Heal maximum::{{{heal_max|}}}]] | [[Heal maximum::{{{heal_max|}}}]] | ||
[[Trigger effect::{{{trigger_effect|}}}]] | [[Trigger effect::{{{trigger_effect|}}}]] | ||
[[Level requirement::{{{level_requirement|}}}]] | [[Level requirement::{{{level_requirement|}}}]] | ||
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}} | |||
{{#arraymap:{{{ | |||
[[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|}}}]] | ||
{{#arraymap:{{{component1_material|}}}|,|x|[[Crafting component material::x]]}} | |||
[[Crafting component material | {{#arraymap:{{{component1_material_category|}}}|,|x|[[Crafting component material category::x]]}} | ||
[[Crafting component name::{{{component2_name|}}}]] | [[Crafting component name::{{{component2_name|}}}]] | ||
{{#arraymap:{{{component2_material|}}}|,|x|[[Crafting component material::x]]}} | |||
[[Crafting component material | {{#arraymap:{{{component2_material_category|}}}|,|x|[[Crafting component material category::x]]}} | ||
[[Crafting component name::{{{component3_name|}}}]] | [[Crafting component name::{{{component3_name|}}}]] | ||
{{#arraymap:{{{component3_material|}}}|,|x|[[Crafting component material::x]]}} | |||
[[Crafting component material | {{#arraymap:{{{component3_material_category|}}}|,|x|[[Crafting component material category::x]]}} | ||
[[Crafting component name::{{{component4_name|}}}]] | [[Crafting component name::{{{component4_name|}}}]] | ||
{{#arraymap:{{{component4_material|}}}|,|x|[[Crafting component material::x]]}} | |||
[[Crafting component material | {{#arraymap:{{{component4_material_category|}}}|,|x|[[Crafting component material category::x]]}} | ||
[[Crafting component name::{{{component5_name|}}}]] | [[Crafting component name::{{{component5_name|}}}]] | ||
{{#arraymap:{{{component5_material|}}}|,|x|[[Crafting component material::x]]}} | |||
[[Crafting component material | {{#arraymap:{{{component5_material_category|}}}|,|x|[[Crafting component material category::x]]}} | ||
<span style="display:none">{{#default_form:Consumable}}</span> | <span style="display:none">{{#default_form:Consumable}}</span> | ||
</div></includeonly> | </div></includeonly> | ||
