Jump to content

Template:Reagent: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
<!--
<div class="reagent-template">
== Usage == Copy/Paste from "{{Reagent" to the closing brackets "}}" and fill in the variables
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name|}}} Tooltip]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}<!--
==========================
        EFFECTS         
==========================
-->{{#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>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#if:{{{effect1_value|}}}|{{{effect1_value}}} [[{{{effect1_type}}}]]<br />
}}{{#if:{{{effect2_value|}}}|{{{effect2_value}}} [[{{{effect2_type}}}]]<br />
}}{{#if:{{{effect3_value|}}}|{{{effect3_value}}} [[{{{effect3_type}}}]]<br />
}}{{#if:{{{effect4_value|}}}|{{{effect4_value}}} [[{{{effect4_type}}}]]<br />
}}{{#if:{{{effect5_value|}}}|{{{effect5_value}}} [[{{{effect5_type}}}]]<br />
}}</div>
}}<!--
==========================
      REQUIREMENTS       
==========================
-->{{#if:{{{level_requirement|}}}{{{class_requirement|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Requirements</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
}}{{#if:{{{class_requirement|}}}|'''Class Requirement''': {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br />
}}</div>
}}<!--
==========================
    ACQUISITION         
==========================
-->{{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|}}}
}}}}<!--
==========================
          NOTES         
==========================
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
        CATEGORIES       
==========================
--><includeonly>[[Category:Reagent]]</includeonly>
{{#if:{{{reagent_type|}}}|[[Category:{{{reagent_type}}} Reagents]]}}
{{#if:{{{class_requirement|}}}|
{{#invoke:ClassCategories|fromDelimited
| {{{class_requirement}}}
| delimiter=,
| equipment_type=Reagents
}} }}
</div>


<includeonly><div style="display:none">
[[Reagent type::{{{reagent_type|}}}]]
[[Reagent ability::{{{reagent_ability|}}}]]


{{Reagent
[[Level requirement::{{{level_requirement|}}}]]
|item name=Crude Salve
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}}
|tooltip image file=Crude_Salve.png
|descriptor=Salve for First Aid
|effects value 1=+4
|effects category 1=Health
|effects value 2=
|effects category 2=
|effects value 3=
|effects category 3=
|effects value 4=
|effects category 4=
|effects value 5=
|effects category 5=
|level requirement=
|how to acquire=*[[Doe/Newhaven_Valley|Doe (Newhaven Valley)]]
*[[Brown Bear Cub|Brown Bear Cub (Newhaven Valley)]]
|level requirement=2
|role requirement=Supporter
|specialization requirement=
|sale price=1 Copper
}}


-->
[[Reagent effect::{{{effect1_type|}}}]]
[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]
[[Reagent effect::{{{effect2_type|}}}]]
 
[[Reagent effect::{{{effect3_type|}}}]]
<h2> {{{descriptor}}} </h2>
[[Reagent effect::{{{effect4_type|}}}]]
{{#if: {{{effects value 1}}}
[[Reagent effect::{{{effect5_type|}}}]]
|:{{{effects value 1}}} {{{effects category 1}}}[[Category:{{{effects category 1}}}]]
<span style="display:none">{{#default_form:Reagent}}</span>
}}{{#if: {{{effects value 2}}}
</div></includeonly>
|:{{{effects value 2}}} {{{effects category 2}}}[[Category:{{{effects category 2}}}]]
}}{{#if: {{{effects value 3}}}
|:{{{effects value 3}}} {{{effects category 3}}}[[Category:{{{effects category 3}}}]]
}}{{#if: {{{effects value 4}}}
|:{{{effects value 4}}} {{{effects category 4}}}[[Category:{{{effects category 4}}}]]
}}{{#if: {{{effects value 5}}}
|:{{{effects value 5}}} {{{effects category 5}}}[[Category:{{{effects category 5}}}]]
}}
{{#if: {{{level requirement}}}
|<h2> Requirements </h2>
:Level {{{level requirement}}} {{#if: {{{role requirement}}}|{{{role requirement}}}[[Category:{{{role requirement}}}]]}}{{#if: {{{specialization requirement}}}|{{{specialization requirement}}}[[Category:{{{specialization requirement}}}]]}}
}}
{{#if: {{{how to acquire}}}
|<h2> How to Acquire </h2>
{{{how to acquire}}}
}}
{{#if: {{{sale price}}}
|<h2> Sale Price </h2>
<!-- X Gold Y Silver Z Copper -->
:{{{sale price}}}
}}
[[Category:Reagent]][[Category:{{{category}}}]]

Latest revision as of 12:17, 2 July 2025

Reagent

Image Needed