Jump to content

Template:Ammo: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
Line 1: Line 1:
<div class="ammo-template">
<div class="ammo-template">
 
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
 
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]}}
[[File:{{{tooltip_image|AmmoPlaceholder.png}}}|thumb]]
<!-- ========================== -->
<!-- ========================== -->
<!--          STATS           -->
<!--          STATS           -->
<!-- ========================== -->
<!-- ========================== -->
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
<div style="margin-left: 1em;">
{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br />
{{#ifeq:{{lc:{{{is_soulbound|}}}}}|yes|'''This item is Soulbound and cannot be traded.'''<br />
}}'''Slot''': [[:Category:Ammo|Ammo]]<br />
}}'''Slot''': [[:Category:Ammo|Ammo]<br />
{{#if:{{{ammo_type|}}}|'''Ammo Type''': [[:Category:{{{ammo_type}}}|{{{ammo_type}}}]]<br />
{{#if:{{{ammo_type|}}}|'''Ammo Type''': {{{ammo_type}}}<br />
}}{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<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 />
}}{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}}<br />
Line 24: Line 24:
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
{{AdditionalStats
{{AdditionalStats
| stat1_name  = {{{stat1_name|}}}
| stat1_name  = {{{stat1_name|}}}
| stat1_value = {{{stat1_value|}}}
| stat1_value = {{{stat1_value|}}}
| stat2_name  = {{{stat2_name|}}}
| stat2_name  = {{{stat2_name|}}}
| stat2_value = {{{stat2_value|}}}
| stat2_value = {{{stat2_value|}}}
| stat3_name  = {{{stat3_name|}}}
| stat3_name  = {{{stat3_name|}}}
| stat3_value = {{{stat3_value|}}}
| stat3_value = {{{stat3_value|}}}
| stat4_name  = {{{stat4_name|}}}
| stat4_name  = {{{stat4_name|}}}
| stat4_value = {{{stat4_value|}}}
| stat4_value = {{{stat4_value|}}}
| stat5_name  = {{{stat5_name|}}}
| stat5_name  = {{{stat5_name|}}}
| stat5_value = {{{stat5_value|}}}
| stat5_value = {{{stat5_value|}}}
| stat6_name  = {{{stat6_name|}}}
| stat6_name  = {{{stat6_name|}}}
| stat6_value = {{{stat6_value|}}}
| stat6_value = {{{stat6_value|}}}
}}}}
<!-- ========================== -->
<!--      ACQUISITION          -->
<!-- ========================== -->
{{#if:{{{dropped_by|}}}|{{DroppedBy|dropped_by={{{dropped_by}}}}}
}}{{#if:{{{sold_by|}}}|{{SoldBy|sold_by={{{sold_by}}}}}
}}{{#if:{{{quest_reward|}}}|{{QuestReward|quest_reward={{{quest_reward}}}}}
}}
<!-- ========================== -->
<!--        FLAVOR TEXT        -->
<!-- ========================== -->
{{#if:{{{flavor_text|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div>
}}
<!-- ========================== -->
<!--        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|}}}
}}
}}
}}
}}
Line 41: Line 65:
<!--      CRAFTING INFO        -->
<!--      CRAFTING INFO        -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}|
{{CraftingDetails
{{CraftingDetails
| crafting_profession = {{{crafting_profession|}}}
| crafting_profession = {{{crafting_profession|}}}
| recipe_page        = {{{recipe_page|}}}
| recipe_page        = {{{recipe_page|}}}


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


| component2_name              = {{{component2_name|}}}
| component2_name              = {{{component2_name|}}}
| component2_material          = {{{component2_material|}}}
| component2_material          = {{{component2_material|}}}
| component2_material_category = {{{component2_material_category|}}}
| component2_material_category = {{{component2_material_category|}}}


| component3_name              = {{{component3_name|}}}
| component3_name              = {{{component3_name|}}}
| component3_material          = {{{component3_material|}}}
| component3_material          = {{{component3_material|}}}
| component3_material_category = {{{component3_material_category|}}}
| component3_material_category = {{{component3_material_category|}}}


| component4_name              = {{{component4_name|}}}
| component4_name              = {{{component4_name|}}}
| component4_material          = {{{component4_material|}}}
| component4_material          = {{{component4_material|}}}
| component4_material_category = {{{component4_material_category|}}}
| component4_material_category = {{{component4_material_category|}}}


| component5_name              = {{{component5_name|}}}
| component5_name              = {{{component5_name|}}}
| component5_material          = {{{component5_material|}}}
| component5_material          = {{{component5_material|}}}
| component5_material_category = {{{component5_material_category|}}}
| component5_material_category = {{{component5_material_category|}}}
}}
}}
<!-- ========================== -->
<!--        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}}
}}
}}
<!-- ========================== -->
<!-- ========================== -->
<!--        SELL PRICE        -->
<!--        CATEGORIES        -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{sell_price|}}}|  
<includeonly>[[Category:Ammo]]</includeonly>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sell Price</div>
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Ammo]]}}
<hr style="border: 0; border-top: 1px solid #555;" />
{{#if:{{{ammo_type|}}}|[[Category:{{{ammo_type}}}]]}}
<div style="margin-left: 1em;">
{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Ammo]]}}
'''Sell Price''': {{{sell_price}}}<br />
{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Ammo]]}}
</div>
{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Ammo]]}}
}}
 
