Template:Item: Difference between revisions

210 bytes added ,  01:01, 1 September 2019
Removed Commerce, Weight, RenderString, ColorString from ItemsTable. Added ElementalDamage, ElementalType, and Mods
mNo edit summary
(Removed Commerce, Weight, RenderString, ColorString from ItemsTable. Added ElementalDamage, ElementalType, and Mods)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=ItemsTable|
{{#cargo_declare:_table=ItemsTable|
Title=Wikitext|BasePV=Integer|MaxPV=Integer|Vibro=Boolean|PoweredPV=Boolean|Damage=String|UnpoweredDamage=String|HP=Integer|AV=Integer|DV=Integer|MA=Integer|ToHit=Integer|Ammo=Page|Accuracy=Integer|Shots=Integer|MaxAmmo=Integer|MaxVolume=Integer|LiquidGen=Integer|LiquidType=String|MaxCharge=Integer|ChargeUsed=Integer|ChargePerDram=Integer|Weight=Integer|Commerce=Float|Complexity=Integer|Tier=Integer|Bits=Searchtext|CanBuild=Boolean|CanDisassemble=Boolean|Skill=String|RenderString=Wikitext string|ColorString=String|ObjectID=String|BookID=String|LightRadius=Integer|Extra=List (</br>) of String|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer|
Title=Wikitext|BasePV=Integer|MaxPV=Integer|Vibro=Boolean|PoweredPV=Boolean|Damage=String|UnpoweredDamage=String|HP=Integer|AV=Integer|DV=Integer|MA=Integer|ToHit=Integer|Ammo=Page|Accuracy=Integer|Shots=Integer|MaxAmmo=Integer|MaxVolume=Integer|LiquidGen=Integer|LiquidType=String|MaxCharge=Integer|ChargeUsed=Integer|ChargePerDram=Integer|Complexity=Integer|Tier=Integer|Bits=Searchtext|CanBuild=Boolean|CanDisassemble=Boolean|Skill=String|ObjectID=String|BookID=String|LightRadius=Integer|Extra=List (</br>) of String|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer|
Acid=Integer|Electric=Integer|Cold=Integer|Heat=Integer|
Acid=Integer|Electric=Integer|Cold=Integer|Heat=Integer|
Description=Wikitext|WornOn=Page|UsesSlots=List (,) of Page|Healing=String|
Description=Wikitext|WornOn=Page|UsesSlots=List (,) of Page|Healing=String|
HarvestedInto=Page|PreservedInto=Page|PreservedQuantity=Integer|Reflect=Integer|Movespeed=Integer}}
HarvestedInto=Page|PreservedInto=Page|PreservedQuantity=Integer|Reflect=Integer|Movespeed=Integer|ElementalDamage=String|ElementalType=String|Mods=List (</br>) of Page}}
{{#cargo_attach:_table = GeneralData}}
{{#cargo_attach:_table = GeneralData}}
[[Category:Cargo Store Templates]]
[[Category:Cargo Store Templates]]
Line 20: Line 20:
MaxVolume={{{maxvol|}}}|LiquidGen={{{liquidgen|}}}|LiquidType={{{liquidtype|}}}|
MaxVolume={{{maxvol|}}}|LiquidGen={{{liquidgen|}}}|LiquidType={{{liquidtype|}}}|
MaxCharge={{{maxcharge|}}}|ChargeUsed={{{chargeused|}}}|ChargePerDram={{{chargeperdram|}}}|
MaxCharge={{{maxcharge|}}}|ChargeUsed={{{chargeused|}}}|ChargePerDram={{{chargeperdram|}}}|
Weight={{{weight|}}}|Commerce={{{commerce|}}}|
Complexity={{{complexity|}}}|Tier={{{tier|}}}|Bits={{{bits|}}}|CanBuild={{{canbuild|no}}}|CanDisassemble={{{candisassemble|no}}}|Skill={{{weaponskill|no skill}}}|
Complexity={{{complexity|}}}|Tier={{{tier|}}}|Bits={{{bits|}}}|CanBuild={{{canbuild|no}}}|CanDisassemble={{{candisassemble|no}}}|Skill={{{weaponskill|no skill}}}|
RenderString={{{renderstr|.}}}|ColorString={{{colorstr|&amp;y}}}|
ObjectID={{{id|}}}|BookID={{{bookid|}}}|
ObjectID={{{id|}}}|BookID={{{bookid|}}}|
LightRadius={{{lightradius|}}}|
LightRadius={{{lightradius|}}}|
Line 33: Line 31:
Healing={{{healing|}}}|
Healing={{{healing|}}}|
HarvestedInto={{{harvestedinto|}}}|
HarvestedInto={{{harvestedinto|}}}|
PreservedInto={{{preservedinto|}}}|PreservedQuantity={{{preservedquantity|}}}|Movespeed={{{movespeed|}}} }}<!--
PreservedInto={{{preservedinto|}}}|
PreservedQuantity={{{preservedquantity|}}}|
Movespeed={{{movespeed|}}}|
ElementalDamage={{{elementaldamage|}}}|
ElementalType={{{elementaltype|}}}
Mods={{{mods|}}} }}<!--


     General Data Storage
     General Data Storage
Line 63: Line 66:
{{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{penetration}}4{{Color | K |/4}} }} }}
{{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{penetration}}4{{Color | K |/4}} }} }}
{{#if: {{{damage|}}}  | {{infobox row|Damage|{{heart}}{{dice tooltip|{{{damage}}}}} }} }}
{{#if: {{{damage|}}}  | {{infobox row|Damage|{{heart}}{{dice tooltip|{{{damage}}}}} }} }}
{{#if: {{{elementaldamage|}}}  | {{infobox row|Elemental Damage|{{heart}}{{dice tooltip|{{{damage}}}}} {{{elementaltype}}} damage }} }}
{{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }}
{{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }}
{{#if: {{{hp|}}}      | {{infobox row|HP|{{{hp}}} }} }}
{{#if: {{{hp|}}}      | {{infobox row|HP|{{{hp}}} }} }}
Line 119: Line 123:
{{infobox row|Resistance|
{{infobox row|Resistance|
{{#if: {{{acid|}}}    | <p style="color:#00C420">  {{{acid}}} Acid</p>}}{{#if: {{{electric|}}} | <p style="color:#CFC041"> {{{electric}}} Electric</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}}} Electric</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: {{{desc|}}} | {{Qud look |text={{{desc}}}|title={{{title|{{PAGENAME}} }}} }} }}
{{#if: {{{desc|}}} | {{Qud look |text={{{desc}}}|title={{{title|{{PAGENAME}} }}} }} }}
</includeonly>
</includeonly>