Template:ItemTemplate: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(made render string console again and also added a tooltip for PV) |
||
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}}}|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|}}}|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|}}}}} | {{#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|}}}|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|&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|}}}}} | ||
[[Category:Items]] | [[Category:Items]] | ||
Line 13: | Line 13: | ||
<!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)--> | <!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)--> | ||
<!--if you set vibro to yes, it will replace the pv with the match armor value symbol--> | <!--if you set vibro to yes, it will replace the pv with the match armor value symbol--> | ||
{{#if: {{{pv|}}}{{{vibro|}}}{{{maxpv|}}} | {{infobox row| | {{#if: {{{pv|}}}{{{vibro|}}}{{{maxpv|}}} | {{infobox row|[[PV]]{{Tooltip|Base PV/Max PV}}|{{Color | C |→}}{{#ifeq: {{{vibro|}}} | yes |{{Tooltip|The penetration of this weapon matches the enemy's armor value.|≈}}|{{{pv|4}}}{{Color | K |/{{{maxpv|{{{pv}}} }}} }} }} }} }} | ||
<!--does the object have no penetration when unpowered?--> | <!--does the object have no penetration when unpowered?--> | ||
{{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }} | {{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{Color | C |→}}4{{Color | K |/4}} }} }} | ||
Line 47: | Line 47: | ||
{{#if: {{{skill|}}} | {{infobox row|Skill Used|{{{skill}}} }} }} | {{#if: {{{skill|}}} | {{infobox row|Skill Used|{{{skill}}} }} }} | ||
<!--Renderstring, with the ColorString appended before it--> | <!--Renderstring, with the ColorString appended before it--> | ||
{{#if: {{{renderstr|}}}| {{infobox row|Character|'''{{Qud text|{{{colorstr|&y}}}{{{renderstr}}}}}''' }} }} | {{#if: {{{renderstr|}}}| {{infobox row|Character|<p style="font-family:Lucida Console, Consolas;">'''{{Qud text|{{{colorstr|&y}}}{{{renderstr}}}}}'''</p> }} }} | ||
<!--This is the name of the object in ObjectBlueprints.xml--> | <!--This is the name of the object in ObjectBlueprints.xml--> | ||
{{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }} | {{#if: {{{id|}}} | {{infobox row|ID|{{{id}}} }} }} |
Revision as of 14:26, 8 July 2019
This template defines the table "Items". This table has not been created yet. Template:ItemTemplate/doc