Template:Cargo Rows/Weapon Lists: Difference between revisions
(16px) |
(grenade) |
||
(23 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |- | ||
| {{#expr: {{{rarity|}}}+1}}★ | | class="rank-{{{rank|}}}" | {{#expr:{{{rarity|}}}+1}}★ | ||
| [[{{{pagename|}}}|{{{name|}}}]] | |||
| {{Manufacturer/EnumImage|{{{manufacturer|}}}|options=16px{{!}}link=}} {{#if:{{{pp|}}}|{{!}}{{!}}{{#invoke:String|match|s={{{pp}}}|pattern=%d+|match=1|plain=false}}}} {{#if:{{{pp|}}}|{{!}}{{!}}{{#invoke:String|match|s={{{pp}}}|pattern=%d+|match=11|plain=false}}}} | |||
| {{#if:{{{atk|}}}|{{#invoke:String|match|s={{{atk}}}|pattern=%d+|match=1|plain=false}} | |||
| {{#if:{{{atk|}}}|{{#invoke:String|match|s={{{atk}}}|pattern=%d+|match=11|plain=false}} | |||
| {{{variance|}}} {{#if:{{{accuracy|}}}|{{!}}{{!}}{{{accuracy|}}}}} {{#if:{{{critical attack mod|}}}|{{!}}{{!}}{{{critical attack 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 Bullets|{{{rcsm bullet type|}}}}}}} {{#if:{{{rcsm fire time|}}}|{{!}}{{!}}{{{rcsm fire time|}}}}}}} | |||
| {{{stat|}}} {{#ifeq: {{{subcategory id}}} | 11 | {{!}}{{!}} {{Grenade Bullet|{{{model id}}}}}}} | |||
| {{#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 | |||
|neutral_status_id = {{{neutral status id|}}} | |||
|neutral_status_level = {{{neutral status level|}}} | |||
|fire_status_id = {{{fire status id|}}} | |||
|fire_status_level = {{{fire status level|}}} | |||
|ice_status_id = {{{ice status id|}}} | |||
|ice_status_level = {{{ice status level|}}} | |||
|lightning_status_id = {{{lightning status id|}}} | |||
|lightning_status_level = {{{lightning status level|}}} | |||
|ground_status_id = {{{ground status id|}}} | |||
|ground_status_level = {{{ground status level|}}} | |||
|light_status_id = {{{light status id|}}} | |||
|light_status_level = {{{light status level|}}} | |||
|dark_status_id = {{{dark status id|}}} | |||
|dark_status_level = {{{dark status level|}}} | |||
|text_only=1}}}} | |||
</includeonly><noinclude>{{{{FULLPAGENAME}}/doc}}</noinclude> |
Latest revision as of 16:07, 6 June 2024
Template intended to be called per each returned row with Cargo for the weapon list pages. Logically coupled to the weapon list header.