Template:Item: Difference between revisions

60 bytes removed ,  15:04, 28 July 2019
stuck a bunch of stuff into extra. fixed extra formatting hopefully
m (Teamtoto moved page Template:Item2 to Template:Item without leaving a redirect)
(stuck a bunch of stuff into extra. fixed extra formatting hopefully)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#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=Searchtext|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=String|ColorString=String|ObjectID=String|BookID=String|LightRadius=Integer|Hunger=Integer|Thirst=Integer|Extra=Searchtext|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer|Acid=Integer|Electric=Integer|Cold=Integer|Heat=Integer|Description=Wikitext|WornOn=Page|UsesSlots=List (,) of Page|Healing=String|ButcheredInto=List (,) of Page|HarvestedInto=Page|PreservedInto=Page|PreservedQuantity=Integer|ExoticFood=Boolean|Reflect=Integer|FoodContains=Searchtext|OnEat=Searchtext|CookEffect=String|EMPSensitive=Boolean|Cursed=Boolean}}
{{#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=Searchtext|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=String|ColorString=String|ObjectID=String|BookID=String|LightRadius=Integer|Hunger=Integer|Thirst=Integer|Extra=Searchtext|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer|Acid=Integer|Electric=Integer|Cold=Integer|Heat=Integer|Description=Wikitext|WornOn=Page|UsesSlots=List (,) of Page|Healing=String|ButcheredInto=List (,) of Page|HarvestedInto=Page|PreservedInto=Page|PreservedQuantity=Integer|ExoticFood=Boolean|Reflect=Integer|FoodContains=Searchtext|OnEat=Searchtext|CookEffect=String}}
[[Category:Templates]]
[[Category:Templates]]
{{doc}}
{{doc}}


</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:_table=ItemsTable|Title={{{title|}}}|BasePV={{{pv|4}}}|MaxPV={{{maxpv|{{{pv|4}}}}}}|Vibro={{{vibro|no}}}|PoweredPV={{{pvpowered|no}}}|Damage={{{damage|}}}|UnpoweredDamage={{{unpowereddamage|}}}|HP={{{hp|}}}|AV={{{av|}}}|DV={{{dv|}}}|MA={{{ma|}}}|ToHit={{{tohit|}}}|Ammo={{{ammo|}}}|Accuracy={{{accuracy|}}}|Shots={{{shots|}}}|MaxAmmo={{{maxammo|}}}|MaxVolume={{{maxvol|}}}|LiquidGen={{{liquidgen|}}}|LiquidType={{{liquidtype|}}}|MaxCharge={{{maxcharge|}}}|ChargeUsed={{{chargeused|}}}|ChargePerDram={{{chargeperdram|}}}|Weight={{{weight|}}}|Commerce={{{commerce|}}}|Complexity={{{complexity|}}}|Tier={{{tier|}}}|Bits={{{bits|}}}|CanBuild={{{canbuild|no}}}|CanDisassemble={{{candisassemble|no}}}|Skill={{{skill|}}}|RenderString={{{renderstr|}}}|ColorString={{{colorstr|&amp;y}}}|ObjectID={{{id|}}}|BookID={{{bookid|}}}|LightRadius={{{lightradius|}}}|Hunger={{{hunger|}}}|Thirst={{{thirst|}}}|Extra={{#ifeq: {{{twohanded|}}}| yes | <p>Two Handed</p>| }}{{#ifeq: {{{metal|}}} | yes |<p>Metal</p>| }}{{#ifeq: {{{lightprojectile|}}} | yes |<p>Light Projectiles</p>}}{{#ifeq: {{{cursed|}}} | yes |<p>Unequippable</p>}}{{#if: {{{extra|}}}|<p>{{{extra}}}</p>}}|AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}|Acid={{{acid|}}}|Electric={{{electric|}}}|Cold={{{cold|}}}|Heat={{{heat|}}}|Description={{qud text|{{{desc|}}}}}|WornOn={{{wornon|}}}|UsesSlots={{{usesslots|{{{wornon|}}}}}}Healing={{{healing|}}}|ButcheredInto={{{butcheredinto|}}}|HarvestedInto={{{harvestedinto|}}}|PreservedInto={{{preservedinto|}}}|PreservedQuantity={{{preservedquantity|}}}|ExoticFood={{{exoticfood|no}}}|Reflect={{{reflect|}}}|FoodContains={{#ifeq:{{{ismeat|}}}| yes | <p>Meat</p>}}{{#ifeq:{{{isplant|}}}| yes | <p>Plants</p>}}{{#ifeq:{{{isfungus|}}}| yes | <p>Fungi</p>}}|OnEat={{{oneat|}}}|CookEffect={{{cookeffect|}}}|EMPSensitive={{{empsensitive|no}}}}}
{{#cargo_store:_table=ItemsTable|Title={{{title|}}}|BasePV={{{pv|4}}}|MaxPV={{{maxpv|{{{pv|4}}}}}}|Vibro={{{vibro|no}}}|PoweredPV={{{pvpowered|no}}}|Damage={{{damage|}}}|UnpoweredDamage={{{unpowereddamage|}}}|HP={{{hp|}}}|AV={{{av|}}}|DV={{{dv|}}}|MA={{{ma|}}}|ToHit={{{tohit|}}}|Ammo={{{ammo|}}}|Accuracy={{{accuracy|}}}|Shots={{{shots|}}}|MaxAmmo={{{maxammo|}}}|MaxVolume={{{maxvol|}}}|LiquidGen={{{liquidgen|}}}|LiquidType={{{liquidtype|}}}|MaxCharge={{{maxcharge|}}}|ChargeUsed={{{chargeused|}}}|ChargePerDram={{{chargeperdram|}}}|Weight={{{weight|}}}|Commerce={{{commerce|}}}|Complexity={{{complexity|}}}|Tier={{{tier|}}}|Bits={{{bits|}}}|CanBuild={{{canbuild|no}}}|CanDisassemble={{{candisassemble|no}}}|Skill={{{skill|}}}|RenderString={{{renderstr|}}}|ColorString={{{colorstr|&amp;y}}}|ObjectID={{{id|}}}|BookID={{{bookid|}}}|LightRadius={{{lightradius|}}}|Hunger={{{hunger|}}}|Thirst={{{thirst|}}}|Extra={{#ifeq: {{{twohanded|}}}| yes |Two Handed|}}{{#ifeq: {{{metal|}}} | yes |
Metal|}}{{#ifeq: {{{lightprojectile|}}} | yes |
Light Projectiles}}{{#ifeq: {{{cursed|}}} | yes |
Unequippable}}{{#ifeq: {{{empsensitive|}}} | yes |
EMP Sensitive}}{{#if: {{{extra|}}}|
{{{extra}}}}}|AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}|Acid={{{acid|}}}|Electric={{{electric|}}}|Cold={{{cold|}}}|Heat={{{heat|}}}|Description={{qud text|{{{desc|}}}}}|WornOn={{{wornon|}}}|UsesSlots={{{usesslots|{{{wornon|}}}}}}Healing={{{healing|}}}|ButcheredInto={{{butcheredinto|}}}|HarvestedInto={{{harvestedinto|}}}|PreservedInto={{{preservedinto|}}}|PreservedQuantity={{{preservedquantity|}}}|ExoticFood={{{exoticfood|no}}}|Reflect={{{reflect|}}}|FoodContains={{#ifeq:{{{ismeat|}}}| yes |
Meat}}{{#ifeq:{{{isplant|}}}| yes |
Plants }}{{#ifeq:{{{isfungus|}}}| yes |
Fungi}}|OnEat={{{oneat|}}}|CookEffect={{{cookeffect|}}}}}
[[Category:Items]]
[[Category:Items]]


Line 38: Line 46:
{{#if: {{{weight|}}}  | {{infobox row|Weight|{{{weight}}}{{qud text|&amp;K#}} }} }}
{{#if: {{{weight|}}}  | {{infobox row|Weight|{{{weight}}}{{qud text|&amp;K#}} }} }}
<!--tinkering-->
<!--tinkering-->
{{#if: {{{commerce|}}} | {{infobox row |Value|{{{commerce}}} }} }}
{{#if: {{{commerce|}}} | {{infobox row |[[Commerce|Value]]|{{{commerce}}} }} }}
{{#if: {{{complexity|}}}| {{infobox row|Complexity|{{{complexity}}} }} }}
{{#if: {{{complexity|}}}| {{infobox row|Complexity|{{{complexity}}} }} }}
{{#if: {{{tier|}}}    | {{infobox row|Tier|{{{tier}}} }} }}
{{#if: {{{tier|}}}    | {{infobox row|Tier|{{{tier}}} }} }}