Template:Item: Difference between revisions

Jump to navigation Jump to search
114 bytes added ,  00:00, 2 September 2019
added spectacles in extra row
m (fix chargefunction row)
(added spectacles in extra row)
Line 41: Line 41:
ObjectID={{{id|}}}|BookID={{{bookid|}}}|
ObjectID={{{id|}}}|BookID={{{bookid|}}}|
LightRadius={{{lightradius|}}}|
LightRadius={{{lightradius|}}}|
Extra={{#ifeq: {{{twohanded|}}}| yes |Two Handed }} {{#ifeq: {{{metal|}}} | yes |</br>Metal }} {{#ifeq: {{{lightprojectile|}}} | yes |</br>Light Projectiles }} {{#ifeq: {{{cursed|}}} | yes |</br>Not Unequippable }} {{#ifeq: {{{empsensitive|}}} | yes |</br>EMP Sensitive }} {{#ifeq: {{{exoticfood|}}} | yes |</br>Exotic food }}{{#ifeq: {{{destroyonunequip|}}} | yes | </br>Destroyed when unequipped}}{{#if: {{{extra|}}}|</br>{{{extra}}}}}|
Extra={{#ifeq: {{{twohanded|}}}| yes |Two Handed }} {{#ifeq: {{{metal|}}} | yes |</br>Metal }} {{#ifeq: {{{lightprojectile|}}} | yes |</br>Light Projectiles }} {{#ifeq: {{{cursed|}}} | yes |</br>Not Unequippable }} {{#ifeq: {{{empsensitive|}}} | yes |</br>EMP Sensitive }} {{#ifeq: {{{exoticfood|}}} | yes |</br>Exotic food }}{{#ifeq: {{{destroyonunequip|}}} | yes | </br>Destroyed when unequipped}}{{#ifeq: {{{spectacles|}}} | yes | </br>Corrects Vision}}{{#if: {{{extra|}}}|</br>{{{extra}}}}}|
AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}|
AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}|
Acid={{{acid|}}}|Electric={{{electric|}}}|Cold={{{cold|}}}|Heat={{{heat|}}}|
Acid={{{acid|}}}|Electric={{{electric|}}}|Cold={{{cold|}}}|Heat={{{heat|}}}|
Line 136: Line 136:
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }}
{{#if: {{{dynamictable|}}} | {{infobox row|Spawns in|{{{dynamictable}}} }} }}
<!--Check if the object is two handed, made out of metal, or have light projectiles(tag name = Light). any extra details can be added in extra-->
<!--Check if the object is two handed, made out of metal, or have light projectiles(tag name = Light). any extra details can be added in extra-->
{{#if: {{{extra|}}}{{#ifeq:{{{twohanded|}}}|yes|yes|}}{{#ifeq: {{{destroyonunequip|}}}|yes|yes}}{{{movespeed|}}}{{#ifeq:{{{metal|}}}|yes|yes|}}{{#ifeq:{{{lightprojectile|}}}|yes|yes|}}{{{reflect|}}}{{#ifeq:{{{cursed|}}}|yes|yes|}} | {{infobox row|Other Properties|{{#ifeq: {{{twohanded|}}}| yes | <p>Two Handed</p>| }}{{#ifeq: {{{metal|}}} | yes |<p>Metal</p>| }}{{#ifeq: {{{lightprojectile|}}} | yes |<p>Light Projectiles</p>}}{{#if:{{{reflect|}}}|<p>Reflects {{{reflect}}}% of damage, rounded up</p>}}{{#ifeq: {{{cursed|}}} | yes |<p>Not Unequippable</p>}}{{#if:{{{movespeed|}}} |<p>{{{movespeed}}} Movespeed</p>}}{{#ifeq: {{{destroyonunequip|}}}| yes |<p>Destroyed when unequipped</p>}}{{#if: {{{extra|}}}|<p>{{{extra}}}</p>}} }} }}
{{#if: {{{extra|}}}{{#ifeq:{{{twohanded|}}}|yes|yes|}}{{#ifeq: {{{destroyonunequip|}}}|yes|yes}}{{{movespeed|}}}{{#ifeq:{{{metal|}}}|yes|yes|}}{{#ifeq:{{{lightprojectile|}}}|yes|yes|}}{{{reflect|}}}{{#ifeq:{{{cursed|}}}|yes|yes|}} | {{infobox row|Other Properties|{{#ifeq: {{{twohanded|}}}| yes | <p>Two Handed</p>| }}{{#ifeq: {{{metal|}}} | yes |<p>Metal</p>| }}{{#ifeq: {{{lightprojectile|}}} | yes |<p>Light Projectiles</p>}}{{#if:{{{reflect|}}}|<p>Reflects {{{reflect}}}% of damage, rounded up</p>}}{{#ifeq: {{{cursed|}}} | yes |<p>Not Unequippable</p>}}{{#if:{{{movespeed|}}} |<p>{{{movespeed}}} Movespeed</p>}}{{#ifeq: {{{destroyonunequip|}}}| yes |<p>Destroyed when unequipped</p>}}{{#ifeq: {{{spectacles|}}} | yes | </br>Corrects Vision}}{{#if: {{{extra|}}}|<p>{{{extra}}}</p>}} }} }}
<!--Makes the attributes box show up if *any* of the attributes are filled out-->
<!--Makes the attributes box show up if *any* of the attributes are filled out-->
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |
{{#if: {{{strength|}}}{{{agility|}}}{{{toughness|}}}{{{intelligence|}}}{{{willpower|}}}{{{ego|}}} |

Navigation menu