Template:Tool: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
<div class="tool-template"> | <div class="tool-template"> | ||
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly> | |||
'''{{{name|{{PAGENAME}}}}}''' | '''{{{name|{{PAGENAME}}}}}''' | ||
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]}} | |||
[[File:{{{tooltip_image | |||
<!-- ========================== --> | <!-- ========================== --> | ||
<!-- 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 /> | ||
}}'''Equipment Type''': [[:Category:Tool|Tool]]<br /> | }}'''Equipment Type''': [[:Category:Tool|Tool]]<br /> | ||
{{#if:{{{tool_type|}}}|'''Tool Type''': [[:Category:{{{tool_type}}}|{{{tool_type}}}]]<br /> | {{#if:{{{tool_type|}}}|'''Tool Type''': [[:Category:{{{tool_type}}}|{{{tool_type}}}]]<br /> | ||
}}{{#if:{{{execution_modifier|}}}|'''Execution Modifier''': +{{{execution_modifier}}}%<br /> | }}{{#if:{{{execution_modifier|}}}|'''Execution Modifier''': +{{{execution_modifier}}}%<br /> | ||
}}{{#if:{{{durability|}}}|'''Durability''': {{{durability}}}<br /> | }}{{#if:{{{durability|}}}|'''Durability''': {{{durability}}}<br /> | ||
}}{{#if:{{{ | }}{{#if:{{{profession_level_requirement|}}}|'''Profession Level Requirement''': {{{profession_level_requirement}}}<br /> | ||
}}{{#if:{{{profession_requirement|}}}|'''Profession Requirement''': [[:Category:{{{profession_requirement}}}|{{{profession_requirement}}}]]<br /> | }}{{#if:{{{profession_requirement|}}}|'''Profession Requirement''': [[:Category:{{{profession_requirement}}}|{{{profession_requirement}}}]]<br /> | ||
}} | }} | ||
</div> | </div> | ||
<!-- ========================== --> | |||
<!-- ACQUISITION --> | |||
<!-- ========================== --> | |||
{{#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:{{{flavor_text|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div> | |||
}} | |||
<!-- ========================== --> | |||
<!-- 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 --> | <!-- CRAFTING INFO --> | ||
<!-- ========================== --> | <!-- ========================== --> | ||
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}| | |||
{{CraftingDetails | {{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|}}} | |||
{{ | |||
}} | }} | ||
}} | }} | ||
<!-- ========================== --> | <!-- ========================== --> | ||
<!-- CATEGORIES | <!-- CATEGORIES --> | ||
<!-- ========================== --> | <!-- ========================== --> | ||
[[Category:Tool]] | <includeonly>[[Category:Tool]]</includeonly> | ||
{{#if:{{{tool_type|}}}|[[Category:{{{tool_type}}}]] | {{#if:{{{crafting_profession|}}}|[[Category:Crafted Tool]]}} | ||
}}{{#if:{{{ | {{#if:{{{tool_type|}}}|[[Category:{{{tool_type}}}]]}} | ||
}} | {{#if:{{{profession_requirement|}}}|[[Category:{{{profession_requirement}}} Tool]]}} | ||
</div> | <includeonly><div style="display:none"> | ||
[[Is soulbound::{{{is_soulbound|}}}]] | |||
[[Equipment type::Tool]] | |||
[[Tool type::{{{tool_type|}}}]] | |||
[[Execution modifier::{{{execution_modifier|}}}]] | |||
[[Profession level requirement::{{{profession_level_requirement|}}}]] | |||
[[Profession requirement::{{{profession_requirement}}}]]}} | |||
{{#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|}}}]] | |||
{{#arraymap:{{{recipe_page|}}}|,|x|[[Recipe page::x]]}} | |||
[[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:Tool}}</span> | |||
</div></includeonly> | |||