Template:Cargo Rows/Weapon Lists: Difference between revisions

From Phantasy Star Universe Clementine
(overwrite all shot properties if shots = 0)
(add template hack for shot type)
Line 8: Line 8:
| {{{variance|}}} {{#if:{{{accuracy|}}}|{{!}}{{!}}{{{accuracy|}}}}} {{#if:{{{critical attack mod|}}}|{{!}}{{!}}{{{critical attack mod|}}}}}
| {{{variance|}}} {{#if:{{{accuracy|}}}|{{!}}{{!}}{{{accuracy|}}}}} {{#if:{{{critical attack mod|}}}|{{!}}{{!}}{{{critical attack mod|}}}}}
| {{{pa mod|}}} {{#if:{{{se mod|}}}|{{!}}{{!}}{{{se mod|}}}}}
| {{{pa mod|}}} {{#if:{{{se mod|}}}|{{!}}{{!}}{{{se mod|}}}}}
  {{#if:{{{penetration override|}}}|{{!}}{{!}}{{{penetration override|}}}}} {{#if:{{{weapon range|}}}|{{!}}{{!}}{{{weapon range|}}}}} {{#ifeq: {{{rcsm number of shot|}}} | 0 | {{!}}{{!}}-{{!}}{{!}}- | {{#if:{{{rcsm bullet type|}}}|{{!}}{{!}}{{{rcsm bullet type|}}}}} {{#if:{{{rcsm fire time|}}}|{{!}}{{!}}{{{rcsm fire time|}}}}}}}
  {{#if:{{{penetration override|}}}|{{!}}{{!}}{{{penetration override|}}}}} {{#if:{{{weapon range|}}}|{{!}}{{!}}{{{weapon range|}}}}} {{#ifeq: {{{rcsm number of shot|}}} | 0 | {{!}}{{!}}-{{!}}{{!}}- | {{#if:{{{rcsm bullet type|}}}|{{!}}{{!}}{{RCSM Bullets|{{{rcsm bullet type|}}}}}}} {{#if:{{{rcsm fire time|}}}|{{!}}{{!}}{{{rcsm fire time|}}}}}}}
| {{{stat|}}}
| {{{stat|}}}
| {{#if:{{{rcsm bullet type|}}}
| {{#if:{{{rcsm bullet type|}}}

Revision as of 14:27, 23 May 2024

Template intended to be called per each returned row with Cargo for the weapon list pages. Logically coupled to the weapon list header.