Template:Infobox Food: Difference between revisions

From Blockgame Wiki
(Added All Damage, changed display of Damage Multiplier according to Thor)
(Added new Profession Buffs, added Tooltip Green & Red, added Buff replacement)
Line 66: Line 66:
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Status effects :&nbsp;</b></td><td>{{#if: {{{buff_1|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_1}}}]] ({{{bufftime_1|0}}}s)</p>|}}{{#if: {{{buff_2|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_2}}}]] ({{{bufftime_2|0}}}s)</p>|}}{{#if: {{{buff_3|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_3}}}]] ({{{bufftime_3|0}}}s)</p>|}}{{#if: {{{buff_4|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_4}}}]] ({{{bufftime_4|0}}}s)</p>|}}{{#if: {{{buff_5|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_5}}}]] ({{{bufftime_5|0}}}s)</p>|}}{{#if: {{{buff_6|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_6}}}]] ({{{bufftime_6|0}}}s)</p>|}}</td></tr>
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Status effects :&nbsp;</b></td><td>{{#if: {{{buff_1|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_1}}}]] ({{{bufftime_1|0}}}s)</p>|}}{{#if: {{{buff_2|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_2}}}]] ({{{bufftime_2|0}}}s)</p>|}}{{#if: {{{buff_3|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_3}}}]] ({{{bufftime_3|0}}}s)</p>|}}{{#if: {{{buff_4|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_4}}}]] ({{{bufftime_4|0}}}s)</p>|}}{{#if: {{{buff_5|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_5}}}]] ({{{bufftime_5|0}}}s)</p>|}}{{#if: {{{buff_6|}}}|<p style="margin:0; white-space:nowrap">[[{{{buff_6}}}]] ({{{bufftime_6|0}}}s)</p>|}}</td></tr>
}}{{#if:
}}{{#if:
   {{{hunger|}}}{{{health|}}}{{{minus_health|}}}{{{health_reg|}}}{{{minus_health_reg|}}}{{{healing_rcv|}}}{{{mg_reduction|}}}{{{defense|}}}{{{block_rating|}}}{{{block_power|}}}{{{block_cd_reduct|}}}{{{all_dmg|}}}{{{weapon_dmg|}}}{{{projectile_dmg|}}}{{{haumaturgy_dmg|}}}{{{magic_dmg|}}}{{{plus_spd|}}}{{{minus_spd|}}}{{{plus_threat|}}}{{{minus_threat|}}}
   {{{hunger|}}}{{{health|}}}{{{minus_health|}}}{{{health_reg|}}}{{{minus_health_reg|}}}{{{healing_rcv|}}}{{{mg_reduction|}}}{{{defense|}}}{{{block_rating|}}}{{{block_power|}}}{{{block_cd_reduct|}}}{{{all_dmg|}}}{{{weapon_dmg|}}}{{{projectile_dmg|}}}{{{haumaturgy_dmg|}}}{{{magic_dmg|}}}{{{plus_spd|}}}{{{minus_spd|}}}{{{plus_threat|}}}{{{minus_threat|}}}{{{buff_replace|}}}{{{mining_exp|}}}{{{mining_skill|}}}{{{logging_exp|}}}{{{logging_skill|}}}{{{arch_exp|}}}{{{arch_skill|}}}{{{fishing_exp|}}}{{{fishing_skill|}}}{{{fishing_crit|}}}{{{herb_exp|}}}{{{herb_skill|}}}{{{hunting_exp|}}}{{{hunting_skill|}}}{{{cooking_exp|}}}{{{rune_exp|}}}{{{alch_exp|}}}{{{tooltip_green|}}}{{{tooltip_red|}}}
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Consumable Buffs :</b></td><td>
   | <tr><td style="vertical-align:top;white-space:nowrap"><b>Consumable Buffs :</b></td><td>
}}{{#if:
}}{{#if:
Line 128: Line 128:
   {{{minus_threat|}}}
   {{{minus_threat|}}}
   |<tr><td style="vertical-align:top">⚠&nbsp;<b>Threat:</b></td><td style="white-space:nowrap"><span style="color:red;">-{{{minus_threat}}}%</span> for <span style="color:#aba99f;">{{{minus_threat_time}}}</span>s</td></tr> |
   |<tr><td style="vertical-align:top">⚠&nbsp;<b>Threat:</b></td><td style="white-space:nowrap"><span style="color:red;">-{{{minus_threat}}}%</span> for <span style="color:#aba99f;">{{{minus_threat_time}}}</span>s</td></tr> |
}}{{#if:
  {{{mining_exp|}}}
  |<tr><td style="vertical-align:top">⛏&nbsp;<b>Mining&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{mining_exp}}}</span> for <span style="color:#aba99f;">{{{mining_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{mining_skill|}}}
  |<tr><td style="vertical-align:top">⛏&nbsp;<b>Mining&nbsp;Skill:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{mining_skill}}}</span> for <span style="color:#aba99f;">{{{mining_skill_time}}}</span>s</td></tr> |
}}{{#if:
  {{{logging_exp|}}}
  |<tr><td style="vertical-align:top">🪓&nbsp;<b>Logging&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{logging_exp}}}</span> for <span style="color:#aba99f;">{{{logging_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{mining_skill|}}}
  |<tr><td style="vertical-align:top">🪓&nbsp;<b>Logging&nbsp;Skill:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{logging_skill}}}</span> for <span style="color:#aba99f;">{{{logging_skill_time}}}</span>s</td></tr> |
}}{{#if:
  {{{arch_exp|}}}
  |<tr><td style="vertical-align:top">☠&nbsp;<b>Archaeology&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{arch_exp}}}</span> for <span style="color:#aba99f;">{{{arch_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{arch_skill|}}}
  |<tr><td style="vertical-align:top">☠&nbsp;<b>Archaeology&nbsp;Skill:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{arch_skill}}}</span> for <span style="color:#aba99f;">{{{arch_skill_time}}}</span>s</td></tr> |
}}{{#if:
  {{{fishing_exp|}}}
  |<tr><td style="vertical-align:top">🎣&nbsp;<b>Fishing&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{fishing_exp}}}</span> for <span style="color:#aba99f;">{{{fishing_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{fishing_skill|}}}
  |<tr><td style="vertical-align:top">🎣&nbsp;<b>Fishing&nbsp;Skill:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{fishing_skill}}}</span> for <span style="color:#aba99f;">{{{fishing_skill_time}}}</span>s</td></tr> |
}}{{#if:
  {{{fishing_crit|}}}
  |<tr><td style="vertical-align:top">🎣&nbsp;<b>Critical Fishing&nbsp;Chance:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">{{{fishing_crit}}}</span> for <span style="color:#aba99f;">{{{fishing_crit_time}}}</span>s</td></tr> |
}}{{#if:
  {{{herb_exp|}}}
  |<tr><td style="vertical-align:top">☘&nbsp;<b>Herbalism&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{herb_exp}}}</span> for <span style="color:#aba99f;">{{{herb_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{herb_skill|}}}
  |<tr><td style="vertical-align:top">☘&nbsp;<b>Herbalism&nbsp;Skill:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{herb_skill}}}</span> for <span style="color:#aba99f;">{{{herb_skill_time}}}</span>s</td></tr> |
}}{{#if:
  {{{hunting_exp|}}}
  |<tr><td style="vertical-align:top">🐺&nbsp;<b>Hunting&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{hunting_exp}}}</span> for <span style="color:#aba99f;">{{{hunting_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{hunting_skill|}}}
  |<tr><td style="vertical-align:top">🐺&nbsp;<b>Hunting&nbsp;Skill:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">+{{{hunting_skill}}}</span> for <span style="color:#aba99f;">{{{hunting_skill_time}}}</span>s</td></tr> |
}}{{#if:
  {{{cooking_exp|}}}
  |<tr><td style="vertical-align:top">🍖&nbsp;<b>Cooking&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{cooking_exp}}}</span> for <span style="color:#aba99f;">{{{cooking_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{rune_exp|}}}
  |<tr><td style="vertical-align:top">ᚱ&nbsp;<b>Runecarving&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{rune_exp}}}</span> for <span style="color:#aba99f;">{{{rune_exp_time}}}</span>s</td></tr> |
}}{{#if:
  {{{alch_exp|}}}
  |<tr><td style="vertical-align:top">🧪&nbsp;<b>Alchemy&nbsp;EXP:</b></td><td style="white-space:nowrap"><span style="color:#00a800;">x{{{alch_exp}}}</span> for <span style="color:#aba99f;">{{{alch_exp_time}}}</span>s</td></tr> |
}}{{#if:
}}{{#if:
   {{{cd|}}}
   {{{cd|}}}
Line 137: Line 185:
   {{{tooltip|}}}
   {{{tooltip|}}}
   |<tr><td colspan="2"><code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code></td></tr>|
   |<tr><td colspan="2"><code>'''{{ItemColor|type=Tooltip|text={{{tooltip}}}}}'''</code></td></tr>|
}}{{#if:
  {{{tooltip_green|}}}
  |<tr><td><code><span style="color:#00e600;">'''{{{tooltip_green}}}'''</span></code></td></tr>|
}}{{#if:
  {{{tooltip_red|}}}
  |<tr><td><code><span style="color:red;">'''{{{tooltip_red}}}'''</span></code></td></tr>|
}}
}}
|-
|-
|{{#if: {{{DoD|}}}|{{!}} <span style="color:red;">Drops on Death</span>|}}
|{{#if: {{{buff_replace|}}}|{{!}} <span style="color:red;">'''Replaces&nbsp;any active&nbsp;<<{{{type}}}>>&nbsp;buff.'''</span>|}}
|-
|{{#if: {{{DoD|}}}|{{!}} <span style="color:red;">'''Drops on Death'''</span>|}}
|-
|-
|}{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Items]][[Category:Food]][[Category:Consumable]]</includeonly><noinclude>[[Category:Template]]{{doc}}</noinclude>
|}{{#if: {{{type|}}}|[[Category:{{{type}}}]]|}}{{#if: {{{subtype|}}}|[[Category:{{{subtype}}}]]|}}[[Category:Items]][[Category:Food]][[Category:Consumable]]</includeonly><noinclude>[[Category:Template]]{{doc}}</noinclude>

Revision as of 13:15, 18 September 2024

Documentation
This template's documentation has been marked as bad. Please improve or add to it.
{{BG_Food|
|type=type
|subtype=subtype
|rarity=rarity
|obtain=obtain
|source=source
|merchant=merchant
|cooking_req=777
|material_cost=material_cost
|lore=lore
|enchant_1=enchant_1
|enchant_2=enchant_2
|enchant_3=enchant_3
|enchant_4=enchant_4
|tooltip=tooltip
|hp=777
|hyd=777
|sat=777
|buff_1=buff_1
|buff_2=buff_2
|buff_3=buff_3
|buff_4=buff_4
|buff_5=buff_5
|buff_6=buff_6
|bufftime_1=777
|bufftime_2=777
|bufftime_3=777
|bufftime_4=777
|bufftime_5=777
|bufftime_6=777
|cd=777
|charges=777
|tooltip=tooltip
|tooltip_green=tooltip_green
|tooltip_red=tooltip_red
|DoD=DoD
|buff_replace=Yes
|hunger=777
|hunger_time=777
|health=777
|health_time=777
|minus_health=777
|minus_health_time=777
|health_reg=777
|health_reg_time=777
|minus_health_reg=777
|minus_health_reg_time=777
|healing_rcv=777
|healing_rcv_time=777
|dmg_reduction=777
|dmg_reduction_time=777
|defense=777
|defense_time=777
|block_rating=777
|block_rating_time=777
|block_power=777
|block_power_time=777
|block_cd_reduct=777
|block_cd_reduct_time=777
|fall_reduct=777
|fall_reduct_time=777
|all_dmg=777
|all_dmg_time=777
|minus_all_dmg
|minus_all_dmg_time
|weapon_dmg=777
|weapon_dmg_time=777
|projectile_dmg=777
|projectile_dmg_time=777
|thaumaturgy_dmg=777
|thaumaturgy_dmg_time=777
|magic_dmg=777
|magic_dmg_time=777
|backstab_dmg=777
|backstab_dmg_time=777
|cd_reduct=777
|cd_reduct_time=777
|minus_cd_reduct=777
|minus_cd_reduct_time=777
|knockback_resist=777
|knockback_resist_time=777
|aoe_size_amp=777
|aoe_size_amp_time=777
|plus_spd=777
|plus_spd_time=777
|minus_spd=777
|minus_spd_time=777
|plus_threat=777
|plus_threat_time=777
|minus_threat=777
|minus_threat_time=777
|mining_exp=777
|mining_exp_time=777
|mining_skill=777
|mining_skill_time=777
|logging_exp=777
|logging_exp_time=777
|logging_skill=777
|logging_skill_time=777
|arch_exp=777
|arch_exp_time=777
|arch_skill=777
|arch_skill_time=777
|fishing_exp=777
|fishing_exp_time=777
|fishing_skill=777
|fishing_skill_time=777
|fishing_crit=777
|fishing_crit_time=777
|herb_exp=777
|herb_exp_time=777
|herb_skill=777
|herb_skill_time=777
|hunting_exp=777
|hunting_exp_time=777
|hunting_skill=777
|hunting_skill_time=777
|cooking_exp=777
|cooking_exp_time=777
|rune_exp=777
|rune_exp_time=777
|alch_exp=777
|alch_exp_time=777
}}