Jump to content

Template:Shield: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="shield-template">
<div class="shield-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|ShieldPlaceholder.png}}}|thumb|{{{name}}} Tooltip]]
<!--
 
==========================
<!-- ========================== -->
           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 />
}}'''Equipment Type''': [[:Category:Shield|Shield]]<br />
}}'''Equipment Type:''' '''[[Shield]]'''<br />
{{#if:{{{shield_type|}}}|'''Shield Type''': {{{shield_type}}}<br />
{{#if:{{{shield_type|}}}|'''Shield Type:''' {{{shield_type}}}<br />
}}{{#if:{{{armor_class|}}}|'''Armor Class''': {{{armor_class}}}<br />
}}{{#if:{{{armor_class|}}}|'''Armor Class:''' {{{armor_class}}}<br />
}}{{#if:{{{durability|}}}|'''Durability''': {{{durability}}}<br />
}}{{#if:{{{durability|}}}|'''Durability:''' {{{durability}}}<br />
}}{{#if:{{{min_block|}}}|'''{{{min_block}}} – {{{max_block}}} [[:Category:Block Value|Block Value]]''': <br />
}}{{#if:{{{threat|}}}|'''+{{{threat}}}% [[Threat]]'''<br />
}}{{#if:{{{threat|}}}|'''+{{{threat}}}% [[:Category:Threat|Threat]]'''<br />
}}{{#if:{{{min_block|}}}|'''{{{min_block}}} {{{max_block}}} [[Block Value]]'''<br />
}}{{#if:{{{plus_block|}}}|'''+{{{plus_block}}} [[:Category:Block|Block]]''' <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|}}}
}}
}}}}<!--
}}
==========================
<!-- ========================== -->
       REQUIREMENTS      
<!--       REQUIREMENTS       -->
==========================
<!-- ========================== -->
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Requirements</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Requirements</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:{{{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}}}]]}}
}}{{#if:{{{class_requirement|}}}|'''Class Requirement:''' {{#invoke:ListClassReq|fromDelimited|{{{class_requirement}}}|delimiter=,}}<br />
</div>
}}</div><!--
<!-- ========================== -->
==========================
<!--        ACQUISITION        -->
    ACQUISITION         
<!-- ========================== -->
==========================
{{#if:{{{how_to_acquire|}}}|
-->{{Acquisition
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Acquisition</div>
|harvested_from={{{harvested_from|}}}
<hr style="border: 0; border-top: 1px solid #555;" />
|dropped_by={{{dropped_by|}}}
{{Div col|colwidth=20em}}
|sold_by={{{sold_by|}}}
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
|quest_reward={{{quest_reward|}}}
{{Div col end}}
}}<!--
}}
==========================
<!-- ========================== -->
    USED IN QUESTS     
