Jump to content

Template:RefiningRecipe: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
Line 3: Line 3:
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{recipe_image|}}}|[[File:{{{recipe_image}}}|thumb|{{{name}}} Recipe]]}}
{{#if:{{{recipe_image|}}}|[[File:{{{recipe_image}}}|thumb|{{{name}}} Recipe]]}}
<!-- ========================== -->
<!--
<!--       RECIPE INFO         -->
==========================
<!-- ========================== -->
       RECIPE INFO      
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Recipe Info</div>
==========================
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Recipe 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:{{{recipe_category|}}}|'''Category''': [[:Category:{{{recipe_category}}}|{{{recipe_category}}}]]<br />
{{#if:{{{recipe_category|}}}|'''Category: [[{{{recipe_category}}}]]'''<br />
}}{{#if:{{{profession|}}}|'''Profession Requirement''': [[:Category:{{{profession}}}|{{{profession}}}]]<br />
}}{{#if:{{{profession|}}}|'''Profession Requirement: [[{{{profession}}}]]'''<br />
}}{{#if:{{{level_requirement|}}}|'''Profession Level Requirement''': {{{level_requirement}}}<br />
}}{{#if:{{{level_requirement|}}}|'''Profession Level Requirement:''' {{{level_requirement}}}<br />
}}{{#if:{{{recipe_book|}}}|'''Learned From''': {{#invoke:SingleLink|fromNotation|1={{{recipe_book}}} }}<br />
}}{{#if:{{{recipe_book|}}}|'''Learned From:''' {{#invoke:SingleLink|fromNotation|1={{{recipe_book}}} }}<br />
}}</div>
}}</div><!--
<!-- ========================== -->
==========================
<!--       PRODUCTS           -->
       PRODUCTS          
<!-- ========================== -->
==========================
{{#if:{{{products|}}}|
-->{{#if:{{{products|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Products</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Products</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
Line 23: Line 24:
{{#invoke:ListLinks|fromDelimited|1={{{products}}}|delimiter=, }}
{{#invoke:ListLinks|fromDelimited|1={{{products}}}|delimiter=, }}
</div>
</div>
}}
}}<!--
<!-- ========================== -->
==========================
<!--         COMPONENTS         -->
         COMPONENTS      
<!-- ========================== -->
==========================
{{#if:{{{component1_name|}}}|
-->{{#if:{{{component1_name|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Components</div>
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Components</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<hr style="border: 0; border-top: 1px solid #555;" />
Line 37: Line 38:
{{#invoke:SingleLink|fromNotation|1={{{component2_category}}} }}</li>}}
{{#invoke:SingleLink|fromNotation|1={{{component2_category}}} }}</li>}}
</ul>
</ul>
}}
}}<!--
 
==========================
<!-- ========================== -->
         CATEGORIES      
<!--         CATEGORIES         -->
==========================
<!-- ========================== -->
--><includeonly>[[Category:Refining Recipes]]</includeonly>
<includeonly>[[Category:Refining Recipes]]</includeonly>
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}
{{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipes]]}}
{{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipes]]}}
</div>
</div>


<includeonly><div style="display:none">
<includeonly><div style="display:none">
Line 54: Line 52:
[[Profession requirement::{{{profession|}}}]]
[[Profession requirement::{{{profession|}}}]]
[[Profession level requirement::{{{level_requirement|}}}]]
[[Profession level requirement::{{{level_requirement|}}}]]
{{#arraymap:{{{products|}}}|,|x|[[Recipe products::x]]}}
{{#arraymap:{{{products|}}}|,|x|[[Recipe products::x]]}}
{{#arraymap:{{{component1_category|}}}|,|x|[[Refining recipe material category::x]]}}
{{#arraymap:{{{component1_category|}}}|,|x|[[Refining recipe material category::x]]}}

Revision as of 13:45, 25 June 2025

RefiningRecipe

Recipe Info