Jump to content

Template:RawComponent: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
Tag: Manual revert
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="raw-component-template">
<div class="raw-component-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]]
==========================
}}
      MATERIAL INFO      
<!-- ========================== -->
==========================
<!--          MATERIAL INFO     -->
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Material Info</div>
<!-- ========================== -->
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Material 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:{{{category|}}}|'''Category''': [[:Category:{{{category}}}|{{{category}}}]]<br />}}
{{#if:{{{category|}}}|'''Category: [[{{{category}}}]]'''<br />}}
{{#if:{{{level|}}}|'''Component Level''': {{{level}}}<br />}}
{{#if:{{{component_level_min|}}}|'''Component Level:''' {{{component_level_min}}}{{#if:{{{component_level_max|}}}|-{{{component_level_max}}} }}<br />}}
</div>
</div><!--
<!-- ========================== -->
==========================
<!--      HOW TO ACQUIRE      -->
    ACQUISITION         
<!-- ========================== -->
==========================
{{#if:{{{how_to_acquire|}}}|
-->{{Acquisition
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">How to Acquire</div>
|harvested_from={{{harvested_from|}}}
<hr style="border: 0; border-top: 1px solid #555;" />
|dropped_by={{{dropped_by|}}}
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
|sold_by={{{sold_by|}}}
}}
|quest_reward={{{quest_reward|}}}
<!-- ========================== -->
}}<!--
<!--     USED IN RECIPES       -->
==========================
<!-- ========================== -->
    USED IN QUESTS        
{{#if:{{{used_in_recipes|}}}|
==========================
-->{{#if:{{{used_in_quests|}}}|
{{UsedInQuests
|used_in_quests={{{used_in_quests|}}}
}}}}<!--
==========================
     USED IN RECIPES    
==========================
-->{{#if:{{{used_in_recipes|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Used In Recipes</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Used In Recipes</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
{{#invoke:ListLinks|fromDelimited|1={{{used_in_recipes}}}|delimiter=, }}
{{#invoke:ListLinks|fromDelimited|1={{{used_in_recipes}}}|delimiter=, }}
}}
}}<!--
<!-- ========================== -->
==========================
<!--         SELL PRICE        -->
      FLAVOR TEXT     
<!-- ========================== -->
==========================
{{#if:{{{sell_price|}}}|
-->{{#if:{{{flavor_text|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sell Price</div>
{{FlavorText
<hr style="border: 0; border-top: 1px solid #555;" />
|flavor_text={{{flavor_text|}}}
<div style="margin-left: 1em;">
}}}}<!--
{{{sell_price}}}<br />
==========================
</div>
      SELL PRICE         
}}
==========================
<!-- ========================== -->
-->{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
<!--          CATEGORIES         -->
{{PriceDisplay
<!-- ========================== -->
|gold={{{sell_price_gold|}}}
[[Category:Raw Components]]
|silver={{{sell_price_silver|}}}
|copper={{{sell_price_copper|}}}
}}}}<!--
==========================
          NOTES         
==========================
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
         CATEGORIES      
==========================
--><includeonly>[[Category:Raw Components]]</includeonly>
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}
{{#if:{{{harvesting_profession|}}}|[[Category:{{{harvesting_profession}}} Components]]}}


</div>
<includeonly><div style="display:none">
[[Raw component category::{{{category|}}}]]
[[Component level min::{{{component_level_min|}}}]]
[[Component level max::{{{component_level_max|}}}]]
 
{{#arraymap:{{{used_in_recipes|}}}|,|x|[[Used in recipes::x]]}}
<span style="display:none">{{#default_form:RawComponent}}</span>
</div></includeonly>

Latest revision as of 17:44, 2 July 2025

RawComponent

Image Needed
Material Info