8,290
edits
mNo edit summary |
(Use new core stats template for items) |
||
Line 99: | Line 99: | ||
| imagearea = {{#switch: {{{image|none}}} | none = {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} | #default = {{#ifexist: File:{{#switch: {{{image|none}}} | none = Caves_of_qud_logo.png | #default = {{{image}}} }} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} }} }} | | imagearea = {{#switch: {{{image|none}}} | none = {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} | #default = {{#ifexist: File:{{#switch: {{{image|none}}} | none = Caves_of_qud_logo.png | #default = {{{image}}} }} || {{#if: {{{renderstr|}}} | <div class{{=}}"qud-displaychar-standin-for-image">{{Qud char|{{{colorstr|&y}}}|{{{renderstr}}}}}</div> | }} }} }} | ||
| rows = | | rows = | ||
{{#if: {{{pv|}}}{{{maxpv|}}}{{{vibro|}}}{{{damage|}}}{{{av|}}}{{{dv|}}}{{{weight|}}}{{{commerce|}}} | | |||
{{infobox row|field= | |||
{{#if: {{{pv|}}}{{{vibro|}}}{{{ | {{Item/CoreStats | ||
| pv = {{{pv|}}} | |||
| maxpv = {{{maxpv|}}} | |||
| vibro = {{{vibro|}}} | |||
| missile = {{{ismissile|no}}} | |||
| damage = {{{damage|}}} | |||
| av = {{{av|}}} | |||
| dv = {{{dv|}}} | |||
| weight = {{{weight|}}} | |||
| value = {{{commerce|}}} | |||
| currency = {{{iscurrency|no}}} | |||
}} | |||
}} | |||
}} | |||
<!--does the object have no penetration when unpowered?--> | <!--does the object have no penetration when unpowered?--> | ||
{{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{PV}}4{{Color | K |/4}} }} }} | {{#ifeq: {{{pvpowered|}}}|yes| {{infobox row|PV (Unpowered)|{{PV}}4{{Color | K |/4}} }} }} | ||
{{#if: {{{elementaldamage|}}} | {{infobox row|Elemental Damage|{{heart}}{{dice tooltip|{{{elementaldamage}}}}} {{{elementaltype}}} }} }} | {{#if: {{{elementaldamage|}}} | {{infobox row|Elemental Damage|{{heart}}{{dice tooltip|{{{elementaldamage}}}}} {{{elementaltype}}} }} }} | ||
{{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }} | {{#if: {{{unpowereddamage|}}}|{{infobox row|Damage(Unpowered)|{{heart}}{{{unpowereddamage|}}} }} }} | ||
{{#if: {{{hp|}}} | {{infobox row|HP|{{{hp}}} }} }} | {{#if: {{{hp|}}} | {{infobox row|HP|{{{hp}}} }} }} | ||
{{#if: {{{ma|}}} | {{infobox row|Base [[MA]]|{{{ma}}} }} }} | {{#if: {{{ma|}}} | {{infobox row|Base [[MA]]|{{{ma}}} }} }} | ||
<!-- a number to hit--> | <!-- a number to hit--> | ||
Line 135: | Line 145: | ||
{{#if: {{{imprintchargecost|}}} | {{infobox row|Imprint Cost{{Tooltip|Charge cost to program a<br>location into this recoiler}}|{{{imprintchargecost}}} }} }} | {{#if: {{{imprintchargecost|}}} | {{infobox row|Imprint Cost{{Tooltip|Charge cost to program a<br>location into this recoiler}}|{{{imprintchargecost}}} }} }} | ||
{{#if: {{{chargeperdram|}}}| {{infobox row|Charge per Dram|{{{chargeperdram}}} }} }} | {{#if: {{{chargeperdram|}}}| {{infobox row|Charge per Dram|{{{chargeperdram}}} }} }} | ||
<!--tinkering--> | <!--tinkering--> | ||
{{#if: {{{complexity|}}}| {{infobox row|Complexity|{{{complexity}}} }} }} | {{#if: {{{complexity|}}}| {{infobox row|Complexity|{{{complexity}}} }} }} | ||
{{#if: {{{tier|}}} | {{#vardefine:TIER|{{{tier}}}}} | | {{#if: {{{tier|}}} | {{#vardefine:TIER|{{{tier}}}}} | |