Template:Item: Difference between revisions

397 bytes removed ,  21:41, 24 September 2021
Remove properties from ItemsTable that have moved to PhysicalProperties table
m (light radius tooltip)
(Remove properties from ItemsTable that have moved to PhysicalProperties table)
Line 6: Line 6:
|Damage=String|UnpoweredDamage=String|PrimaryDamageElement=String
|Damage=String|UnpoweredDamage=String|PrimaryDamageElement=String
|HP=Integer|AV=Integer|DV=Integer|MA=Integer|ToHit=Integer
|HP=Integer|AV=Integer|DV=Integer|MA=Integer|ToHit=Integer
|MaxVolume=Integer|LiquidGen=Integer|LiquidType=String
|MaxVolume=Integer
|Seeping=Boolean
|MaxCharge=Integer|ChargeUsed=Integer|ChargePerDram=Integer
|MaxCharge=Integer|ChargeUsed=Integer|ChargePerDram=Integer
|Complexity=Integer
|Complexity=Integer
Line 15: Line 14:
|Skill=String
|Skill=String
|ObjectID=String
|ObjectID=String
|LightRadius=Integer
|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer
|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer
|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer
|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer
|Acid=Integer|Electric=Integer|Cold=Integer|Heat=Integer
|Description=Wikitext
|Description=Wikitext
|WornOn=Page|UsesSlots=List (,) of Page
|WornOn=Page|UsesSlots=List (,) of Page
Line 40: Line 37:
|DV={{{dv|}}}|MA={{{ma|}}}
|DV={{{dv|}}}|MA={{{ma|}}}
|ToHit={{{tohit|}}}
|ToHit={{{tohit|}}}
|MaxVolume={{{maxvol|}}}|LiquidGen={{{liquidgenrate|}}}|LiquidType={{{liquidgentype|}}}
|MaxVolume={{{maxvol|}}}
|Seeping={{{seeping|}}}
|MaxCharge={{{maxcharge|}}}|ChargeUsed={{{chargeused|}}}|ChargePerDram={{{chargeperdram|}}}
|MaxCharge={{{maxcharge|}}}|ChargeUsed={{{chargeused|}}}|ChargePerDram={{{chargeperdram|}}}
|Complexity={{{complexity|}}}
|Complexity={{{complexity|}}}
Line 50: Line 46:
|Skill={{{weaponskill|no skill}}}|
|Skill={{{weaponskill|no skill}}}|
|ObjectID={{{id|}}}
|ObjectID={{{id|}}}
|LightRadius={{{lightradius|}}}
|AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}
|AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}
|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}
|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}
|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}
|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}
|Acid={{{acid|}}}|Electric={{{electric|}}}{{{electrical|}}}
|Cold={{{cold|}}}
|Heat={{{heat|}}}
|Description={{qud text|{{{desc|}}}}}
|Description={{qud text|{{{desc|}}}}}
|WornOn={{{wornon|}}}
|WornOn={{{wornon|}}}
Line 207: Line 199:
{{infobox row|Attributes|{{#if: {{{strength|}}}    | <p style="color:#FFFFFF">  {{{strength}}} Strength</p>}}{{#if: {{{agility|}}}      | <p style="color:#CFC041">  {{{agility}}} Agility</p>}}{{#if: {{{toughness|}}}    | <p style="color:#D74200">    {{{toughness}}} Toughness</p>}}{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)">    {{{intelligence}}} Intelligence</p>}}{{#if: {{{willpower|}}}    | <p style="color:#00C420">    {{{willpower}}} Willpower</p>}}{{#if: {{{ego|}}}          | <p style="color:#DA5BD6"> {{{ego}}} Ego</p>}} }} }}
{{infobox row|Attributes|{{#if: {{{strength|}}}    | <p style="color:#FFFFFF">  {{{strength}}} Strength</p>}}{{#if: {{{agility|}}}      | <p style="color:#CFC041">  {{{agility}}} Agility</p>}}{{#if: {{{toughness|}}}    | <p style="color:#D74200">    {{{toughness}}} Toughness</p>}}{{#if: {{{intelligence|}}} | <p style="color:rgb(51,102,255)">    {{{intelligence}}} Intelligence</p>}}{{#if: {{{willpower|}}}    | <p style="color:#00C420">    {{{willpower}}} Willpower</p>}}{{#if: {{{ego|}}}          | <p style="color:#DA5BD6"> {{{ego}}} Ego</p>}} }} }}
<!--Makes the resistances box show up if *any* of the resistances are filled out-->
<!--Makes the resistances box show up if *any* of the resistances are filled out-->
{{#if: {{{acid|}}}{{{electric|}}}{{{electrical|}}}{{{cold|}}}{{{heat|}}}{{{poison|}}} |
{{#if: {{{acid|}}}{{{electric|}}}{{{cold|}}}{{{heat|}}}{{{poison|}}} |
{{infobox row|Resistance|
{{infobox row|Resistance|
{{#if: {{{acid|}}}    | <p style="color:#00C420">  {{{acid}}} Acid</p>}}{{#if: {{{electric|}}}{{{electrical|}}} | <p style="color:#CFC041"> {{{electric|}}}{{{electrical|}}} Electrical</p>}}{{#if: {{{cold|}}}    | <p style="color:#0096FF">  {{{cold}}} Cold</p>}}{{#if: {{{heat|}}}    | <p style="color:#D74200">    {{{heat}}} Heat</p>}} {{#if:{{{poison|}}}|<p style="color:#009403"> {{{poison}}} Poison</p>}} }} }}
{{#if: {{{acid|}}}    | <p style="color:#00C420">  {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric|}}} Electrical</p>}}{{#if: {{{cold|}}}    | <p style="color:#0096FF">  {{{cold}}} Cold</p>}}{{#if: {{{heat|}}}    | <p style="color:#D74200">    {{{heat}}} Heat</p>}} {{#if:{{{poison|}}}|<p style="color:#009403"> {{{poison}}} Poison</p>}} }} }}
{{#if: {{{mods|}}}| {{infobox row|Modifications|{{consecutive links|{{{mods|}}}|</br>|</br>}} }} }}
{{#if: {{{mods|}}}| {{infobox row|Modifications|{{consecutive links|{{{mods|}}}|</br>|</br>}} }} }}
{{#if: {{{extra|}}}|{{infobox row||Extra Info:</br>{{{extra}}} }} }}
{{#if: {{{extra|}}}|{{infobox row||Extra Info:</br>{{{extra}}} }} }}