<!--      CRAFTING INFO       -->
==========================
<!-- ========================== -->
-->{{#if:{{{used_in_quests|}}}|
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}{{{component1_name|}}}{{{component1_material|}}}|
{{UsedInQuests
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Crafting</div>
|used_in_quests={{{used_in_quests|}}}
<hr style="border: 0; border-top: 1px solid #555;" />
}}}}<!--
<div style="margin-left: 1em;">
==========================
{{#if:{{{crafting_profession|}}}|'''Crafted By''': [[{{{crafting_profession}}}]]<br />
      FLAVOR TEXT     
}}{{#if:{{{recipe_page|}}}|'''Recipe''': [[{{{recipe_page}}}]]<br />
==========================
}}{{#if:{{{component1_name|}}}|* '''{{{component1_name}}}''': [[{{{component1_material}}}]]
-->{{#if:{{{flavor_text|}}}|
}}{{#if:{{{component2_name|}}}|* '''{{{component2_name}}}''': [[{{{component2_material}}}]]
{{FlavorText
}}{{#if:{{{component3_name|}}}|* '''{{{component3_name}}}''': [[{{{component3_material}}}]]
|flavor_text={{{flavor_text|}}}
}}{{#if:{{{component4_name|}}}|* '''{{{component4_name}}}''': [[{{{component4_material}}}]]
}}}}<!--
}}{{#if:{{{component5_name|}}}|* '''{{{component5_name}}}''': [[{{{component5_material}}}]]
==========================
}}</div>
       SELL PRICE       
}}
==========================
<!-- ========================== -->
-->{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
<!--        SALE PRICE        -->
{{PriceDisplay
<!-- ========================== -->
|gold={{{sell_price_gold|}}}
{{#if:{{{sale_price|}}}|
|silver={{{sell_price_silver|}}}
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sale Price</div>
|copper={{{sell_price_copper|}}}
<hr style="border: 0; border-top: 1px solid #555;" />
}}}}<!--
<div style="margin-left: 1em;">
==========================
'''Sale Price''': {{{sale_price}}}
      CRAFTING INFO     
</div>
==========================
}}
-->{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}|
<!-- ========================== -->
{{CraftingDetails
<!--          GALLERY         -->
| crafting_profession = {{{crafting_profession|}}}
<!-- ========================== -->
| recipe_page        = {{{recipe_page|}}}
{{#if:{{{model_image1|}}}{{{model_image2|}}}{{{model_image3|}}}|
 
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Gallery</div>
| component1_name              = {{{component1_name|}}}
<hr style="border: 0; border-top: 1px solid #555;" />
| component1_material          = {{{component1_material|}}}
}}
| component1_category_tier    = {{{component1_category_tier|}}}
{{#if:{{{model_image1|}}}|[[File:{{{model_image1}}}|frameless|200px]]
| component1_material_category = {{{component1_material_category|}}}
}}{{#if:{{{model_image2|}}}|[[File:{{{model_image2}}}|frameless|200px]]
 
}}{{#if:{{{model_image3|}}}|[[File:{{{model_image3}}}|frameless|200px]]
| component2_name              = {{{component2_name|}}}
}}
| component2_material          = {{{component2_material|}}}
<!-- ========================== -->
| component2_category_tier    = {{{component2_category_tier|}}}
<!--         CATEGORIES         -->
| component2_material_category = {{{component2_material_category|}}}
<!-- ========================== -->
 
[[Category:Shield]]
| component3_name              = {{{component3_name|}}}
| component3_material          = {{{component3_material|}}}
| component3_category_tier    = {{{component3_category_tier|}}}
| component3_material_category = {{{component3_material_category|}}}
 
| component4_name              = {{{component4_name|}}}
| component4_material          = {{{component4_material|}}}
| component4_category_tier    = {{{component4_category_tier|}}}
| component4_material_category = {{{component4_material_category|}}}
 
| component5_name              = {{{component5_name|}}}
| component5_material          = {{{component5_material|}}}
| component5_category_tier    = {{{component5_category_tier|}}}
| component5_material_category = {{{component5_material_category|}}}
}}}}<!--
==========================
          NOTES         
==========================
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
        GALLERY        
==========================
-->{{#if:{{{model_image1|}}}{{{model_image2|}}}{{{model_image3|}}}|
{{Gallery
|model_image1={{{model_image1|}}}
|model_image2={{{model_image2|}}}
|model_image3={{{model_image3|}}}
}}}}<!--
==========================
         CATEGORIES      
==========================
--><includeonly>[[Category:Shield]]</includeonly>
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Shields]]
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Shields]]
}}{{#if:{{{shield_type|}}}|[[Category:{{{shield_type}}}]]
}}{{#if:{{{shield_type|}}}|[[Category:{{{shield_type}}}]]
}}
}}
</div>
 
<includeonly><div style="display:none">
[[Is soulbound::{{{is_soulbound|}}}]]
[[Equipment type::Shield]]
[[Shield type::{{{shield_type|}}}]]
[[Armor class::{{{armor_class|}}}]]
[[Durability::{{{durability|}}}]]
[[Minimum block value::{{{min_block|}}}]]
[[Maximum block value::{{{max_block|}}}]]
[[Threat::{{{threat|}}}]]
 
[[Level requirement::{{{level_requirement|}}}]]
{{#arraymap:{{{class_requirement|}}}|,|x|[[Class requirement::x]]}}
 
[[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:Shield}}</span>
</div></includeonly>

Latest revision as of 21:10, 25 June 2025

Shield

Image Needed
Stats

Equipment Type: Shield

Requirements