Jump to content

Template:Ammo: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
 
(18 intermediate revisions by the same user not shown)
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:Image_Placeholder.png|thumb|Image Needed]]}}
[[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 />
}}'''Equipment Type''': [[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_requirement|}}}|'''Class Requirement:''' {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br />
}}
}}</div><!--  
</div>
==========================
<!-- ========================== -->
     ADDITIONAL STATS    
<!--     ADDITIONAL STATS       -->
==========================
<!-- ========================== -->
-->{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}|
{{#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>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Additional Stats</div>
<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         
<!--      CRAFTING INFO       -->
==========================
<!-- ========================== -->
-->{{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
{{CraftingDetails
| crafting_profession = {{{crafting_profession|}}}
| crafting_profession = {{{crafting_profession|}}}
| recipe_page        = {{{recipe_page|}}}
| recipe_page        = {{{recipe_page|}}}
 
| component1_name              = {{{component1_name|}}}
| component1_material          = {{{component1_material|}}}
| component1_category_tier    = {{{component1_category_tier|}}}
| component1_material_category = {{{component1_material_category|}}}
 
| component2_name              = {{{component2_name|}}}
| component2_material          = {{{component2_material|}}}
| component2_category_tier    = {{{component2_category_tier|}}}
| component2_material_category = {{{component2_material_category|}}}
 
| component3_name              = {{{component3_name|}}}
| component3_material          = {{{component3_material|}}}
| component3_category_tier    = {{{component3_category_tier|}}}
| component3_material_category = {{{component3_material_category|}}}


| component1_name             = {{{component1_name|}}}
| component4_name             = {{{component4_name|}}}
| component1_material         = {{{component1_material|}}}
| component4_material         = {{{component4_material|}}}
| component1_material_category = {{{component1_material_category|}}}
| component4_category_tier    = {{{component4_category_tier|}}}
| component4_material_category = {{{component4_material_category|}}}


| component2_name             = {{{component2_name|}}}
| component5_name             = {{{component5_name|}}}
| component2_material         = {{{component2_material|}}}
| component5_material         = {{{component5_material|}}}
  | component2_material_category = {{{component2_material_category|}}}
| component5_category_tier    = {{{component5_category_tier|}}}
| component5_material_category = {{{component5_material_category|}}}
}}}}<!--
==========================
          NOTES         
==========================
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
        CATEGORIES       
==========================
--><includeonly>[[Category:Ammo]]</includeonly>
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Ammo]]}}
{{#if:{{{ammo_type|}}}|[[Category:{{{ammo_type}}}]]}}
{{#if:{{{class_requirement|}}}|
{{#invoke:ClassCategories|fromDelimited
  | {{{class_requirement}}}
| delimiter=,
| equipment_type=Ammo
}} }}


| component3_name              = {{{component3_name|}}}
<includeonly><div style="display:none">
| component3_material          = {{{component3_material|}}}
[[Is soulbound::{{{is_soulbound|}}}]]
| component3_material_category = {{{component3_material_category|}}}
[[Equipment type::Ammo]]
[[Ammo type::{{{ammo_type|}}}]]


| component4_name              = {{{component4_name|}}}
[[Level requirement::{{{level_requirement|}}}]]
| component4_material          = {{{component4_material|}}}
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}}
| component4_material_category = {{{component4_material_category|}}}


| component5_name              = {{{component5_name|}}}
[[Profession::{{{crafting_profession|}}}]]
| component5_material          = {{{component5_material|}}}
{{#arraymap:{{{recipe_page|}}}|,|x|[[Recipe page::x]]}}
| component5_material_category = {{{component5_material_category|}}}
[[Crafting component name::{{{component1_name|}}}]]
}}
{{#arraymap:{{{component1_material|}}}|,|x|[[Crafting component material::x]]}}
<!-- ========================== -->
{{#arraymap:{{{component1_material_category|}}}|,|x|[[Crafting component material category::x]]}}
<!--        ACQUISITION        -->
[[Crafting component name::{{{component2_name|}}}]]
<!-- ========================== -->
{{#arraymap:{{{component2_material|}}}|,|x|[[Crafting component material::x]]}}
{{#if:{{{how_to_acquire|}}}|  
{{#arraymap:{{{component2_material_category|}}}|,|x|[[Crafting component material category::x]]}}
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Acquisition</div>
[[Crafting component name::{{{component3_name|}}}]]
<hr style="border: 0; border-top: 1px solid #555;" />
{{#arraymap:{{{component3_material|}}}|,|x|[[Crafting component material::x]]}}
{{Div col|colwidth=20em}}
{{#arraymap:{{{component3_material_category|}}}|,|x|[[Crafting component material category::x]]}}
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
[[Crafting component name::{{{component4_name|}}}]]
{{Div col end}}
{{#arraymap:{{{component4_material|}}}|,|x|[[Crafting component material::x]]}}
}}
{{#arraymap:{{{component4_material_category|}}}|,|x|[[Crafting component material category::x]]}}
<!-- ========================== -->
[[Crafting component name::{{{component5_name|}}}]]
<!--        SELL PRICE        -->
{{#arraymap:{{{component5_material|}}}|,|x|[[Crafting component material::x]]}}
<!-- ========================== -->
{{#arraymap:{{{component5_material_category|}}}|,|x|[[Crafting component material category::x]]}}
{{#if:{{{sell_price|}}}|  
<span style="display:none">{{#default_form:Ammo}}</span>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sell Price</div>
</div></includeonly>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
'''Sell Price''': {{{sell_price}}}<br />
</div>
}}
<!-- ========================== -->
<!--        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>

Latest revision as of 18:38, 29 June 2025

Ammo

Image Needed
Stats

Equipment Type: Ammo