« Modèle:WeaponList/Header » : différence entre les versions
Une page d'Inkipédia, le wiki Splatoon
(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... ») |
mAucun résumé des modifications |
||
Ligne 10 : | Ligne 10 : | ||
|- | |- | ||
!class="unsortable" style="width: 75px;"| | !class="unsortable" style="width: 75px;"| | ||
!style="text-align: center;"| | !style="text-align: center;"|Arme principale | ||
!style="text-align: center;"|#ID | !style="text-align: center;"|#ID | ||
!style="text-align: center;"| | !style="text-align: center;"|Arme secondaire | ||
!style="text-align: center;"| | !style="text-align: center;"|Arme spéciale | ||
!style="text-align: center;"|{{#ifeq:{{{game|}}}|Splatoon| | !style="text-align: center;"|{{#ifeq:{{{game|}}}|Splatoon|Baisse jauge spéciale|Points jauge spéciale}} | ||
!style="text-align: center;"| | !style="text-align: center;"|Niveau | ||
!style="text-align: center;"| | !style="text-align: center;"|Prix | ||
!style="text-align: center;"| | !style="text-align: center;"|Catégorie | ||
!style="text-align: center;"| | !style="text-align: center;"|Ajout</includeonly><noinclude>__NOTOC__ | ||
Opens a table element for lists of [[weapon]] sets. Intended to be used in conjunction with [[Template:WeaponList/Item|WeaponList/Item]] and [[Template:WeaponList/Footer|WeaponList/Footer]]. | Opens a table element for lists of [[weapon]] sets. Intended to be used in conjunction with [[Template:WeaponList/Item|WeaponList/Item]] and [[Template:WeaponList/Footer|WeaponList/Footer]]. | ||
Dernière version du 11 septembre 2024 à 02:45
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
Arme principale | #ID | Arme secondaire | Arme spéciale | Baisse jauge spéciale | Niveau | Prix | Catégorie | Ajout
| |
---|---|---|---|---|---|---|---|---|---|
Aérogun | 30 | Traqueur | Lance-tornades | Light | 7 | 4,500 | Lanceur |
| |
Nettoyeur duo | 80 | Bombe splash | Sonar | Light | 16 | 9,800 | Lanceur |
| |
Lanceur héroïque (réplique) | 45 | Bombe ballon | Bombardement | Light | 3 | 1,200 | Lanceur |
| |
Liquidateur Jr. | 10 | Bombe splash | Bouclier | Medium | 1 | Lanceur |
| ||
Dépoteur | 3010 | Fiole toxique | Bouclier | Medium | 9 | 7,500 | Seau |