Jump to content

Template:MiscItem: Difference between revisions

From Drifters Almanac
m Protected "Template:MiscItem" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="misc-item-template">
<div class="misc-item-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]]}}
{{#if:{{{tooltip_image|}}}|
<!--
[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]
==========================
}}
         ITEM INFO      
<!-- ========================== -->
==========================
<!--         ITEM INFO         -->
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Item Info</div>
<!-- ========================== -->
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Item Info</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:{{{item_type|}}}|'''Item Type''': {{{item_type}}}<br />
{{#if:{{{item_type|}}}|'''Item Type: [[{{{item_type}}}]]'''<br />
}}{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''
}}{{#ifeq:{{lc:{{{is_soulbound|}}}}}|yes|'''This item is Soulbound and cannot be traded.'''<br />
}}{{#if:{{{used_in_quest|}}}|'''Used In Quest''': [[{{{used_in_quest}}}]]<br />
}}</div><!--
}}</div>
==========================
<!-- ========================== -->
    ACQUISITION         
<!--        FLAVOR TEXT         -->
==========================
<!-- ========================== -->
-->{{Acquisition
{{#if:{{{flavor_text|}}}|
|harvested_from={{{harvested_from|}}}
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div>
|dropped_by={{{dropped_by|}}}
<hr style="border: 0; border-top: 1px solid #555;" />
|sold_by={{{sold_by|}}}
<div style="margin-left: 1em; font-style: italic; color: #ccc;">
|quest_reward={{{quest_reward|}}}
{{{flavor_text}}}
}}<!--
==========================
    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|}}}
}}}}<!--
==========================
          NOTES         
==========================
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
        CATEGORIES       
==========================
--><includeonly>[[Category:Misc Items]]</includeonly>
{{#if:{{{item_type|}}}|[[Category:{{{item_type}}} Items]]}}
</div>
</div>
}}
<!-- ========================== -->
<!--        SELL PRICE        -->
<!-- ========================== -->
{{#if:{{{sell_price|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sell Price</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{{sell_price}}}
</div>
}}
<!-- ========================== -->
<!--        CATEGORIES        -->
<!-- ========================== -->
[[Category:Misc Items]]
{{#if:{{{item_type|}}}|[[Category:{{{item_type}}} Items]]}}


</div>
<includeonly><div style="display:none;">
[[Misc item category::{{{item_type}}}]]
[[Is used in quest::{{{used_in_quest}}}]]
[[Is soulbound::{{{is_soulbound}}}]]
<span style="display:none">{{#default_form:MiscItem}}</span>
</div></includeonly>

Latest revision as of 21:14, 25 June 2025

MiscItem

Image Needed
Item Info