Jump to content

Template:Ammo: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
Line 1: Line 1:
<!--
<div class="ammo-template">
== Usage == Copy/Paste from "{{Ammo" to the closing brackets "}}" and fill in the variables
If multiple recipes make the same ammo (as is the case with most unimbued ammo) listing the components is pointless. Erase the ":-" for the crafting components variable


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


{{Ammo
[[File:{{{tooltip_image|AmmoPlaceholder.png}}}|thumb]]
|item name=
|tooltip image file=
|ammo type=Arrow
|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=
|level requirement=
|class requirement=[[Adventuring]]
|how to acquire=*[[Shoat|Shoat (Newhaven Valley)]]
|recipe=*
|crafting profession=
|crafting components=:-
|sale price=
}}
 
-->
[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]


<h2> Overview </h2>
<!-- ========================== -->
:Equipment Type: [[:Category:Ammo|Ammo]]
<!--          STATS          -->
:Requirements: {{{level requirement}}} {{{class requirement}}}
<!-- ========================== -->
{{#if: {{{stat category 1}}}
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
|<h2> Stats </h2>
<hr style="border: 0; border-top: 1px solid #555;" />
{{Additional Stats
<div style="margin-left: 1em;">
|stat value 1={{{stat value 1}}}
{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br />
|stat category 1={{{stat category 1}}}
}}'''Slot''': [[:Category:Ammo|Ammo]]<br />
|stat value 2={{{stat value 2}}}
{{#if:{{{ammo_type|}}}|'''Ammo Type''': [[:Category:{{{ammo_type}}}|{{{ammo_type}}}]]<br />
|stat category 2={{{stat category 2}}}
}}{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
|stat value 3={{{stat value 3}}}
}}{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}}<br />
|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: {{{how to acquire}}}
|<h2> How to Acquire </h2>
{{{how to acquire}}}
}}
}}
{{#if: {{{sale price}}}
<!-- ========================== -->
|<h2> Sale Price </h2>
<!--      CRAFTING INFO        -->
<!-- X Gold Y Silver Z Copper -->
<!-- ========================== -->
:{{{sale price}}}
{{#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: {{{recipe}}}
</div>
|<h2> Recipe </h2>
{{{recipe}}}
{{#if: {{{crafting components}}}
|: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}}
}}
}}
<!-- ========================== -->
<!--        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:{{{equipment type}}}
<!-- ========================== -->
|[[Category:Ammo]]{{#if:{{{ammo type}}}|[[Category:{{{ammo type}}}]]}}
<!--        CATEGORIES        -->
<!-- ========================== -->
[[Category:Ammo]]
{{#if:{{{ammo_type|}}}|[[Category:{{{ammo_type}}}]]
}}{{#if:{{{crafting_profession|}}}|[[Category:Crafted Ammo]]
}}{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Ammo]]
}}{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Ammo]]
}}{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Ammo]]
}}
}}
</div>

Revision as of 07:48, 6 May 2025

Ammo

File:AmmoPlaceholder.png
Stats

Slot: Ammo