Template:Cargo Rows/Weapon Lists: Difference between revisions
(add exception for non-firing rcsms) |
(overwrite all shot properties if shots = 0) |
||
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|}}}}} {{#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 bullet type|}}}}} {{#if:{{{rcsm fire time|}}}|{{!}}{{!}}{{{rcsm fire time|}}}}}}} | ||
| {{{stat|}}} | | {{{stat|}}} | ||
| {{#if:{{{rcsm bullet type|}}} | | {{#if:{{{rcsm bullet type|}}} | ||
| | | {{#ifeq: {{{rcsm number of shot|}}} | 0 | -{{!}}{{!}}-{{!}}{{!}}-{{!}}{{!}}-{{!}}{{!}}-{{!}}{{!}}-{{!}}{{!}}- | {{#invoke:Cargo|status_effect|neutral_status_id = {{{neutral status id|}}}|neutral_status_level = {{{neutral status level|}}}|text_only=1}} {{!}}{{!}} {{#invoke:Cargo|status_effect|fire_status_id = {{{fire status id|}}}|fire_status_level = {{{fire status level|}}}|text_only=1}} {{!}}{{!}} {{#invoke:Cargo|status_effect|ice_status_id = {{{ice status id|}}}|ice_status_level = {{{ice status level|}}}|text_only=1}} {{!}}{{!}} {{#invoke:Cargo|status_effect|lightning_status_id = {{{lightning status id|}}}|lightning_status_level = {{{lightning status level|}}}|text_only=1}} {{!}}{{!}} {{#invoke:Cargo|status_effect|ground_status_id = {{{ground status id|}}}|ground_status_level = {{{ground status level|}}}|text_only=1}} {{!}}{{!}} {{#invoke:Cargo|status_effect|light_status_id = {{{light status id|}}}|light_status_level = {{{light status level|}}}|text_only=1}} {{!}}{{!}} {{#invoke:Cargo|status_effect|dark_status_id = {{{dark status id|}}}|dark_status_level = {{{dark status level|}}}|text_only=1}} <!-- kinda gross, consider fixing later? -->}} | ||
|{{#invoke:Cargo|status_effect | |{{#invoke:Cargo|status_effect | ||
|neutral_status_id = {{{neutral status id|}}} | |neutral_status_id = {{{neutral status id|}}} |
Revision as of 13:36, 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.