« Modèle:Infobox/Weapon » : différence entre les versions

De Inkipédia
m (Suppression de la catégorie Category:Template documentation et ajout de Catégorie:Documentation de modèle par un robot)
Aucun résumé des modifications
Ligne 68 : Ligne 68 :
|suppress category = {{{suppress category|}}}
|suppress category = {{{suppress category|}}}
}}</includeonly><noinclude>{{Infobox/Weapon/doc}}
}}</includeonly><noinclude>{{Infobox/Weapon/doc}}
[[Catégorie:Documentation de modèle]]
</noinclude>
</noinclude>

Version du 16 juin 2024 à 18:26

Displays an infobox for a weapon. This template is a proxy that pre-evaluates parameters for Infobox/WeaponEx.

Parameters

game The game the weapon belongs to. Must be one of the following:
  • Splatoon
  • Splatoon 2
  • Splatoon 3
color Optional. An RGB triplet to use as the base color for formatting. If absent, the color is determined based on the value of game.
style Optional. A list of CSS values to apply to the outermost container of the infobox.
name Optional. The English name of the weapon. If absent, the page name will be used.
image Optional. An override image to use. If absent, the image filename will be determined automatically.
category The weapon's category. Must be one of the following:
  • Main
  • Sub
  • Special
class The weapon's class. Must be one of the following:
  • Blaster
  • Brella
  • Charger
  • Dualies
  • Roller
  • Shooter
  • Slosher
  • Splatling
sub Optional. The English name of the weapon's sub weapon.
special Optional. The English name of the weapon's special weapon.
cost Optional. The numeric amount of Cash required to purchase the weapon from Ammo Knights.
amiibo Optional. The amiibo that unlocks the weapon. Must be one of the following:
scroll Optional. The English name of the boss that awards the Sunken Scroll required to purchase the weapon. Must be one of the following:
  • Octostomp
  • Octonozzle
  • Octowhirl
  • Octomaw
  • Octobot King
availability Optional. The special means by which the weapon can be obtained. Must be one of the following:
  • Octo Canyon
  • Octo Expansion
  • Octo Valley
  • Salmon Run
level Optional. The numeric level at which the weapon can be purchased.
weight Optional. The weapon speed type ("weight") of the weapon.
base Optional. The base damage of the weapon. Use <br> tags when multiple values are relevant.
duration Optional. The base duration of the weapon. Use <br> tags when multiple values are relevant.
usage Optional. The ink consumption of the weapon in percentage.
points Optional. The number of points required to charge the Special gauge.
addedin Optional The version in which the weapon was added to the game.
depletion Optional. The amount of the Special gauge that will be depleted when splatted.
range Optional. The visual amount displayed in the in-game Range meter.
damage Optional. The visual amount displayed in the in-game Damage meter.
impact Optional. The visual amount displayed in the in-game Impact meter.
fire_rate Optional. The visual amount displayed in the in-game Fire Rate meter.
charge_speed Optional. The visual amount displayed in the in-game Charge Speed meter.
ink_speed Optional. The visual amount displayed in the in-game Ink Speed meter.
mobility Optional. The visual amount displayed in the in-game Mobility meter.
durability Optional. The visual amount displayed in the in-game Durability meter.
handling Optional. The visual amount displayed in the in-game Handling meter.
future Optional. If present and true, will add the "Future" category instead of the sub / special categories to avoid showing non-final data in these categories.
alt1 Optional. If present, will add the "Variants" section and show the specified weapon.
alt2 Optional. (alt1 required) If present, will show the specified weapon in the "Variants" section.
alt3 Optional. (alt1-alt2 required) If present, will show the specified weapon in the "Variants" section.
alt4 Optional. (alt1-alt3 required) If present, will show the specified weapon in the "Variants" section.
alt5 Optional. (alt1-alt4 required) If present, will show the specified weapon in the "Variants" section.

Examples

Example 1

Dual Squelcher

Dual Squelcher

Informations générales
Type d'arme Principale
Catégorie d'arme Lanceur
Arme secondaire Bombe splash
Arme spéciale Sonar
Points spécial
Baisse de la jauge Jauge spéciale 40%
Portée
68 / 100
Dégâts
27 / 100
Explosion
Cadence
55 / 100
Vitesse de charge
Vitesse d'encrage
Mobilité
Résistance
Légèreté
Obtention
Niveau 16
Prix Cash 9,800
Prérequis
Ajout
Spécifications
Poids
Dégâts de base 28
Durée de base
Consommation d'encre 1.2%
Portée de base
Rythme de tir
Vitesse de tir
Précision de base

