Jump to content

Template:RecipeBook: Difference between revisions

From Drifters Almanac
No edit summary
No edit summary
 
(31 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;" />
<div style="margin-left: 1em;">
{{#if:{{{is_soulbound|}}}|'''This item is Soulbound and cannot be traded.'''<br />
}}{{#if:{{{profession|}}}|'''Profession Requirement''': [[:Category:{{{profession}}}|{{{profession}}}]]<br />
}}{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />
}}{{#if:{{{recipe_given|}}}|'''Teaches''': {{#invoke:SingleLink|fromNotation|1={{{recipe_given}}} }}<br />
}}</div>
<!-- ========================== -->
<!--      HOW TO ACQUIRE      -->
<!-- ========================== -->
{{#if:{{{how_to_acquire|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">How to Acquire</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;">
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }}
{{#ifeq:{{lc:{{{is_soulbound|}}}}}|yes|'''This item is Soulbound and cannot be traded.'''<br />
</div>
}}{{#if:{{{profession|}}}|'''Profession Requirement: [[{{{profession}}}]]'''<br />
}}
}}{{#if:{{{level_requirement|}}}|'''Profession Level Requirement:''' {{{level_requirement}}}<br />
<!-- ========================== -->
}}{{#if:{{{recipe_given|}}}|'''Teaches:''' {{#invoke:SingleLink|fromNotation|1={{{recipe_given}}} }}<br />
<!--        SELL PRICE         -->
}}</div><!--
<!-- ========================== -->
==========================
    ACQUISITION         
==========================
-->{{Acquisition
|harvested_from={{{harvested_from|}}}
|dropped_by={{{dropped_by|}}}
|sold_by={{{sold_by|}}}
|quest_reward={{{quest_reward|}}}
}}<!--
==========================
         SELL PRICE      
==========================
-->{{#if:{{{sell_price_gold|}}}{{{sell_price_silver|}}}{{{sell_price_copper|}}}|
{{PriceDisplay
{{PriceDisplay
  | gold={{{sell_price_gold|}}}
  | gold={{{sell_price_gold|}}}
  | silver={{{sell_price_silver|}}}
  | silver={{{sell_price_silver|}}}
  | copper={{{sell_price_copper|}}}
  | copper={{{sell_price_copper|}}}
}}
}}}}<!--
<!-- ========================== -->
==========================
<!--        CATEGORIES         -->
          NOTES         
<!-- ========================== -->
==========================
[[Category:Recipe Books]]
-->{{#if:{{{notes|}}}|
{{Notes
|notes={{{notes|}}}
}}}}<!--
==========================
         CATEGORIES      
==========================
--><includeonly>[[Category:Recipe Books]]</includeonly>
{{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipe Books]]}}
{{#if:{{{profession|}}}|[[Category:{{{profession}}} Recipe Books]]}}
</div>
</div>
<div style="display:none;">
 
<includeonly><div style="display:none;">
[[Teaches recipe::{{{recipe_given}}}]]
[[Teaches recipe::{{{recipe_given}}}]]
[[Profession::{{{profession}}}]]
[[Profession::{{{profession}}}]]
[[Level requirement::{{{level_requirement}}}]]
[[Profession level requirement::{{{level_requirement}}}]]
[[Is soulbound::{{{is_soulbound}}}]]
[[Is soulbound::{{{is_soulbound}}}]]
[[Sell price (gold)::{{{sell_price_gold}}}]]
<span style="display:none">{{#default_form:RecipeBook}}</span>
[[Sell price (silver)::{{{sell_price_silver}}}]]
</div></includeonly>
[[Sell price (copper)::{{{sell_price_copper}}}]]
[[Is acquired from::{{{how_to_acquire}}}]]
</div>

Latest revision as of 21:14, 25 June 2025

RecipeBook

Image Needed
Overview