Jump to content

Template:Reagent: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
Line 1: Line 1:
<div class="reagent-template">
<div class="reagent-template">
 
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
 
<!-- ========================== -->
[[File:{{{tooltip_image|ReagentPlaceholder.png}}}|thumb]]
<!--        SET IMAGE          -->
 
<!-- ========================== -->
{{#if:{{{tooltip_image|}}}|
[[File:{{{tooltip_image}}}|thumb|{{{name|}}} tooltip]]
}}
<!-- ========================== -->
<!-- ========================== -->
<!--          EFFECTS          -->
<!--          EFFECTS          -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{effect1_value|}}}|
{{#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>
<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;" />
Line 22: Line 25:
<!--      REQUIREMENTS        -->
<!--      REQUIREMENTS        -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{level_requirement|}}}{{{role_requirement|}}}{{{specialization_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;" />
<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:{{{role_requirement|}}}|'''Role Requirement''': [[{{{role_requirement}}}]]<br />
}}{{#if:{{{class_requirement|}}}|'''Class Requirement''': [[{{{class_requirement}}}]]<br />
}}{{#if:{{{specialization_requirement|}}}|'''Specialization Requirement''': [[{{{specialization_requirement}}}]]<br />
}}</div>
}}</div>
}}
}}
<!-- ========================== -->
<!-- ========================== -->
<!--         FLAVOR TEXT       -->
<!--     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|}}}|
{{#if:{{{flavor_text|}}}|
Line 40: Line 49:
}}
}}
<!-- ========================== -->
<!-- ========================== -->
<!--        ACQUISITION      -->
<!--       SELL PRICE         -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{how_to_acquire|}}}|
{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Acquisition</div>
{{PriceDisplay
<hr style="border: 0; border-top: 1px solid #555;" />
|gold={{{sell_price_gold|}}}
{{Div col|colwidth=20em}}
|silver={{{sell_price_silver|}}}
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
|copper={{{sell_price_copper|}}}
{{Div col end}}
}}
}}
<!-- ========================== -->
<!--        SELL PRICE        -->
<!-- ========================== -->
{{#if:{{{sell_price|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sell Price</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">'''Sell Price''': {{{sell_price}}}</div>
}}
}}
<!-- ========================== -->
<!-- ========================== -->
<!--        CATEGORIES       -->
<!--        CATEGORIES         -->
<!-- ========================== -->
<!-- ========================== -->
[[Category:Reagents]]
[[Category:Reagent]]
{{#if:{{{reagent_type|}}}|[[Category:{{{reagent_type}}}]]}}
{{#if:{{{reagent_type|}}}|[[Category:{{{reagent_type}}} Reagents]]}}
{{#if:{{{class_requirement|}}}|[[Category:{{{class_requirement}}} Reagents]]}}
</div>


</div>
<includeonly><div style="display:none">
[[Reagent type::{{{reagent_type|}}}]]
[[Reagent ability::{{{reagent_ability|}}}]]
[[Level requirement::{{{level_requirement|}}}]]
[[Class requirement::{{{class_requirement}}}]]}}
[[Reagent effect::{{{effect1_type|}}}]]
[[Reagent effect::{{{effect2_type|}}}]]
[[Reagent effect::{{{effect3_type|}}}]]
[[Reagent effect::{{{effect4_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>
</div></includeonly>

Revision as of 19:37, 17 June 2025

Reagent