Jump to content

Template:CraftingRecipe: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
 
(2 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:{{{recipe_image|}}}|[[File:{{{recipe_image}}}|thumb|{{{name}}} Recipe]]}}
{{#if:{{{recipe_image|}}}|[[File:{{{recipe_image}}}|thumb|{{{name}}} Recipe]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}
<!-- ========================== -->
<!--
<!--       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 45: Line 46:
{{#if:{{{component5_name|}}}|<li>'''{{{component5_name}}}''' x{{{component5_amount}}}<br />
{{#if:{{{component5_name|}}}|<li>'''{{{component5_name}}}''' x{{{component5_amount}}}<br />
{{#invoke:CategoryLinks|fromDelimited|1={{{component5_categories}}}|delimiter=, }}</li>}}
{{#invoke:CategoryLinks|fromDelimited|1={{{component5_categories}}}|delimiter=, }}</li>}}
</ul>
</ul>
}}
}}<!--
 
==========================
<!-- ========================== -->
          NOTES         
<!--        CATEGORIES         -->
==========================
<!-- ========================== -->
-->{{#if:{{{notes|}}}|
<includeonly>[[Category:Crafting Recipes]]</includeonly>
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
         CATEGORIES      
==========================
--><includeonly>[[Category:Crafting 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">

Latest revision as of 21:14, 25 June 2025

CraftingRecipe

Image Needed
Recipe Info