Jump to content

Template:Ammo: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
 
(32 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="ammo-template">
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}
<!--
<!--
== Usage == Copy/Paste from "{{Ammo" to the closing brackets "}}" and fill in the variables
==========================
          STATS         
==========================
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#ifeq:{{lc:{{{is_soulbound|}}}}}|yes|'''This item is Soulbound and cannot be traded.'''<br />
}}'''Equipment Type''': [[Ammo]]<br />
{{#if:{{{ammo_type|}}}|'''Ammo Type: [[{{{ammo_type}}}]]'''<br />
}}{{#if:{{{level_requirement|}}}|'''Level Requirement:''' {{{level_requirement}}}<br />
}}{{#if:{{{class_requirement|}}}|'''Class Requirement:''' {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br />
}}</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|}}}
}}}}<!--
==========================
    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|}}}
}}}}<!--
==========================
      CRAFTING INFO     
==========================
-->{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}|
{{CraftingDetails
| crafting_profession = {{{crafting_profession|}}}
| recipe_page        = {{{recipe_page|}}}


| component1_name              = {{{component1_name|}}}
| component1_material          = {{{component1_material|}}}
| component1_category_tier    = {{{component1_category_tier|}}}
| component1_material_category = {{{component1_material_category|}}}


{{Ammo
| component2_name              = {{{component2_name|}}}
|item name=
| component2_material          = {{{component2_material|}}}
|tooltip image file=
| component2_category_tier    = {{{component2_category_tier|}}}
|ammo type=Arrow
| component2_material_category = {{{component2_material_category|}}}
|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=
}}


-->
| component3_name              = {{{component3_name|}}}
[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]
| component3_material          = {{{component3_material|}}}
| component3_category_tier    = {{{component3_category_tier|}}}
| component3_material_category = {{{component3_material_category|}}}


<h2> Stats </h2>
| component4_name              = {{{component4_name|}}}
:Equipment Type: [[:Category:{{{equipment type}}}|{{{equipment type}}}]]
| component4_material          = {{{component4_material|}}}
:Requirements: {{{level requirement}}} {{{class requirement}}}
| component4_category_tier    = {{{component4_category_tier|}}}
{{#if: {{{stat category 1}}}
| component4_material_category = {{{component4_material_category|}}}
|{{Additional Stats
 
|stat value 1={{{stat value 1}}}
| component5_name              = {{{component5_name|}}}
|stat category 1={{{stat category 1}}}
| component5_material          = {{{component5_material|}}}
|stat value 2={{{stat value 2}}}
| component5_category_tier    = {{{component5_category_tier|}}}
|stat category 2={{{stat category 2}}}
| component5_material_category = {{{component5_material_category|}}}
|stat value 3={{{stat value 3}}}
}}}}<!--
|stat category 3={{{stat category 3}}}
==========================
|stat value 4={{{stat value 4}}}
          NOTES         
|stat category 4={{{stat category 4}}}
==========================
|stat value 5={{{stat value 5}}}
-->{{#if:{{{notes|}}}|
|stat category 5={{{stat category 5}}}
{{Notes
}}
|notes={{{notes|}}}
}}
}}}}<!--
{{#if: {{{recipe}}}
==========================
|<h2> Recipe </h2>
        CATEGORIES       
{{{recipe}}}
==========================
{{#if: {{{crafting components}}}
--><includeonly>[[Category:Ammo]]</includeonly>
|:Using:
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Ammo]]}}
{{{crafting components}}}
{{#if:{{{ammo_type|}}}|[[Category:{{{ammo_type}}}]]}}
}}
{{#if:{{{class_requirement|}}}|
{{#if: {{{crafting profession}}}
{{#invoke:ClassCategories|fromDelimited
|[[Category:{{{crafting profession}}}]]
| {{{class_requirement}}}
}}
| delimiter=,
}}
| equipment_type=Ammo
{{#if: {{{how to acquire}}}
}} }}
|<h2> How to Acquire </h2>
 
{{{how to acquire}}}
<includeonly><div style="display:none">
}}
[[Is soulbound::{{{is_soulbound|}}}]]
{{#if: {{{sale price}}}
[[Equipment type::Ammo]]
|<h2> Sale Price </h2>
[[Ammo type::{{{ammo_type|}}}]]
<!-- X Gold Y Silver Z Copper -->
 
:{{{sale price}}}
[[Level requirement::{{{level_requirement|}}}]]
}}
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}}
{{#if:{{{equipment type}}}
 
|[[Category:Ammo]]{{#if:{{{ammo type}}}|[[Category:{{{ammo type}}}]]}}
[[Profession::{{{crafting_profession|}}}]]
}}
{{#arraymap:{{{recipe_page|}}}|,|x|[[Recipe page::x]]}}
[[Crafting component name::{{{component1_name|}}}]]
{{#arraymap:{{{component1_material|}}}|,|x|[[Crafting component material::x]]}}
{{#arraymap:{{{component1_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component2_name|}}}]]
{{#arraymap:{{{component2_material|}}}|,|x|[[Crafting component material::x]]}}
{{#arraymap:{{{component2_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component3_name|}}}]]
{{#arraymap:{{{component3_material|}}}|,|x|[[Crafting component material::x]]}}
{{#arraymap:{{{component3_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component4_name|}}}]]
{{#arraymap:{{{component4_material|}}}|,|x|[[Crafting component material::x]]}}
{{#arraymap:{{{component4_material_category|}}}|,|x|[[Crafting component material category::x]]}}
[[Crafting component name::{{{component5_name|}}}]]
{{#arraymap:{{{component5_material|}}}|,|x|[[Crafting component material::x]]}}
{{#arraymap:{{{component5_material_category|}}}|,|x|[[Crafting component material category::x]]}}
<span style="display:none">{{#default_form:Ammo}}</span>
</div></includeonly>

Latest revision as of 18:38, 29 June 2025

Ammo

Image Needed
Stats

Equipment Type: Ammo