Template:FlexBlocks/startCollapsible

From Noita Wiki
Jump to navigation Jump to search

This template is used to create a collapsible element containing flex blocks, in which the width of a block is determined by the widest non-text object. Any text elements will wrap to newline according to this width.

It is intended to glue various elements together for better screen space usage on a variety of screen resolutions.

Example

{{FlexBlocks/startCollapsible}}
Wand Card block
{{Wand Card
| wandName = Huilu
| wandPic = Huilu_(Wand).png
| capacity = 20
| shuffle = No
| spellsCast = 1
| castDelay = 0.03
| rechargeTime = 0.02
| manaMax = 2
| manaCharge = 30
}}
{{FlexBlocks/separator}}
Image block, a frame is required for the width to be set correctly.
[[File:Demo Kick Parry Turso.gif|frame|200px]]
{{FlexBlocks/separator}}
Text which doesn't have accompanying element
{{FlexBlocks/end}}
List
  • Wand Card block

    HUILU

    Huilu (Wand).png
    Inventory Icon gun shuffle.png Shuffle
    No
    Inventory Icon gun actions per round.png Spells/Cast
    1
    Inventory Icon fire rate wait.png Cast delay
    0.03 s
    Inventory Icon gun reload time.png Rechrg. Time
    0.02 s
    Inventory Icon mana max.png Mana max
    2
    Inventory Icon mana charge speed.png Mana chg. Spd
    30
    Inventory Icon gun capacity.png Capacity
    20
    Inventory Icon spread degrees.png Spread
    0.0 DEG
    Inventory Icon speed multiplier.png Speed
    × 1.0

    Text which doesn't have accompanying element

    Image block, a frame is required for the width to be set correctly.

    Demo Kick Parry Turso.gif
  • Example

    {{FlexBlocks/startCollapsible|Custom list name}}
    Text which doesn't have accompanying element
    {{FlexBlocks/end}}
    
    Custom list name
  • Text which doesn't have accompanying element