Jump to content

Template:CraftingRecipe: Difference between revisions

From Drifters Almanac
m Protected "Template:CraftingRecipe" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
No edit summary
Line 1: Line 1:
<div class="crafting-recipe-template">
<div class="crafting-recipe-template">
 
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
 
{{#if:{{{recipe_image|}}}|[[File:{{{recipe_image}}}|thumb|{{{name}}} Recipe]]}}
{{#if:{{{tooltip_image|}}}|
[[File:{{{tooltip_image}}}|thumb|{{{name}}}]]
}}
 
<!-- ========================== -->
<!-- ========================== -->
<!--        RECIPE INFO        -->
<!--        RECIPE INFO        -->
Line 13: Line 9:
<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:{{{recipe_category|}}}|'''Category''': [[:Category:{{{recipe_category}}}|{{{recipe_category}}}]]<br />
{{#if:{{{profession|}}}|'''Profession Requirement''': [[:Category:{{{profession}}}|{{{profession}}}]]<br />}}
}}{{#if:{{{profession|}}}|'''Profession Requirement''': [[:Category:{{{profession}}}|{{{profession}}}]]<br />
{{#if:{{{level_requirement|}}}|'''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            -->
Line 29: Line 24:
</div>
</div>
}}
}}
<!-- ========================== -->
<!-- ========================== -->
<!--        COMPONENTS        -->
<!--        COMPONENTS        -->
Line 61: Line 55:
<!--        CATEGORIES        -->
<!--        CATEGORIES        -->
<!-- ========================== -->
<!-- ========================== -->
[[Category:Crafting Recipes]]
<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">
[[Recipe type::Crafting]]
[[Recipe category::{{{recipe_category|}}}]]
[[Profession requirement::{{{profession|}}}]]
[[Profession level requirement::{{{level_requirement|}}}]]
{{#arraymap:{{{products|}}}|,|x|[[Recipe products::x]]}}
{{#arraymap:{{{component1_category|}}}|,|x|[[Crafting component material category::x]]}}
{{#arraymap:{{{component2_category|}}}|,|x|[[Crafting component material category::x]]}}
{{#arraymap:{{{component3_category|}}}|,|x|[[Crafting component material category::x]]}}
{{#arraymap:{{{component4_category|}}}|,|x|[[Crafting component material category::x]]}}
{{#arraymap:{{{component5_category|}}}|,|x|[[Crafting component material category::x]]}}
{{#arraymap:{{{component6_category|}}}|,|x|[[Crafting component material category::x]]}}
<span style="display:none">{{#default_form:RefiningRecipe}}</span>
</div></includeonly>

Revision as of 13:32, 24 June 2025

CraftingRecipe

Recipe Info