Jump to content

Template:RecipeBook: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="recipe-book-template">
<div class="recipe-book-template">
 
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
'''{{{name|{{PAGENAME}}}}}'''
 
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}
{{#if:{{{tooltip_image|}}}|
<!--
[[File:{{{tooltip_image}}}|thumb|{{{name}}}]]
==========================
}}
         OVERVIEW        
 
==========================
<!-- ========================== -->
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Overview</div>
<!--         OVERVIEW         -->
<!-- ========================== -->
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Overview</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:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br />
{{#ifeq:{{lc:{{{is_soulbound|}}}}}|yes|'''This item is Soulbound and cannot be traded.'''<br />
}}{{#if:{{{profession|}}}|'''Profession Requirement''': [[:Category:{{{profession}}}|{{{profession}}}]]<br />
}}{{#if:{{{profession|}}}|'''Profession Requirement: [[{{{profession}}}]]'''<br />
}}{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
}}{{#if:{{{level_requirement|}}}|'''Profession Level Requirement:''' {{{level_requirement}}}<br />
}}{{#if:{{{recipe_given|}}}|'''Teaches''': {{#invoke:SingleLink|fromNotation|1={{{recipe_given}}} }}<br />
}}{{#if:{{{recipe_given|}}}|'''Teaches:''' {{#invoke:SingleLink|fromNotation|1={{{recipe_given}}} }}<br />
}}</div>
}}</div><!--
<!-- ========================== -->
==========================
<!--       HOW TO ACQUIRE      -->
    ACQUISITION         
<!-- ========================== -->
==========================
{{#if:{{{how_to_acquire|}}}|
-->{{Acquisition
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">How to Acquire</div>
|harvested_from={{{harvested_from|}}}
<hr style="border: 0; border-top: 1px solid #555;" />
|dropped_by={{{dropped_by|}}}
<div style="margin-left: 1em;">
|sold_by={{{sold_by|}}}
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
|quest_reward={{{quest_reward|}}}
}}<!--
==========================
        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|}}}
}}}}<!--
==========================
          NOTES         
==========================
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
        CATEGORIES       
==========================
--><includeonly>[[Category:Recipe Books]]</includeonly>
{{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipe Books]]}}
</div>
</div>
}}
<!-- ========================== -->
<!--        SELL PRICE        -->
<!-- ========================== -->
{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sell Price</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
  {{#if:{{{sell_price_gold|}}}|{{{sell_price_gold}}}g}}{{#if:{{{sell_price_silver|}}}| {{#if:{{{sell_price_gold|}}}| }}{{{sell_price_silver}}}s}}{{#if:{{{sell_price_copper|}}}| {{#if:{{{sell_price_gold|}}{{{sell_price_silver|}}}| }}{{{sell_price_copper}}}c}}
</div>
}}
<!-- ========================== -->
<!--        CATEGORIES        -->
<!-- ========================== -->
[[Category:Recipe Books]]
{{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipe Books]]}}


</div>
<includeonly><div style="display:none;">
[[Teaches recipe::{{{recipe_given}}}]]
[[Profession::{{{profession}}}]]
[[Profession level requirement::{{{level_requirement}}}]]
[[Is soulbound::{{{is_soulbound}}}]]
<span style="display:none">{{#default_form:RecipeBook}}</span>
</div></includeonly>

Latest revision as of 21:14, 25 June 2025

RecipeBook

Image Needed
Overview