Template:Consumable: Difference between revisions
Appearance
mNo edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <div class="consumable-template"> | ||
'''{{{name|{{PAGENAME}}}}}''' | |||
{{ | [[File:{{{tooltip_image|ConsumablePlaceholder.png}}}|thumb]] | ||
<!-- ========================== --> | |||
<!-- STATS --> | |||
<!-- ========================== --> | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Stats</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
| | <div style="margin-left: 1em;"> | ||
| | {{#if:{{{category|}}}|'''Category''': [[:Category:{{{category}}}|{{{category}}}]]<br /> | ||
| | }}{{#if:{{{execution_time|}}}|'''Execution Time''': {{{execution_time}}}<br /> | ||
| | }}{{#if:{{{cooldown|}}}|'''Cooldown''': {{{cooldown}}}<br /> | ||
| | }}{{#if:{{{movement_penalty|}}}|'''Movement Penalty''': {{{movement_penalty}}}<br /> | ||
| | }}{{#if:{{{range|}}}|'''Range''': {{{range}}}<br /> | ||
| | }}{{#if:{{{angle|}}}|'''Angle''': {{{angle}}}°<br /> | ||
| | }}{{#if:{{{effect_target|}}}|'''Target''': {{{effect_target}}}<br /> | ||
| | }}{{#if:{{{effect_duration|}}}|'''Duration''': {{{effect_duration}}}<br /> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
}} | }} | ||
</div> | |||
--> | <!-- ========================== --> | ||
<!-- EFFECTS --> | |||
<!-- ========================== --> | |||
{{#if:{{{effect_value|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Effect</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="margin-left: 1em;"> | |||
{{{effect_value}}} | |||
</div> | |||
}} | |||
< | <!-- ========================== --> | ||
: | <!-- TRIGGERED EFFECTS --> | ||
{{#if: {{{ | <!-- ========================== --> | ||
| | {{#if:{{{trigger_type|}}}{{{trigger_chance|}}}{{{trigger_effect|}}}| | ||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Triggered Effect</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="margin-left: 1em;"> | |||
'''Triggered {{trigger_type}}'''<br /> | |||
{{#if:{{{trigger_chance|}}}|☐ {{{trigger_chance}}} chance on hit to apply<br />}} | |||
{{#if:{{{trigger_effect|}}}|{{{trigger_effect}}} }} | |||
{{#if:{{{trigger_duration|}}}|for {{{trigger_duration}}} }} | |||
</div> | |||
}} | }} | ||
{{#if: {{{ | |||
|: | <!-- ========================== --> | ||
<!-- REQUIREMENTS --> | |||
<!-- ========================== --> | |||
{{#if:{{{level_requirement|}}}{{{class_requirement1|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Requirements</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="margin-left: 1em;"> | |||
{{#if:{{{level_requirement|}}}|'''Level Requirement''': {{{level_requirement}}}<br />}} | |||
{{#if:{{{class_requirement1|}}}|'''Class Requirement''': [[{{{class_requirement1}}}]]}}{{#if:{{{class_requirement2|}}}|, [[{{{class_requirement2}}}]]}}{{#if:{{{class_requirement3|}}}|, [[{{{class_requirement3}}}]]}} | |||
</div> | |||
}} | }} | ||
{{#if: {{{ | |||
<!-- ========================== --> | |||
<!-- ADDITIONAL STATS --> | |||
<!-- ========================== --> | |||
{{#if:{{{stat1_name|}}}{{{stat2_name|}}}{{{stat3_name|}}}{{{stat4_name|}}}{{{stat5_name|}}}{{{stat6_name|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Additional Stats</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
{{AdditionalStats | |||
| stat1_name = {{{stat1_name|}}} | |||
| stat1_value = {{{stat1_value|}}} | |||
| stat2_name = {{{stat2_name|}}} | |||
| stat2_value = {{{stat2_value|}}} | |||
| stat3_name = {{{stat3_name|}}} | |||
| stat3_value = {{{stat3_value|}}} | |||
| stat4_name = {{{stat4_name|}}} | |||
| stat4_value = {{{stat4_value|}}} | |||
| stat5_name = {{{stat5_name|}}} | |||
| stat5_value = {{{stat5_value|}}} | |||
| stat6_name = {{{stat6_name|}}} | |||
| stat6_value = {{{stat6_value|}}} | |||
}} | }} | ||
}} | }} | ||
<!-- ========================== --> | |||
<!-- FLAVOR TEXT --> | |||
<!-- ========================== --> | |||
{{#if:{{{flavor_text|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Flavor Text</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="color: #4ec0ff; font-style: italic; margin-left: 1em;">{{{flavor_text}}}</div> | |||
}} | }} | ||
{{ | |||
| | <!-- ========================== --> | ||
{{{ | <!-- CRAFTING INFO --> | ||
{{{ | <!-- ========================== --> | ||
{{ | {{CraftingDetails | ||
| | | crafting_profession = {{{crafting_profession|}}} | ||
| recipe_page = {{{recipe_page|}}} | |||
| component1_name = {{{component1_name|}}} | |||
| component1_material = {{{component1_material|}}} | |||
| component1_material_category = {{{component1_material_category|}}} | |||
| component2_name = {{{component2_name|}}} | |||
| component2_material = {{{component2_material|}}} | |||
| component2_material_category = {{{component2_material_category|}}} | |||
| component3_name = {{{component3_name|}}} | |||
| component3_material = {{{component3_material|}}} | |||
| component3_material_category = {{{component3_material_category|}}} | |||
| component4_name = {{{component4_name|}}} | |||
| component4_material = {{{component4_material|}}} | |||
| component4_material_category = {{{component4_material_category|}}} | |||
| component5_name = {{{component5_name|}}} | |||
| component5_material = {{{component5_material|}}} | |||
| component5_material_category = {{{component5_material_category|}}} | |||
}} | }} | ||
<!-- ========================== --> | |||
<!-- ACQUISITION --> | |||
<!-- ========================== --> | |||
{{#if:{{{how_to_acquire|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Acquisition</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
{{Div col|colwidth=20em}} | |||
{{#invoke:ListLinks|fromDelimited|1={{{how_to_acquire}}}|delimiter=, }} | |||
{{Div col end}} | |||
}} | }} | ||
{{#if: {{{ | |||
<!-- ========================== --> | |||
{{{ | <!-- SALE PRICE --> | ||
<!-- ========================== --> | |||
{{#if:{{{sale_price|}}}| | |||
<div style="font-size: 1.2em; font-weight: bold; margin-top: 1em;">Sale Price</div> | |||
<hr style="border: 0; border-top: 1px solid #555;" /> | |||
<div style="margin-left: 1em;"> | |||
'''Sale Price''': {{{sale_price}}}<br /> | |||
</div> | |||
}} | }} | ||
<!-- ========================== --> | |||
<!-- | <!-- CATEGORIES --> | ||
:{{{ | <!-- ========================== --> | ||
[[Category:Consumables]] | |||
[[Category: | {{#if:{{{crafting_profession|}}}|[[Category:Crafted Consumables]]}} | ||
{{#if:{{{category|}}}|[[Category:{{{category}}}]]}} | |||
</div> | |||