Jump to content

Template:Reagent: Difference between revisions

From Drifters Almanac
m Protected "Template:Reagent" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
Line 1: Line 1:
<!--
<div class="reagent-template">
== Usage == Copy/Paste from "{{Reagent" to the closing brackets "}}" and fill in the variables


'''{{{name|{{PAGENAME}}}}}'''


{{Reagent
[[File:{{{tooltip_image|ReagentPlaceholder.png}}}|thumb]]
|item name=Crude Salve
 
|tooltip image file=Crude_Salve.png
<!-- ========================== -->
|type of reagent=Salve
<!--          TYPE            -->
|reagent ability=First Aid
<!-- ========================== -->
|effects value 1=+4
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Type</div>
|effects category 1=Health
<hr style="border: 0; border-top: 1px solid #555;" />
|effects value 2=
<div style="margin-left: 1em;">
|effects category 2=
{{{reagent_type}}} for [[{{{reagent_ability}}}]]
|effects value 3=
</div>
|effects category 3=
 
|effects value 4=
<!-- ========================== -->
|effects category 4=
<!--          EFFECTS          -->
|effects value 5=
<!-- ========================== -->
|effects category 5=
{{#if:{{{effect1_value|}}}|
|how to acquire=*[[Doe/Newhaven_Valley|Doe (Newhaven Valley)]]
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Effect</div>
*[[Brown Bear Cub|Brown Bear Cub (Newhaven Valley)]]
<hr style="border: 0; border-top: 1px solid #555;" />
|level requirement=2
<div style="margin-left: 1em;">
|role requirement=Supporter
{{#if:{{{effect1_value|}}}|{{{effect1_value}}} {{{effect1_type}}}<br />}}
|specialization requirement=
{{#if:{{{effect2_value|}}}|{{{effect2_value}}} {{{effect2_type}}}<br />}}
|sale price=1 Copper
{{#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>
}}
}}


-->
<!-- ========================== -->
[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]
<!--      REQUIREMENTS        -->
<!-- ========================== -->
{{#if:{{{level_requirement|}}}{{{role_requirement|}}}{{{specialization_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:{{{role_requirement|}}}|'''Role Requirement''': [[{{{role_requirement}}}]]<br />}}
{{#if:{{{specialization_requirement|}}}|'''Specialization Requirement''': [[{{{specialization_requirement}}}]]<br />}}
</div>
}}


<h2> {{{type of reagent}}} for [[{{{reagent ability}}}]] </h2>
<!-- ========================== -->
{{#if: {{{effects value 1}}}
<!--        FLAVOR TEXT      -->
|:{{{effects value 1}}} {{{effects category 1}}}
<!-- ========================== -->
}}{{#if: {{{effects value 2}}}
{{#if:{{{flavor_text|}}}|
|:{{{effects value 2}}} {{{effects category 2}}}
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div>
}}{{#if: {{{effects value 3}}}
<hr style="border: 0; border-top: 1px solid #555;" />
|:{{{effects value 3}}} {{{effects category 3}}}
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div>
}}{{#if: {{{effects value 4}}}
|:{{{effects value 4}}} {{{effects category 4}}}
}}{{#if: {{{effects value 5}}}
|:{{{effects value 5}}} {{{effects category 5}}}
}}
}}
{{#if: {{{level requirement}}}
 
|<h2> Requirements </h2>
<!-- ========================== -->
:Level {{{level requirement}}} {{#if: {{{role requirement}}}|[[:Category:{{{role requirement}}}|{{{role requirement}}}]][[Category:{{{role requirement}}}]]}}{{#if: {{{specialization requirement}}}|[[:Category:{{{specialization requirement}}}|{{{specialization requirement}}}]][[Category:{{{specialization requirement}}}]]}}
<!--        ACQUISITION      -->
<!-- ========================== -->
{{#if:{{{how_to_acquire|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Acquisition</div>
<hr style="border: 0; border-top: 1px solid #555;" />
{{Div col|colwidth=20em}}
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
{{Div col end}}
}}
}}
{{#if: {{{how to acquire}}}
 
|<h2> How to Acquire </h2>
<!-- ========================== -->
{{{how to acquire}}}
<!--        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>
}}
}}
{{#if: {{{sale price}}}
 
|<h2> Sale Price </h2>
<!-- ========================== -->
<!-- X Gold Y Silver Z Copper -->
<!--        CATEGORIES        -->
:{{{sale price}}}
<!-- ========================== -->
}}
[[Category:Reagents]]
[[Category:Reagent]][[Category:{{{type of reagent}}}]]
{{#if:{{{reagent_type|}}}|[[Category:{{{reagent_type}}}]]}}
 
</div>

Revision as of 10:53, 7 May 2025

Reagent

File:ReagentPlaceholder.png
Type

{{{reagent_type}}} for [[{{{reagent_ability}}}]]