Jump to content

Template:Tool: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
Line 1: Line 1:
<!--
<div class="tool-template">
== Usage == Copy/Paste from "{{Tool" to the closing brackets "}}" and fill in the variables


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


{{Tool
[[File:{{{tooltip_image|ToolPlaceholder.png}}}|thumb]]
|item name=
 
|tooltip image file=
<!-- ========================== -->
|tool type=
<!--          STATS          -->
|execution modifier=
<!-- ========================== -->
|max crafted durability=
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
|durability=
<hr style="border: 0; border-top: 1px solid #555;" />
|level requirement=
<div style="margin-left: 1em;">
|class requirement=[[Forester]]
{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br />
|how to acquire=*[[Shoat|Shoat (Newhaven Valley)]]
}}'''Equipment Type''': [[:Category:Tool|Tool]]<br />
|recipe=*
{{#if:{{{tool_type|}}}|'''Tool Type''': [[:Category:{{{tool_type}}}|{{{tool_type}}}]]<br />
|crafting profession=
}}{{#if:{{{gathering_skill|}}}|'''Gathering Skill''': [[:Category:{{{gathering_skill}}}|{{{gathering_skill}}}]]<br />
|crafting components=:-
}}{{#if:{{{execution_modifier|}}}|'''Execution Modifier''': +{{{execution_modifier}}}%<br />
|sale price=75 Copper
}}{{#if:{{{durability|}}}|'''Durability''': {{{durability}}}<br />
}}{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
}}{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}}<br />
}}
}}
</div>


-->
<!-- ========================== -->
[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]
<!--      CRAFTING INFO        -->
 
<!-- ========================== -->
<h2> Stats </h2>
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}{{{component1_name|}}}{{{component1_material|}}}|
:Equipment Type: [[:Category:Tool|Tool]]
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Crafting</div>
:Tool Type: [[:Category:{{{tool type}}}|{{{tool type}}}]]
<hr style="border: 0; border-top: 1px solid #555;" />
{{#if: {{{execution modifier}}}
<div style="margin-left: 1em;">
|:Execution Modifier: +{{{execution modifier}}}%
{{#if:{{{crafting_profession|}}}|'''Crafted By''': [[{{{crafting_profession}}}]]<br />
}}{{#if: {{{max crafted durability}}}
}}{{#if:{{{crafting_station|}}}|'''Crafting Station''': [[{{{crafting_station}}}]]<br />
|:Max Durability: {{{max crafted durability}}}
}}{{#if:{{{recipe_page|}}}|'''Recipe''': [[{{{recipe_page}}}]]<br />
}}{{#if: {{{durability}}} |:Durability: {{{durability}}}
}}{{#if:{{{component1_name|}}}{{{component1_material|}}}|* '''{{{component1_name}}}''': [[{{{component1_material}}}]]
}}{{#if:{{{component2_name|}}}{{{component2_material|}}}|* '''{{{component2_name}}}''': [[{{{component2_material}}}]]
}}{{#if:{{{component3_name|}}}{{{component3_material|}}}|* '''{{{component3_name}}}''': [[{{{component3_material}}}]]
}}{{#if:{{{component4_name|}}}{{{component4_material|}}}|* '''{{{component4_name}}}''': [[{{{component4_material}}}]]
}}{{#if:{{{component5_name|}}}{{{component5_material|}}}|* '''{{{component5_name}}}''': [[{{{component5_material}}}]]
}}
}}
:Requirements: {{{level requirement}}} {{{class requirement}}}
</div>
{{#if: {{{recipe}}}
|<h2> Recipe </h2>
{{{recipe}}} using:
{{{crafting components}}}
{{#if: {{{crafting profession}}}
|[[Category:{{{crafting profession}}}]]
}}
}}
<!-- ========================== -->
<!--        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}}}
<!--        SALE PRICE        -->
<!-- ========================== -->
{{#if:{{{sale_price|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sale Price</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
'''Sale Price''': {{{sale_price}}}<br />
</div>
}}
}}
{{#if: {{{sale price}}}
 
|<h2> Sale Price </h2>
<!-- ========================== -->
<!-- X Gold Y Silver Z Copper -->
<!--        CATEGORIES        -->
:{{{sale price}}}
<!-- ========================== -->
[[Category:Tool]]
{{#if:{{{tool_type|}}}|[[Category:{{{tool_type}}}]]
}}{{#if:{{{crafting_profession|}}}|[[Category:Crafted Tool]]
}}{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Tool]]
}}{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Tool]]
}}{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Tool]]
}}
}}
[[Category:Tool]][[Category:{{{tool type}}}]]
 
</div>

Revision as of 12:25, 3 May 2025

Tool

File:ToolPlaceholder.png
Stats

Equipment Type: Tool