Template:ItemTemplate: Difference between revisions

added reputation bonus. edited Worn On to be only string and not list of string in cargo.
mNo edit summary
(added reputation bonus. edited Worn On to be only string and not list of string in cargo.)
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|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|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|WornOn=List (,) of String|UsesSlots=List (,) of String}}
{{#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|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|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|WornOn=String|UsesSlots=List (,) of String}}
[[Category:Templates]]
[[Category:Templates]]
{{doc}}
{{doc}}
Line 46: Line 46:
<!--What skill tree it uses-->
<!--What skill tree it uses-->
{{#if: {{{skill|}}}    | {{infobox row|Skill Used|{{{skill}}} }} }}
{{#if: {{{skill|}}}    | {{infobox row|Skill Used|{{{skill}}} }} }}
{{#if: {{{reputationbonus|}}}|{{Infobox row|Reputation Bonus|{{{reputationbonus}}} }} }}
<!--Renderstring, with the ColorString appended before it-->
<!--Renderstring, with the ColorString appended before it-->
{{#if: {{{renderstr|}}}| {{infobox row|Character|'''{{Qud text|{{{colorstr|&amp;y}}}{{{renderstr}}}}}''' }} }}
{{#if: {{{renderstr|}}}| {{infobox row|Character|'''{{Qud text|{{{colorstr|&amp;y}}}{{{renderstr}}}}}''' }} }}