Template:Infobox/WeaponEx: Difference between revisions
From Inkipedia, the Splatoon wiki
m (Made S3 infoboxes use flat sub weapon icons.) |
m (changed introduced to added in to not confuse with reveal footage) |
||
(10 intermediate revisions by 7 users not shown) | |||
Line 27: | Line 27: | ||
{{!}}- | {{!}}- | ||
! style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}| {{#ifeq:{{{category|}}}|Main|Basic information}} | ! style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}| {{#ifeq:{{{category|}}}|Main|Basic information}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Category|{{#if:{{{category|}}}|[[{{{category}}} weapon|{{{category}}}]]}}|style=width: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Class|{{#if:{{{class|}}}|{{#ifeq:{{GameShortened|{{{game|}}}}}|S3|{{Class|{{{class}}}}}| | ||
{{ | [[{{#ifeq:{{{class}}}|Slosher|Slosher (weapon class){{!}}}}{{#ifeq:{{{class}}}|Blaster|Blaster (weapon class){{!}}}}{{{class}}}]]}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|{{color-link|Sub weapon|black|Sub}}|{{#if:{{{sub|}}}|{{#ifeq:{{{game|}}}|Splatoon 3|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}|var=Flat}}|{{Weapon|{{GameShortened|{{{game|}}}}}|Sub|{{{sub}}}}}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|{{color-link|Special weapon|black|Special}}|{{#if:{{{special|}}}|{{Weapon|{{GameShortened|{{{game|}}}}}|Special|{{#ifeq:{{{special}}}|Bomb Rush|{{{special}}} {{{sub}}}|{{{special}}}}}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Special points|{{#if:{{{points|}}}|{{{points}}}p}}}} | ||
{{ | {{Infobox/Property|color = {{{color}}}|[[Special gauge#Depletion|<span style="color:black;">Special depletion</span>]]|{{#if: {{{depletion|}}} | [[File:Specdep icon.png{{!}}24px{{!}}link=Special gauge#Depletion|Special gauge]] {{{depletion}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Range|{{#if:{{{range|}}}|{{Infobox/Meter|color={{{color}}}|{{{range}}}}}}}|style=line-height: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Damage|{{#if:{{{damage|}}}|{{Infobox/Meter|color={{{color}}}|{{{damage}}}}}}}|style=line-height: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Impact|{{#if:{{{impact|}}}|{{Infobox/Meter|color={{{color}}}|{{{impact}}}}}}}|style=line-height: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Fire rate|{{#if:{{{fire_rate|}}}|{{Infobox/Meter|color={{{color}}}|{{{fire_rate}}}}}}}|style=line-height: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Charge speed|{{#if:{{{charge_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{charge_speed}}}}}}}|style=line-height: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Ink speed|{{#if:{{{ink_speed|}}}|{{Infobox/Meter|color={{{color}}}|{{{ink_speed}}}}}}}|style=line-height: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Mobility|{{#if:{{{mobility|}}}|{{Infobox/Meter|color={{{color}}}|{{{mobility}}}}}}}|style=line-height: 100%;}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Durability|{{#if:{{{durability|}}}|{{Infobox/Meter|color={{{color}}}|{{{durability}}}}}}}|style=line-height: 100%;}} | ||
{{Infobox/Property|color={{{color}}}|Handling|{{#if:{{{handling|}}}|{{Infobox/Meter|color={{{color}}}|{{{handling}}}}}}}|style=line-height: 100%;}} | |||
<!-- UNLOCK METHOD -->{{#ifeq:{{{category|}}}|Main|{{#if:{{{level}}}| | <!-- UNLOCK METHOD -->{{#ifeq:{{{category|}}}|Main|{{#if:{{{level}}}| | ||
{{!}}- | {{!}}- | ||
!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Obtainable at | !style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| {{#if:{{{level|}}}|Obtainable at}} | ||
{{ | {{Infobox/Property|color={{{color}}}|{{color-link|Level|black}}|{{#if:{{{level|}}}|{{{level}}}}}}} | ||
{{#switch:{{{game|Splatoon}}} | {{#switch:{{{game|Splatoon}}} | ||
|Splatoon = {{ | |Splatoon = {{Infobox/Property|color={{{color}}}|{{color-link|Cash|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|S|{{{cost}}}|cash}}}}}} | ||
|Splatoon 2 = {{ | |Splatoon 2 = {{Infobox/Property|color={{{color}}}|{{color-link|Cash|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|S2|{{{cost}}}|cash}}}}}} | ||
|Splatoon 3 = {{ | |Splatoon 3 = {{Infobox/Property|color={{{color}}}|{{color-link|Sheldon License|black|Cost}}|{{#if:{{{cost|}}}|{{Cost|S3|{{{cost}}}|sl}}}}}} | ||
}} | }} | ||
{{ | {{Infobox/Property|color={{{color}}}|Requirement|{{#if:{{{scroll|}}}|{{#if:{{{amiibo|}}}||[[File:S Icon Sunken Scroll.png|24px|link=Sunken Scroll]] [[{{{scroll}}}]]}}}}{{#if:{{{amiibo|}}}|[[File:S2 Brand amiibo.png|24px|link=amiibo]] {{#switch:{{{amiibo}}} | ||
|Callie = {{amiibo|Callie|game=Splatoon}} | |Callie = {{amiibo|Callie|game=Splatoon}} | ||
|Marie = {{amiibo|Marie|game=Splatoon}} | |Marie = {{amiibo|Marie|game=Splatoon}} | ||
Line 62: | Line 63: | ||
|#default = [[amiibo|{{{amiibo}}}]] | |#default = [[amiibo|{{{amiibo}}}]] | ||
}}}}{{#if:{{{availability|}}}|{{#if:{{{scroll|}}}|{{#ifeq:{{{availability}}}|Octo Valley||<br />{{Availability|{{{availability}}}}}}}|{{#if:{{{amiibo|}}}|<br />}}{{Availability|{{{availability}}}}}}}}}}} | }}}}{{#if:{{{availability|}}}|{{#if:{{{scroll|}}}|{{#ifeq:{{{availability}}}|Octo Valley||<br />{{Availability|{{{availability}}}}}}}|{{#if:{{{amiibo|}}}|<br />}}{{Availability|{{{availability}}}}}}}}}}} | ||
{{Infobox/Property|color={{{color}}}|Added in|{{#if:{{{introduced|}}}|{{{introduced}}}}}}} | |||
<!-- ADVANCED VALUES -->{{#ifeq:{{{category|}}}|Main| | <!-- ADVANCED VALUES -->{{#ifeq:{{{category|}}}|Main| | ||
{{!}}- | {{!}}- | ||
{{#if:{{{base|}}}|!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Specifications | {{#if:{{{base|}}}|!style="background-color: rgba({{{color}}}, 0.5); text-align: center;" colspan="2"|}}}}| Specifications | ||
{{ | {{Infobox/Property|color={{{color}}}|[[Mobility#Weapon speed type|<span style="color:black;">Weight</span>]]|{{#if:{{{weight|}}}|{{{weight}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Base {{color-link|damage|black}}|{{#if:{{{base|}}}|{{{base}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Base duration|{{{duration|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Ink consumption|{{{ink|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Base range|{{{reach|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Rate of fire|{{{rate|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Muzzle velocity|{{{velocity|}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Base accuracy|{{{accuracy|}}}}} | ||
<!-- OTHER -->{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}| | <!-- OTHER -->{{#ifeq:{{{category}}}|Main|{{#if:{{{alt1}}}| | ||
{{!}}- | {{!}}- | ||
! colspan="2"{{!}}<hr>|}}|}} | ! colspan="2"{{!}}<hr>|}}|}} | ||
{{ | {{Infobox/Property|color={{{color}}}|{{color-link|Main Power Up|black|MPU}} effect|{{#if:{{{mpueffect|}}}|{{{mpueffect}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|{{color-link|Sub Power Up|black|SPU}} effect|{{#if:{{{subpueffect|}}}|{{{subpueffect}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|{{color-link|Special Power Up|black|SPU}} effect|{{#if:{{{specialpueffect|}}}|{{{specialpueffect}}}}}}} | ||
{{ | {{Infobox/Property|color={{{color}}}|Other variant{{#if:{{{alt2}}}|s}}|{{#if:{{{alt1}}}|[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt1}}}.png|24px|{{{alt1}}}]] [[{{{alt1}}}]]{{#if:{{{alt2}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt2}}}.png|24px|{{{alt2}}}]] [[{{{alt2}}}]]{{#if:{{{alt3}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt3}}}.png|24px|{{{alt3}}}]] [[{{{alt3}}}]]{{#if:{{{alt4}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt4}}}.png|24px|{{{alt4}}}]] [[{{{alt4}}}]]{{#if:{{{alt5}}}|<br>[[File:{{GameShortened|{{{game|}}}}}_Weapon_{{{category}}}_{{{alt5}}}.png|24px|{{{alt5}}}]] [[{{{alt5}}}]]}}}}}}}}}}}} | ||
|}</div><!-- CATEGORIES --> | |}</div><!-- CATEGORIES --> | ||
{{#ifeq: {{{suppress category}}} | true || | {{#ifeq: {{{suppress category}}} | true || | ||
{{#ifeq:{{{future}}}|true|[[Category:Future]]| | {{#ifeq:{{{future}}}|true|[[Category:Future]]| | ||
{{#if:{{{category|}}}|[[Category:{{{ | {{#if:{{{category|}}}|[[Category:{{{game}}} {{lc:{{{category}}}}} weapons]]}} | ||
{{#switch: {{{class|}}} | {{#switch: {{{class|}}} | ||
| Brush = [[Category:Brushes]] | | Brush = [[Category:Brushes]] |
Latest revision as of 21:33, 31 March 2024
Displays an infobox for a weapon. This is a chained template intended to be used only by Infobox/Weapon.