Jump to content

Template:RawComponent: Difference between revisions

From Drifters Almanac
mNo edit summary
No edit summary
Tag: Manual revert
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="raw-component-template">
<includeonly>{{DISPLAYTITLE:{{{name}}}}}</includeonly>
'''{{{name|{{PAGENAME}}}}}'''
{{#if:{{{tooltip_image|}}}|[[File:{{{tooltip_image}}}|thumb|{{{name}}} Tooltip]]|[[File:Image_Placeholder.png|thumb|Image Needed]]}}
<!--
<!--
== Usage == Copy/Paste from "{{Raw Component" to the closing brackets "}}" and fill in the variables
==========================
      MATERIAL INFO     
==========================
--><div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Material Info</div>
<hr style="border: 0; border-top: 1px solid #555;" />
<div style="margin-left: 1em;">
{{#if:{{{category|}}}|'''Category: [[{{{category}}}]]'''<br />}}
{{#if:{{{component_level_min|}}}|'''Component Level:''' {{{component_level_min}}}{{#if:{{{component_level_max|}}}|-{{{component_level_max}}} }}<br />}}
</div><!--
==========================
    ACQUISITION         
==========================
-->{{Acquisition
|harvested_from={{{harvested_from|}}}
|dropped_by={{{dropped_by|}}}
|sold_by={{{sold_by|}}}
|quest_reward={{{quest_reward|}}}
}}<!--
==========================
    USED IN QUESTS     
==========================
-->{{#if:{{{used_in_quests|}}}|
{{UsedInQuests
|used_in_quests={{{used_in_quests|}}}
}}}}<!--
==========================
    USED IN RECIPES     
==========================
-->{{#if:{{{used_in_recipes|}}}|
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Used In Recipes</div>
<hr style="border: 0; border-top: 1px solid #555;" />
{{#invoke:ListLinks|fromDelimited|1={{{used_in_recipes}}}|delimiter=, }}
}}<!--
==========================
      FLAVOR TEXT     
==========================
-->{{#if:{{{flavor_text|}}}|
{{FlavorText
|flavor_text={{{flavor_text|}}}
}}}}<!--
==========================
      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:Raw Components]]</includeonly>
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}}


<includeonly><div style="display:none">
[[Raw component category::{{{category|}}}]]
[[Component level min::{{{component_level_min|}}}]]
[[Component level max::{{{component_level_max|}}}]]


{{Raw Component
{{#arraymap:{{{used_in_recipes|}}}|,|x|[[Used in recipes::x]]}}
|item name=Timberland Flax
<span style="display:none">{{#default_form:RawComponent}}</span>
|tooltip image file=Timberland_Flax.png
</div></includeonly>
|category=Flax Fiber
|level=1-10
|harvesting profession=Forester
|how to acquire=*[[Timberland Flax Plant]]
:[[Timberland Flax Patch]]
|used in recipes=*[[Linen Bow String]]
*[[Linen Cloth]]
*[[Linen Thread]]
*[[Linseed Oil]]
}}
 
-->
{{#if: {{{tooltip image file}}}
|[[File:{{{tooltip image file}}}|thumb|{{{item name}}} Tooltip]]
}}
<h2> Material </h2>
{{#if: {{{category}}}
|:Category: [[{{{category}}}]]
}}
{{#if: {{{level}}}
|:Level: {{{level}}}
}}
{{#if: {{{how to acquire}}}
|<h2> How to Acquire </h2>
{{{how to acquire}}}
}}
{{#if: {{{used in recipes}}}
|<h2> Used in Recipes </h2>
{{{used in recipes}}}
}}
{{#if: {{{harvesting profession}}}
|[[Category:{{{harvesting profession}}}]]
}}
 
{{#if: {{{category}}}
|[[Category:Raw Component]][[Category:{{{category}}}]]
}}

Latest revision as of 17:44, 2 July 2025

RawComponent

Image Needed
Material Info