Jump to content

Template:RefinedComponent: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 2: Line 2:
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]}}
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}
<!-- ========================== -->
<!--
<!--          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:{{{component_level_min|}}}|'''Component Level''': {{{component_level_min}}}{{#if:{{{component_level_max|}}}|-{{{component_level_max}}} }}<br />
}}{{#if:{{{component_level_min|}}}|'''Component Level:''' {{{component_level_min}}}{{#if:{{{component_level_max|}}}|-{{{component_level_max}}} }}<br />
}}</div>
}}</div><!--
<!-- ========================== -->
==========================
<!--         RECIPE           -->
         RECIPE          
<!-- ========================== -->
==========================
{{#if:{{{recipe|}}}|
-->{{#if:{{{recipe|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Recipe</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Recipe</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
Line 24: Line 25:
:-{{#invoke:SingleLink|fromNotation|1={{{raw_component2}}}}}
:-{{#invoke:SingleLink|fromNotation|1={{{raw_component2}}}}}
}}</div>
}}</div>
}}
}}<!--
<!-- ========================== -->
==========================
<!--     ACQUISITION           -->
     ACQUISITION        
<!-- ========================== -->
==========================
{{#if:{{{dropped_by|}}}|{{DroppedBy|dropped_by={{{dropped_by}}}}}
-->{{Acquisition
}}{{#if:{{{sold_by|}}}|{{SoldBy|sold_by={{{sold_by}}}}}
|harvested_from={{{harvested_from|}}}
}}
|dropped_by={{{dropped_by|}}}
<!-- ========================== -->
|sold_by={{{sold_by|}}}
<!--        FLAVOR TEXT        -->
|quest_reward={{{quest_reward|}}}
<!-- ========================== -->
}}<!--
{{#if:{{{flavor_text|}}}|
==========================
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div>
    USED IN QUESTS     
<hr style="border: 0; border-top: 1px solid #555;" />
==========================
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div>
-->{{#if:{{{used_in_quests|}}}|
}}
{{UsedInQuests
<!-- ========================== -->
|used_in_quests={{{used_in_quests|}}}
<!--      USED IN QUESTS      -->
}} }}<!--
<!-- ========================== -->
==========================
{{#if:{{{used_in_quests|}}}|
      FLAVOR TEXT       
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Used In Quests</div>
==========================
<hr style="border: 0; border-top: 1px solid #555;" />
-->{{#if:{{{flavor_text|}}}|
{{#invoke:ListLinks|fromDelimited|1={{{used_in_quests}}}|delimiter=, }}
{{FlavorText
}}
|flavor_text={{{flavor_text|}}}
 
}} }}<!--
<!-- ========================== -->
==========================
<!--       SELL PRICE        -->
       SELL PRICE         
<!-- ========================== -->
==========================
{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
-->{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
{{PriceDisplay
{{PriceDisplay
|gold={{{sell_price_gold|}}}
|gold={{{sell_price_gold|}}}
|silver={{{sell_price_silver|}}}
|silver={{{sell_price_silver|}}}
|copper={{{sell_price_copper|}}}
|copper={{{sell_price_copper|}}}
}}
}} }}<!--
}}
==========================
<!-- ========================== -->
          NOTES         
<!--          CATEGORIES         -->
==========================
<!-- ========================== -->
-->{{#if:{{{notes|}}}|
<includeonly>[[Category:Refined Components]]</includeonly>
{{Notes
{{#if:{{{is_raw_component|}}}|[[Category:Raw Components]]}}
|notes={{{notes|}}}
}}}}<!--
==========================
         CATEGORIES      
==========================
--><includeonly>[[Category:Refined Components]]</includeonly>
{{#ifeq:{{lc:{{{is_raw_component|}}}}}|yes|[[Category:Raw Components]]}}
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}


Line 69: Line 76:
[[Component level min::{{{component_level_min|}}}]]
[[Component level min::{{{component_level_min|}}}]]
[[Component level max::{{{component_level_max|}}}]]
[[Component level max::{{{component_level_max|}}}]]
[[Recipe page::{{{recipe|}}}]]
{{#arraymap:{{{recipe_page|}}}|,|x|[[Recipe page::x]]}}
{{#arraymap:{{{dropped_by|}}}|,|x|[[Dropped by::x]]}}
{{#arraymap:{{{sold_by|}}}|,|x|[[Sold by::x]]}}
{{#arraymap:{{{used_in_quests|}}}|,|x|[[Used in quests::x]]}}
[[Sell price (gold)::{{{sell_price_gold|}}}]]
[[Sell price (silver)::{{{sell_price_silver|}}}]]
[[Sell price (copper)::{{{sell_price_copper|}}}]]
<span style="display:none">{{#default_form:RefinedComponent}}</span>
<span style="display:none">{{#default_form:RefinedComponent}}</span>
</div></includeonly>
</div></includeonly>

Latest revision as of 21:13, 25 June 2025

RefinedComponent

Image Needed
Material Info