Template:ItemTemplate: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(made it so "canbuild" doesn't show up on every item)
(Will also show canbuild if bits is set)
Line 1: Line 1:
<noinclude>
<noinclude>
{{#cargo_declare:_table=Items|Title=Wikitext|Level=Integer|BasePV=Integer|MaxPV=Integer|Vibro=Boolean|PoweredPV=Boolean|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|Charge=Integer|Weight=Integer|Commerce=Integer|Complexity=Integer|Tier=Integer|bits=Searchtext|CanBuild=Boolean|Skill=String|RenderString=String|ObjectID=String|BookID=String|LightRadius=Integer|Hunger=Integer|Thirst=Integer|TwoHanded=Boolean|Metal=Boolean|LightProjectile=Boolean|Extra=Searchtext|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer|Acid=Integer|Electric=Integer|Cold=Integer|Heat=Integer|Description=Wikitext}}
{{#cargo_declare:_table=Items|Title=Wikitext|Level=Integer|BasePV=Integer|MaxPV=Integer|Vibro=Boolean|PoweredPV=Boolean|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|Charge=Integer|Weight=Integer|Commerce=Integer|Complexity=Integer|Tier=Integer|Bits=Searchtext|CanBuild=Boolean|Skill=String|RenderString=String|ObjectID=String|BookID=String|LightRadius=Integer|Hunger=Integer|Thirst=Integer|TwoHanded=Boolean|Metal=Boolean|LightProjectile=Boolean|Extra=Searchtext|AgilityBonus=Integer|StrengthBonus=Integer|WillpowerBonus=Integer|ToughnessBonus=Integer|IntelligenceBonus=Integer|EgoBonus=Integer|Acid=Integer|Electric=Integer|Cold=Integer|Heat=Integer|Description=Wikitext}}
[[Category:Templates]]
[[Category:Templates]]
{{doc}}
{{doc}}


</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}}}|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|}}}|Charge={{{charge|}}}|Weight={{{weight|}}}|Commerce={{{commerce|}}}|Complexity={{{complexity|}}}|Tier={{{tier|}}}|bits={{{bits|}}}|CanBuild={{{canbuild|no}}}|Skill={{{skill|}}}|RenderString={{{renderstr|}}}|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|}}}}}
{{#cargo_store:_table=Items|Title={{{title|}}}|Level={{{lv|}}}|BasePV={{{pv|4}}}|MaxPV={{{maxpv|{{{pv|4}}}}}}|Vibro={{{vibro|no}}}|PoweredPV={{{pvpowered|no}}}|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|}}}|Charge={{{charge|}}}|Weight={{{weight|}}}|Commerce={{{commerce|}}}|Complexity={{{complexity|}}}|Tier={{{tier|}}}|Bits={{{bits|}}}|CanBuild={{{canbuild|no}}}|Skill={{{skill|}}}|RenderString={{{renderstr|}}}|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|}}}}}
[[Category:Items]]
[[Category:Items]]


Line 40: Line 40:
{{#if: {{{tier|}}}    | {{infobox row|Tier|{{{tier}}} }} }}
{{#if: {{{tier|}}}    | {{infobox row|Tier|{{{tier}}} }} }}
{{#if: {{{bits|}}}    | {{infobox row|[[Bits]]|{{{bits}}} }} }}
{{#if: {{{bits|}}}    | {{infobox row|[[Bits]]|{{{bits}}} }} }}
{{#if: {{{canbuild|}}}| {{infobox row|Can Build|{{{canbuild|}}} }} }}
{{#if: {{{canbuild|}}}{{{bits|}}}| {{infobox row|Can Build|{{{canbuild|no}}} }} }}
{{#ifeq: {{{canbuild|}}} | yes | {{#if: {{{tier|}}} | {{infobox row|Tinker Skill|{{Tinker check|{{{tier}}}}} }} }} }}
{{#ifeq: {{{canbuild|}}} | yes | {{#if: {{{tier|}}} | {{infobox row|Tinker Skill|{{Tinker check|{{{tier}}}}} }} }} }}
<!--What skill tree it uses-->
<!--What skill tree it uses-->

Revision as of 02:29, 7 July 2019

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