Template:ItemTemplate: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(added weapon accuracy template)
(changed description to store after a qudtext parse.. updated qud quote with new argument)
Line 5: Line 5:


</noinclude><includeonly>
</noinclude><includeonly>
{{#cargo_store:_table=Items|Title={{{title|}}}|Level={{{lv|}}}|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|}}}|TwoHanded={{{twohanded|no}}}|Metal={{{metal|no}}}|LightProjectile={{{lightprojectile|no}}}|Extra={{{extra|}}}|AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}|Acid={{{acid|}}}|Electric={{{electric|}}}|Cold={{{cold|}}}|Heat={{{heat|}}}|Description={{{desc|}}}|WornOn={{{wornon|}}}|UsesSlots={{{usesslots|}}}Healing={{{healing|}}}|ButcheredInto={{{butcheredinto|}}}|HarvestedInto={{{harvestedinto|}}}|PreservedInto={{{preservedinto|}}}|PreservedQuantity={{{preservedquantity|}}}|ExoticFood={{{exoticfood|no}}}}}
{{#cargo_store:_table=Items|Title={{{title|}}}|Level={{{lv|}}}|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|}}}|TwoHanded={{{twohanded|no}}}|Metal={{{metal|no}}}|LightProjectile={{{lightprojectile|no}}}|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|}}}Healing={{{healing|}}}|ButcheredInto={{{butcheredinto|}}}|HarvestedInto={{{harvestedinto|}}}|PreservedInto={{{preservedinto|}}}|PreservedQuantity={{{preservedquantity|}}}|ExoticFood={{{exoticfood|no}}}}}
[[Category:Items]]
[[Category:Items]]


Line 77: Line 77:
{{#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: {{{desc|}}} | {{Qud quote | {{{desc}}}<metadesc>{{{desc}}}</metadesc> }} }}
{{#if: {{{desc|}}} | {{Qud quote |{{{desc}}}|{{{title|{{PAGENAME}} }}} }} }}


</includeonly>
</includeonly>

Revision as of 16:06, 16 July 2019

This template defines the table "Items". This table has not been created yet. Template:ItemTemplate/doc