MPU effect
SPU effect
SPU effect
Autre variante Nettoyeur duo modifié
{{Infobox/Weapon
|game      = Splatoon
|name      = Dual Squelcher
|category  = Main
|class     = Shooter
|sub       = Splat Bomb
|special   = Echolocator
|level     = 16
|cost      = 9,800
|base      = 28
|ink       = 1.2%
|depletion = 40%
|range     = 68
|damage    = 27
|fire_rate = 55
|alt1      = Custom Dual Squelcher
|suppress category = true
}}

Example 2

Classic Squiffer

Classic Squiffer

Informations générales
Type d'arme Principale
Catégorie d'arme Fusil
Arme secondaire Détecteur
Arme spéciale Armure d'encre
Points spécial 170p
Baisse de la jauge
Portée
75 / 100
Dégâts
Explosion
Cadence
Vitesse de charge
70 / 100
Vitesse d'encrage
Mobilité
60 / 100
Résistance
Légèreté
Obtention
Niveau 12
Prix Cash 8,900
Prérequis
Ajout
Spécifications
Poids
Dégâts de base 40–80 (Partial charge)
140 (Full charge)
Durée de base
Consommation d'encre 1.9% (No charge)
10.5% (Full charge)
Portée de base
Rythme de tir
Vitesse de tir
Précision de base

MPU effect
SPU effect
SPU effect
Autre variantes Décap'express Bêta
Décap'express Gamma
{{Infobox/Weapon
|game         = Splatoon 2
|name         = Classic Squiffer
|category     = Main
|class        = Charger
|sub          = Point Sensor
|special      = Ink Armor
|level        = 12
|cost         = 8,900
|base         = 40–80 (Partial charge)<br>140 (Full charge)
|ink          = 1.9% (No charge)<br>10.5% (Full charge)
|points       = 170
|range        = 75
|charge_speed = 70
|mobility     = 60
|alt1         = New Squiffer
|alt2         = Fresh Squiffer
|suppress category = true
}}

Example 3

Tri-Stringer
Informations générales
Type d'arme Principale
Catégorie d'arme Transperceur
Arme secondaire Brume toxique
Arme spéciale Haut-perceur 5.1
Points spécial 190p
Baisse de la jauge
Portée
88 / 100
Dégâts
Explosion
Cadence
Vitesse de charge
40 / 100
Vitesse d'encrage
Mobilité
40 / 100
Résistance
Légèreté
Obtention
Niveau 4
Prix
Prérequis
Ajout Drizzle Season 2022 (1.1.0)
Spécifications
Poids
Dégâts de base 30–35(x3) (Partial charge)
35(x3) (Full charge)
30 (Projectile explosion)
40-100(x3) ( SRNW Partial Charge)
150(x3) ( SRNW Full charge)
40 ( SRNW Projectile explosion)
Durée de base
Consommation d'encre
Portée de base
Rythme de tir
Vitesse de tir
Précision de base

MPU effect
SPU effect
SPU effect
Autre variantes Trisperceur Abysma
Transperceur d'Ordre (réplique)
{{Infobox/Weapon
|game         = Splatoon 3
|name         = Tri-Stringer
|3d-image-1   = S3 Weapon Main Tri-Stringer
|category     = Main
|size         = 256px
|class        = Stringer
|sub          = Toxic Mist
|special      = Killer Wail 5.1
|level        = 4
|base         = 30–35(x3) (Partial charge)<br>35(x3) (Full charge)<br>30 (Projectile explosion)<br>40-100(x3) ([[File:S3 Icon Mr Grizz.png|24px|link=Salmon Run (series)]] [[Salmon Run Next Wave|SRNW]] Partial Charge)<br>150(x3) ([[File:S3 Icon Mr Grizz.png|24px|link=Salmon Run (series)]] [[Salmon Run Next Wave|SRNW]] Full charge)<br>40 ([[File:S3 Icon Mr Grizz.png|24px|link=Salmon Run (series)]] [[Salmon Run Next Wave|SRNW]] Projectile explosion)
|points       = 190
|range        = 88
|charge_speed = 40
|mobility     = 40
|alt1         = Inkline Tri-Stringer
|alt2         = Order Stringer Replica
|introduced   = [[Drizzle Season 2022]] ({{Ver|S3|1.1.0}})
|suppress category = true
}}