Modèle:WeaponList/Header

Une page d'Inkipédia, le wiki Splatoon
Révision datée du 13 juillet 2024 à 15:19 par Fxfxfx0 (discussion | contributions) (Page créée avec « <includeonly>{{BubbleBox |background={{#if:{{{color|}}}|rgba({{{color}}}, 0.25)|rgba({{SiteColor|{{#if:{{{game|}}}|{{{game}}}|Generic}}}}, 0.25)}} |border={{#if:{{{color|}}}|{{{color}}}|{{SiteColor|{{#if:{{{game|}}}|{{{game}}}|Generic}}}}}} |style=padding: 16px; margin-top: 12px; {{{style|}}} |collapsed={{{collapsed|}}} |{{#if:{{{collapsed|}}}|{{#tag:div|{{{1}}}|style=text-align: center; font-size: 20px; font-weight: bold;}}|open}} }} {{#if:{{{collapsed|}}}||{{#t... »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

Opens a table element for lists of weapon sets. Intended to be used in conjunction with WeaponList/Item and WeaponList/Footer.

Parameters

title Unnamed. Text to display at the top of the table.
collapsed Optional. Determines whether the collapsible region of the list is collapsed by default. Must be "true" or "false". If absent, the list will not be collapsible.
game Optional. The game that the list belongs to. Used to determine the base color for formatting. If absent, the table's base color will be 0, 153, 255, defined in SiteColor as "Generic".
color Optional. An RGB triplet of the base color to use 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 element.

Example

Markup

{{WeaponList/Header|Example List|game=Splatoon}}
{{WeaponList/Item|game=Splatoon|main=Aerospray MG|sub=Seeker|special=Inkzooka|depletion=Light|price=4,500|scroll=Octowhirl|level=7|class=Shooter|id=30}}
{{WeaponList/Item|game=Splatoon|main=Dual Squelcher|sub=Splat Bomb|special=Echolocator|depletion=Light|price=9,800|level=16|class=Shooter|id=80}}
{{WeaponList/Item|game=Splatoon|main=Hero Shot Replica|sub=Burst Bomb|special=Bomb Rush|depletion=Light|price=1,200|amiibo=Inkling Girl|level=3|class=Shooter|id=45}}
{{WeaponList/Item||game=Splatoon|main=Splattershot Jr.|sub=Splat Bomb|special=Bubbler|depletion=Medium|level=1|class=Shooter|id=10}}
{{WeaponList/Item|game=Splatoon|main=Tri-Slosher|sub=Disruptor|special=Bubbler|depletion=Medium|price=7,500|level=9|class=Slosher|id=3010}}
{{WeaponList/Footer}}

Output

Example List
Main #ID Sub Special Special Depletion Level Price Class Introduced


Aérogun 30 Traqueur Lance-tornades Jauge spécialeLight 7 Cash 4,500 Lanceur


Nettoyeur duo 80 Bombe splash Sonar Jauge spécialeLight 16 Cash 9,800 Lanceur


Lanceur héroïque (réplique) 45 Bombe ballon Bombardement Jauge spécialeLight 3 Cash 1,200 Lanceur


Liquidateur Jr. 10 Bombe splash Bouclier Jauge spécialeMedium 1 Lanceur


Dépoteur 3010 Fiole toxique Bouclier Jauge spécialeMedium 9 Cash 7,500 Seau