Jump to content

Template:Shield: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
Line 1: Line 1:
<!--
<div class="shield-template">
== Usage == Copy/Paste from "{{Shield" to the closing brackets "}}" and fill in the variables


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


{{Shield
[[File:{{{tooltip_image|ShieldPlaceholder.png}}}|thumb|{{{name}}} Tooltip]]
|item name=Training Buckler
 
|tooltip image file=Training_Buckler.png
<!-- ========================== -->
|shield type=Buckler
<!--          STATS          -->
|armor class=8
<!-- ========================== -->
|durability=250
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div>
|threat percentage=10
<hr style="border: 0; border-top: 1px solid #555;" />
|plus block=
<div style="margin-left: 1em;">
|min block value=15
{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br />
|max block value=25
}}'''Equipment Type''': [[:Category:Shield|Shield]]<br />
|additional stat value 1=+6
{{#if:{{{shield_type|}}}|'''Shield Type''': {{{shield_type}}}<br />
|additional stat category 1=Parry
}}{{#if:{{{armor_class|}}}|'''Armor Class''': {{{armor_class}}}<br />
|additional stat value 2=
}}{{#if:{{{durability|}}}|'''Durability''': {{{durability}}}<br />
|additional stat category 2=
}}{{#if:{{{threat|}}}|'''Threat Bonus''': +{{{threat}}}%<br />
|additional stat value 3=
}}{{#if:{{{plus_block|}}}|'''+Block''': +{{{plus_block}}}<br />
|additional stat category 3=
}}{{#if:{{{min_block|}}}|'''Block Value''': {{{min_block}}} – {{{max_block}}}<br />
|additional stat value 4=
}}
|additional stat category 4=
</div>
|additional stat value 5=
<!-- ========================== -->
|additional stat category 5=
<!--    ADDITIONAL STATS      -->
|level requirement=1
<!-- ========================== -->
|class requirement=[[Defender]]
{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}|
|how to acquire=[[Ally Hirth]]
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Additional Stats</div>
|recipe=
<hr style="border: 0; border-top: 1px solid #555;" />
|crafting profession=
{{AdditionalStats
|crafting components=
| stat1_name  = {{{stat1_name|}}}
|sale price=
| stat1_value = {{{stat1_value|}}}
|model image file=[[File:Sturdy Copper Mace Model.png]]
| 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|}}}
}}
}}
-->
[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]
<h2> Overview </h2>
:Equipment Type: [[:Category:Shield|Shield]]
:Shield Type: {{{shield type}}}
:Armor Class: {{{armor class}}}
:Durability: {{{durability}}}
:Requirements: Level {{{level requirement}}} {{{class requirement}}}
<h2> Stats </h2>
:+{{{threat percentage}}}% Threat
:+{{{plus block}}} Block
:{{{min block value}}}-{{{max block value}}} Block Value
{{#if: {{{additional stat category 1}}}
|{{Additional Stats
|stat value 1={{{additional stat value 1}}}
|stat category 1={{{additional stat category 1}}}
|stat value 2={{{additional stat value 2}}}
|stat category 2={{{additional stat category 2}}}
|stat value 3={{{additional stat value 3}}}
|stat category 3={{{additional stat category 3}}}
|stat value 4={{{additional stat value 4}}}
|stat category 4={{{additional stat category 4}}}
|stat value 5={{{additional stat value 5}}}
|stat category 5={{{additional stat category 5}}}
}}
}}
<!-- ========================== -->
<!--        REQUIREMENTS        -->
<!-- ========================== -->
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Requirements</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#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}}}]]}}
</div>
<!-- ========================== -->
<!--        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}}
}}
}}
{{#if: {{{recipe}}}
<!-- ========================== -->
|<h2> Recipe </h2>
<!--      CRAFTING INFO        -->
{{{recipe}}} using:
<!-- ========================== -->
{{{crafting components}}}
{{#if:{{{crafting_profession|}}}{{{recipe_page|}}}{{{component1_name|}}}{{{component1_material|}}}|
{{#if: {{{crafting profession}}}
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Crafting</div>
|[[Category:{{{crafting profession}}}]]
<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_name}}}''': [[{{{component1_material}}}]]
}}{{#if:{{{component2_name|}}}|* '''{{{component2_name}}}''': [[{{{component2_material}}}]]
}}{{#if:{{{component3_name|}}}|* '''{{{component3_name}}}''': [[{{{component3_material}}}]]
}}{{#if:{{{component4_name|}}}|* '''{{{component4_name}}}''': [[{{{component4_material}}}]]
}}{{#if:{{{component5_name|}}}|* '''{{{component5_name}}}''': [[{{{component5_material}}}]]
}}</div>
}}
}}
<!-- ========================== -->
<!--        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}}}
</div>
}}
}}
{{#if: {{{how to acquire}}}
<!-- ========================== -->
|<h2> How to Acquire </h2>
<!--          GALLERY          -->
{{{how to acquire}}}
<!-- ========================== -->
{{#if:{{{model_image1|}}}{{{model_image2|}}}{{{model_image3|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Gallery</div>
<hr style="border: 0; border-top: 1px solid #555;" />
}}
}}
{{#if: {{{sale price}}}
{{#if:{{{model_image1|}}}|[[File:{{{model_image1}}}|frameless|200px]]
|<h2> Sale Price </h2>
}}{{#if:{{{model_image2|}}}|[[File:{{{model_image2}}}|frameless|200px]]
<!-- X Gold Y Silver Z Copper -->
}}{{#if:{{{model_image3|}}}|[[File:{{{model_image3}}}|frameless|200px]]
:{{{sale price}}}
}}
}}
<h2> Gallery </h2>
<!-- ========================== -->
<!-- Figure out how to create gallery array -->
<!--         CATEGORIES        -->
<!-- Right now multiple image files can be input as the parameter and it "works" -->
<!-- ========================== -->
{{{model image file}}}
 
[[Category:Shield]]
[[Category:Shield]]
{{#if:{{{crafting_profession|}}}|[[Category:Crafted Shields]]
}}{{#if:{{{class_requirement1|}}}|[[Category:{{{class_requirement1}}} Shields]]
}}{{#if:{{{class_requirement2|}}}|[[Category:{{{class_requirement2}}} Shields]]
}}{{#if:{{{class_requirement3|}}}|[[Category:{{{class_requirement3}}} Shields]]
}}{{#if:{{{shield_type|}}}|[[Category:{{{shield_type}}}]]
}}
</div>

Revision as of 19:34, 2 May 2025

Shield

File:ShieldPlaceholder.png
{{{name}}} Tooltip
Stats

Equipment Type: Shield

Requirements