Jump to content

Template:Offhand: Difference between revisions

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


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


{{Offhand
[[File:{{{tooltip_image|OffhandPlaceholder.png}}}|thumb]]
|item name=
|tooltip image file=
|equipment type=Offhand Accessory
|level requirement=
|class requirement=[[Adventuring]]
|durability=
|stat value 1=
|stat category 1=
|stat value 2=
|stat category 2=
|stat value 3=
|stat category 3=
|stat value 4=
|stat category 4=
|stat value 5=
|stat category 5=
|how to acquire=*[[Shoat|Shoat (Newhaven Valley)]]
|recipe=
|crafting profession=
|crafting components=
|sale price=
}}


-->
<!-- ========================== -->
[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]
<!--          STATS          -->
 
<!-- ========================== -->
<h2> Stats </h2>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
:Equipment Type: [[:Category:{{{equipment type}}}|{{{equipment type}}}]]
<hr style="border: 0; border-top: 1px solid #555;" />
:Requirements: Level {{{level requirement}}} {{{class requirement}}}
<div style="margin-left: 1em;">
:Durability: {{{durability}}}
{{#if:{{{equipment_type|}}}|'''Slot''': [[:Category:{{{equipment_type}}} Equipment|{{{equipment_type}}}]]<br />
{{#if: {{{stat category 1}}}
}}{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
|{{Additional Stats
}}{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}}<br />
|stat value 1={{{stat value 1}}}
}}{{#if:{{{durability|}}}|'''Durability''': {{{durability}}}<br />
|stat category 1={{{stat category 1}}}
}}{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br />
|stat value 2={{{stat value 2}}}
|stat category 2={{{stat category 2}}}
|stat value 3={{{stat value 3}}}
|stat category 3={{{stat category 3}}}
|stat value 4={{{stat value 4}}}
|stat category 4={{{stat category 4}}}
|stat value 5={{{stat value 5}}}
|stat category 5={{{stat category 5}}}
}}
}}
</div>
<!-- ========================== -->
<!--    ADDITIONAL STATS      -->
<!-- ========================== -->
{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Additional Stats</div>
<hr style="border: 0; border-top: 1px solid #555;" />
{{AdditionalStats
| stat1_name  = {{{stat1_name|}}}
| stat1_value = {{{stat1_value|}}}
| stat2_name  = {{{stat2_name|}}}
| stat2_value = {{{stat2_value|}}}
| stat3_name  = {{{stat3_name|}}}
| stat3_value = {{{stat3_value|}}}
| stat4_name  = {{{stat4_name|}}}
| stat4_value = {{{stat4_value|}}}
| stat5_name  = {{{stat5_name|}}}
| stat5_value = {{{stat5_value|}}}
| stat6_name  = {{{stat6_name|}}}
| stat6_value = {{{stat6_value|}}}
}}
}}
{{#if: {{{recipe}}}
|<h2> Recipe </h2>
{{{recipe}}} using:
{{{crafting components}}}
{{#if: {{{crafting profession}}}
|[[Category:{{{crafting profession}}}]]
}}
}}
<!-- ========================== -->
<!--      CRAFTING INFO        -->
<!-- ========================== -->
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}{{{component1_name|}}}{{{component1_material|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Crafting</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#if:{{{crafting_profession|}}}|'''Crafted By''': [[{{{crafting_profession}}}]]<br />
}}{{#if:{{{recipe_page|}}}|'''Recipe''': [[{{{recipe_page}}}]]<br />
}}{{#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}}}]]
}}
}}
{{#if: {{{how to acquire}}}
</div>
|<h2> How to Acquire </h2>
{{{how to acquire}}}
}}
}}
{{#if: {{{sale price}}}
 
|<h2> Sale Price </h2>
<!-- ========================== -->
<!-- X Gold Y Silver Z Copper -->
<!--        CATEGORIES        -->
:{{{sale price}}}
<!-- ========================== -->
}}
[[Category:Offhand]]
{{#if:{{{equipment type}}}
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Offhand]]
|[[Category:{{{equipment type}}}]]
}}{{#if:{{{equipment_type|}}}|[[Category:{{{equipment_type}}} Equipment]]
}}{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Offhand]]
}}{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Offhand]]
}}{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Offhand]]
}}
}}
</div>

Revision as of 10:12, 2 May 2025