Template:RefiningRecipe: Difference between revisions
Appearance
Created page with "<div class="refining-recipe-template"> '''{{{name|{{PAGENAME}}}}}''' {{#if:{{{tooltip_image|}}}| [[File:{{{tooltip_image}}}|thumb|{{{name}}} Recipe]] }} <!-- ========================== --> <!-- RECIPE INFO --> <!-- ========================== --> <div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Recipe Info</div> <hr style="border: 0; border-top: 1px solid #555;" /> <div style="margin-left: 1em;"> {{#if:{{{category|}}}|'''Category''': ..." |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="refining-recipe-template"> | <div class="refining-recipe-template"> | ||
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly> | |||
'''{{{name|{{PAGENAME}}}}}''' | '''{{{name|{{PAGENAME}}}}}''' | ||
{{#if:{{{recipe_image|}}}|[[File:{{{recipe_image}}}|thumb|{{{name}}} Recipe]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}} | |||
{{#if:{{{ | <!-- | ||
[[File:{{{ | ========================== | ||
}} | 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:{{{ | {{#if:{{{recipe_category|}}}|'''Category: [[{{{recipe_category}}}]]'''<br /> | ||
{{#if:{{{profession | }}{{#if:{{{profession|}}}|'''Profession Requirement: [[{{{profession}}}]]'''<br /> | ||
}}{{#if:{{{level_requirement|}}}|'''Profession Level Requirement:''' {{{level_requirement}}}<br /> | |||
}}{{#if:{{{recipe_book|}}}|'''Learned From:''' {{#invoke:SingleLink|fromNotation|1={{{recipe_book}}} }}<br /> | |||
}} | }}</div><!-- | ||
========================== | |||
PRODUCTS | |||
========================== | |||
-->{{#if:{{{products|}}}| | |||
{{#if:{{{ | |||
{{#invoke: | |||
}} | |||
<!-- ========================== | |||
{{#if:{{{ | |||
<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;" /> | ||
< | <div style="margin-left: 1em;"> | ||
{{#invoke:ListLinks|fromDelimited|1={{{products}}}|delimiter=, }} | |||
</div> | |||
}}<!-- | |||
</ | ========================== | ||
}} | 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;" /> | ||
<ul> | <ul> | ||
<li>'''{{{component1_name}}}''' x{{{component1_amount}}}<br /> | <li>'''{{{component1_name}}}''' x{{{component1_amount}}}<br /> | ||
{{#invoke: | {{#invoke:CategoryLinks|fromDelimited|1={{{component1_category}}}|delimiter=, }}</li> | ||
{{#if:{{{component2_name|}}}|<li>'''{{{component2_name}}}''' x{{{component2_amount}}}<br /> | {{#if:{{{component2_name|}}}|<li>'''{{{component2_name}}}''' x{{{component2_amount}}}<br /> | ||
{{#invoke: | {{#invoke:SingleLink|fromNotation|1={{{component2_category}}} }}</li>}} | ||
</ul> | </ul> | ||
}} | }}<!-- | ||
========================== | |||
<!-- ========================== --> | NOTES | ||
<!-- CATEGORIES | ========================== | ||
-->{{#if:{{{notes|}}}| | |||
[[Category:Refining Recipes]] | {{Notes | ||
|notes={{{notes|}}} | |||
}}}}<!-- | |||
========================== | |||
CATEGORIES | |||
========================== | |||
--><includeonly>[[Category:Refining Recipes]]</includeonly> | |||
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}} | {{#if:{{{category|}}}|[[Category:{{{category}}}]]}} | ||
{{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipes]]}} | {{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipes]]}} | ||
</div> | |||
<includeonly><div style="display:none"> | |||
[[Recipe type::Refining]] | |||
[[Recipe category::{{{recipe_category|}}}]] | |||
[[Profession requirement::{{{profession|}}}]] | |||
[[Profession level requirement::{{{level_requirement|}}}]] | |||
</div> | {{#arraymap:{{{products|}}}|,|x|[[Recipe products::x]]}} | ||
{{#arraymap:{{{component1_category|}}}|,|x|[[Refining recipe material category::x]]}} | |||
{{#arraymap:{{{component2_category|}}}|,|x|[[Refining recipe material category::x]]}} | |||
<span style="display:none">{{#default_form:RefiningRecipe}}</span> | |||
</div></includeonly> | |||
