Jump to content

Template:RefinedComponent: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
Line 1: Line 1:
<div class="refined-component-template">
<div class="refined-component-template">
 
<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]]
}}
 
<!-- ========================== -->
<!-- ========================== -->
<!--         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>
Line 14: Line 10:
<div style="margin-left: 1em;">
<div style="margin-left: 1em;">
{{#if:{{{category|}}}|'''Category''': [[:Category:{{{category}}}|{{{category}}}]]<br />
{{#if:{{{category|}}}|'''Category''': [[: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>
<!-- ========================== -->
<!-- ========================== -->
Line 30: Line 26:
}}
}}
<!-- ========================== -->
<!-- ========================== -->
<!--      USED IN RECIPES      -->
<!--      ACQUISITION          -->
<!-- ========================== -->
{{#if:{{{dropped_by|}}}|{{DroppedBy|dropped_by={{{dropped_by}}}}}
}}{{#if:{{{sold_by|}}}|{{SoldBy|sold_by={{{sold_by}}}}}
}}
<!-- ========================== -->
<!--        FLAVOR TEXT        -->
<!-- ========================== -->
<!-- ========================== -->
{{#if:{{{used_in_recipes|}}}|
{{#if:{{{flavor_text|}}}|
<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;">Flavor Text</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
{{Div col|colwidth=30em}}
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div>
{{#invoke:ListLinks|fromDelimited|1={{{used_in_recipes}}}|delimiter=, }}
}}
{{Div col end}}
<!-- ========================== -->
<!--      USED IN QUESTS      -->
<!-- ========================== -->
{{#if:{{{used_in_quests|}}}|
<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;" />
{{#invoke:ListLinks|fromDelimited|1={{{used_in_quests}}}|delimiter=, }}
}}
}}


<!-- ========================== -->
<!-- ========================== -->
<!--        CATEGORIES        -->
<!--       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|}}}
}}
}}
<!-- ========================== -->
<!--          CATEGORIES        -->
<!-- ========================== -->
<!-- ========================== -->
<includeonly>[[Category:Refined Components]]</includeonly>
<includeonly>[[Category:Refined Components]]</includeonly>
{{#if:{{{is_raw_component|}}}|[[Category:Raw Components]]}}
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}
{{#if:{{{harvesting_profession|}}}|[[Category:{{{harvesting_profession}}}]]}}


</div>
<includeonly><div style="display:none">
[[Refined component category::{{{category|}}}]]
[[Component level min::{{{component_level_min|}}}]]
[[Component level max::{{{component_level_max|}}}]]
[[Recipe page::{{{recipe|}}}]]
{{#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>
</div></includeonly>

Revision as of 17:54, 21 June 2025

RefinedComponent

Material Info