Jump to content

Template:Reagent: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
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]]
<!--        SET IMAGE          -->
}}<!--
<!-- ========================== -->
==========================
{{#if:{{{tooltip_image|}}}|
         EFFECTS           
[[File:{{{tooltip_image}}}|thumb|{{{name|}}} tooltip]]
==========================
}}
-->{{#if:{{{effect1_value|}}}{{{effect2_value|}}}{{{effect3_value|}}}{{{effect4_value|}}}{{{effect5_value|}}}|
<!-- ========================== -->
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">[[{{{reagent_type}}}]] for [[{{{reagent_ability}}}]]</div>
<!--         EFFECTS          -->
<!-- ========================== -->
{{#if:{{{effect1_value|}}}{{{effect2_value|}}}{{{effect3_value|}}}{{{effect4_value|}}}{{{effect5_value|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">[[:Category:{{{reagent_type}}}|{{{reagent_type}}}]] for [[{{{reagent_ability}}}]]</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;">
Line 21: Line 17:
}}{{#if:{{{effect5_value|}}}|{{{effect5_value}}} {{{effect5_type}}}<br />
}}{{#if:{{{effect5_value|}}}|{{{effect5_value}}} {{{effect5_type}}}<br />
}}</div>
}}</div>
}}
}}<!--
<!-- ========================== -->
==========================
<!--       REQUIREMENTS        -->
       REQUIREMENTS         
<!-- ========================== -->
==========================
{{#if:{{{level_requirement|}}}{{{class_requirement|}}}|
-->{{#if:{{{level_requirement|}}}{{{class_requirement|}}}|
<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;" />
Line 32: Line 28:
}}{{#if:{{{class_requirement|}}}|'''Class Requirement''': {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br />
}}{{#if:{{{class_requirement|}}}|'''Class Requirement''': {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br />
}}</div>
}}</div>
}}
}}<!--
<!-- ========================== -->
==========================
<!--     ACQUISITION           -->
     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|}}}
}}
}}}}<!--
}}
==========================
<!-- ========================== -->
         CATEGORIES      
<!--         CATEGORIES         -->
==========================
<!-- ========================== -->
--><includeonly>[[Category:Reagent]]</includeonly>
<includeonly>[[Category:Reagent]]</includeonly>
{{#if:{{{reagent_type|}}}|[[Category:{{{reagent_type}}} Reagents]]}}
{{#if:{{{reagent_type|}}}|[[Category:{{{reagent_type}}} Reagents]]}}
{{#if:{{{class_requirement|}}}|
{{#if:{{{class_requirement|}}}|
Line 74: Line 77:
[[Reagent type::{{{reagent_type|}}}]]
[[Reagent type::{{{reagent_type|}}}]]
[[Reagent ability::{{{reagent_ability|}}}]]
[[Reagent ability::{{{reagent_ability|}}}]]
[[Level requirement::{{{level_requirement|}}}]]
[[Level requirement::{{{level_requirement|}}}]]
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}}
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}}
[[Reagent effect::{{{effect1_type|}}}]]
[[Reagent effect::{{{effect1_type|}}}]]
[[Reagent effect::{{{effect2_type|}}}]]
[[Reagent effect::{{{effect2_type|}}}]]
Line 81: Line 86:
[[Reagent effect::{{{effect4_type|}}}]]
[[Reagent effect::{{{effect4_type|}}}]]
[[Reagent effect::{{{effect5_type|}}}]]
[[Reagent effect::{{{effect5_type|}}}]]
{{#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|}}}]]
<span style="display:none">{{#default_form:Reagent}}</span>
<span style="display:none">{{#default_form:Reagent}}</span>
</div></includeonly>
</div></includeonly>

Revision as of 13:02, 25 June 2025

Reagent