Modèle:WeaponList/Header
De Inkipédia
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 | ![]() |
![]() |
![]() |
7 | ![]() |
Shooter |
|
![]() |
Nettoyeur duo | 80 | ![]() |
![]() |
![]() |
16 | ![]() |
Shooter |
|
![]() |
Lanceur héroïque (réplique) | 45 | ![]() |
![]() |
![]() |
3 | ![]() |
Shooter |
|
![]() |
Liquidateur Jr. | 10 | ![]() |
![]() |
![]() |
1 | Shooter |
| |
![]() |
Dépoteur | 3010 | ![]() |
![]() |
![]() |
9 | ![]() |
Slosher |