<!-- ========================== -->
<includeonly><div style="display:none">
<!--        CATEGORIES        -->
[[Is soulbound::{{{is_soulbound|}}}]]
<!-- ========================== -->
[[Ammo type::{{{ammo_type|}}}]]
[[Category:Ammo]]
[[Level requirement::{{{level_requirement|}}}]]
{{#if:{{{ammo_type|}}}|[[Category:{{{ammo_type}}}]]
[[Class requirement::{{{class_requirement1}}}]]}}
}}{{#if:{{{crafting_profession|}}}|[[Category:Crafted Ammo]]
[[Class requirement::{{{class_requirement2}}}]]}}
}}{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Ammo]]
[[Class requirement::{{{class_requirement3}}}]]}}
}}{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Ammo]]
[[Additional stats::{{{stat1_name|}}}]]
}}{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Ammo]]
[[Additional stats::{{{stat2_name|}}}]]
}}
[[Additional stats::{{{stat3_name|}}}]]
</div>
[[Additional stats::{{{stat4_name|}}}]]
[[Additional stats::{{{stat5_name|}}}]]
[[Additional stats::{{{stat6_name|}}}]]
[[Dropped by::{{{dropped_by|}}}]]
[[Sold by::{{{sold_by|}}}]]
[[Quest reward from::{{{quest_reward|}}}]]
[[Sell price (gold)::{{{sell_price_gold|}}}]]
[[Sell price (silver)::{{{sell_price_silver|}}}]]
[[Sell price (copper)::{{{sell_price_copper|}}}]]
[[Profession::{{{crafting_profession|}}}]]
[[Recipe page::{{{recipe_page|}}}]]
[[Crafting component name::{{{component1_name|}}}]]
[[Crafting component material::{{{component1_material|}}}]]
[[Crafting component material category::{{{component1_material_category|}}}]]
[[Crafting component name::{{{component2_name|}}}]]
[[Crafting component material::{{{component2_material|}}}]]
[[Crafting component material category::{{{component2_material_category|}}}]]
[[Crafting component name::{{{component3_name|}}}]]
[[Crafting component material::{{{component3_material|}}}]]
[[Crafting component material category::{{{component3_material_category|}}}]]
[[Crafting component name::{{{component4_name|}}}]]
[[Crafting component material::{{{component4_material|}}}]]
[[Crafting component material category::{{{component4_material_category|}}}]]
[[Crafting component name::{{{component5_name|}}}]]
[[Crafting component material::{{{component5_material|}}}]]
[[Crafting component material category::{{{component5_material_category|}}}]]
<span style="display:none">{{#default_form:Ammo}}</span>
</div></includeonly>

Revision as of 17:57, 30 May 2025

Ammo

Stats

Slot: [[:Category:Ammo|Ammo]