User:Madhill/Sandbox

From SpiralKnights

This is where I senselessly OBSESS about UI and UX on this Wiki :D

UI/UX Side by Side examples

Below are side by side examples of bad UI/UX and how to "fix" them, by yours truly, as I've felt some of the Wiki's recurring theming was hard to read, I will be adding example of how to do better here.

Basic Table

To start things off, here is what I consider to be a pretty ugly table, and also a rather unfriendly one for users suffering from any sort of reading impairments.

Info Info Info
Item Item Item
Item Item Item
Item Item Item
Item Item Item

And here is what I would replace it with You may notice the rows and columns are separated by much less invasive lines, and lines between rows under the header are also less prominent. I believe this is much easier to read, as the user's eyes don't need to "climb" thick borders between cells, and the cells are also not over-complicated in their form (no rounded corners).

Info Info Info
Item Item Item
Item Item Item
Item Item Item
Item Item Item

And lastly, a few refined version of it, with some old styling brought back, and improved styling mixed in.

Info Info Info
Item Item Item
Item Item Item
Item Item Item
Item Item Item

Info Info Info
A B C
B C D
C D A
D A B

Universal Table Templates

Below is a test of Template:UniversalTable/Start and Template:UniversalTable.

Universal tables are an idea I came up with to help all tables across this wiki stay unified in style, without having to copy/paste CSS around. The solution is admittedly quite boiler-plate, but it answers what I believe is a problem long-term.

Header 1
Header 2
Header 3



C1, R1 C2, R1 C3, R1


C1, R2 C2, R2 C3, R2


C1, R3 C2, R3 C3, R3


C1, R4 C2, R4 C3, R4

The following code was used for the above test:

{{UniversalTable/Start
| colCount = 3
| col0Width = 200px | col0HeadContent = Header 1
| col1Width = 110px | col1HeadContent = Header 2
| col2Width = 200px | col2HeadContent = Header 3
}}

{{UniversalTable
| colCount = 3
| col0Content = C1, R1
| col1Content = C2, R1
| col2Content = C3, R1
}}

{{UniversalTable
| colCount = 3
| col0Content = C1, R2
| col1Content = C2, R2
| col2Content = C3, R2
}}

{{UniversalTable
| colCount = 3
| col0Content = C1, R3
| col1Content = C2, R3
| col2Content = C3, R3
}}

{{UniversalTable
| colCount = 3
| col0Content = C1, R4
| col1Content = C2, R4
| col2Content = C3, R4
| isFooter = yes
}}

{{Table/End}}

Sticky headers for Tables

Info
Info
Info
A B C
B C D
C D A
D A B

Adapting Template:UniversalTable to detached heading & sorting formats (w/ sticky headings :P)

Info Info Info
A B C D
B C D A
C D A B
D A B C

The text here exists to verify that our above header won't bleed into neighboring elements when it reaches the bottom of its table.

Header 1 Header 2 Header 3 {{{col3HeadContent}}} {{{col4HeadContent}}} {{{col5HeadContent}}} {{{col6HeadContent}}} {{{col7HeadContent}}} {{{col8HeadContent}}} {{{col9HeadContent}}} {{{col10HeadContent}}} {{{col11HeadContent}}} {{{col12HeadContent}}} {{{col13HeadContent}}} {{{col14HeadContent}}} {{{col15HeadContent}}}


C1, R1 C2, R1 C3, R1 C4, R1 C5, R1


C1, R2 C2, R2 C3, R2 C4, R2 C5, R2


C1, R3 C2, R3 C3, R3 C4, R3 C5, R3


C1, R4 C2, R4 C3, R4 C4, R4 C5, R4

Practical example of the above basic table

With the above idea in mind, the following shield item table...

Name N E P S Health Curse Fire Freeze Poison Shock Sleep Stun Abilities

-0.05
5
999 999 999
-0.11
11
0 0 0 0 0 0 0 0
-6.05
101
999 999
-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0 0
-999
Natural (non-UV) shield status resistance bars are always full
0 0

... Turns into this :D

Name N E P S Health Curse Fire Freeze Poison Shock Sleep Stun Abilities

-0.05
5
999 999 999
-0.11
11
0 0 0 0 0 0 0 0
-6.05
101
999 999
-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0 0
-999
Natural (non-UV) shield status resistance bars are always full
0 0

Further style Research

Below is a table with 3px rounded corners, and lighter defense type & health cells.

Name N E P S Health Curse Fire Freeze Poison Shock Sleep Stun Abilities

-0.05
5
999 999 999
-0.11
11
0 0 0 0 0 0 0 0
-6.05
101
999 999
-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0 0
-999
Natural (non-UV) shield status resistance bars are always full
0 0

Below is the same table, but with 2px rounded corners, and even lighter defense type & health cells.

Name N E P S Health Curse Fire Freeze Poison Shock Sleep Stun Abilities

-0.05
5
999 999 999
-0.11
11
0 0 0 0 0 0 0 0
-6.05
101
999 999
-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0 0
-999
Natural (non-UV) shield status resistance bars are always full
0 0

Using Template:UniversalTable/BigHeader/Start

Name N E P S Health Curse Fire Freeze Poison Shock Sleep Stun Abilities {{{col14HeadContent}}} {{{col15HeadContent}}}


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee

Name Defense Icon-Stats-Health.png
Icon status curse.pngIcon status fire.pngIcon status freeze.pngIcon status poison.pngIcon status shock.pngIcon status sleep.pngIcon status stun.png
Abilities {{{col5HeadContent}}} {{{col6HeadContent}}} {{{col7HeadContent}}} {{{col8HeadContent}}} {{{col9HeadContent}}} {{{col10HeadContent}}} {{{col11HeadContent}}} {{{col12HeadContent}}} {{{col13HeadContent}}} {{{col14HeadContent}}} {{{col15HeadContent}}}


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee


-6.05
101
-7.12
124
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
-999
Natural (non-UV) shield status resistance bars are always full
0
0
Abilities, abilities, abilities, abilities weeee

Fixing what has broken

Show / Hide

This is a fix for the broken Showhide template (which is protected), to be sent to GH.

Basic Example of usage

Calendars

After implementing Category:UniversalTableUsers, Calendars seem to have gained a soul of their own, below are tests to fix it.


Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec




Iron Iron Iron Iron Iron Iron Titanium Silver Steel Platinum Copper Gold




Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec




Titanium Silver Steel Platinum Copper Gold Titanium Silver Steel Platinum Copper Gold




Various experiments

Unique Variant templates

hahaha variant

Unique variant icon.png

hahaha variant

Unique variant icon.png
  • Attack Speed Increased: Maximum!

    Unique variant icon.png
  • Charge Time Reduction: Medium

    Tooltip Bonus.png
  • Attack Speed Decreased: High

    Tooltip Penalty.png
  • Movement Speed Decreased: Medium

    Tooltip Penalty.png
  • Damage Bonus vs Gremlin: Very High

    Tooltip Bonus.png
  • Damage Penalty vs Slime: Low

    Tooltip Penalty.png
  • Increased Poison Resistance: High

    Unique variant icon.png
  • Tooltip Bonus Sword.pngDamage Bonus: Medium

    Tooltip Bonus.png
  • Tooltip Bonus Handgun.pngDamage Bonus: Maximum!

    Tooltip Bonus.png
  • Tooltip Bonus Bomb.pngDamage Bonus: Low

    Tooltip Bonus.png
  • Icon status poison.pngChance of receiving POISON

    Tooltip Penalty.png
  • Icon status fire.pngChance of receiving FIRE

    Tooltip Penalty.png
  • Icon status shock.pngSlight chance of causing Strong SHOCK

    Tooltip Bonus.png
  • Icon status curse.pngGood chance of causing Strong CURSE

    Tooltip Bonus.png
  • Icon status stun.pngSlight chance of causing Moderate STUN

    Tooltip Bonus.png
  • Icon status freeze.pngGood chance of causing Minor FREEZE

    Tooltip Bonus.png
  • Health Bonus: +10

    Tooltip Bonus.png
  • Health Penalty: -5

    Tooltip Penalty.png
  • hahaha variant

    Tooltip Bonus.png
  • hahaha variant

    Tooltip Penalty.png
  • hahaha variant

    Unique variant icon.png

Tooltip Bonus Sword.pngDamage Bonus: Medium

Tooltip Bonus.png

Tooltip Bonus Handgun.pngDamage Bonus: Maximum!

Tooltip Bonus.png

Tooltip Bonus Bomb.pngDamage Bonus: Low

Tooltip Bonus.png

Supply depot re-format

You can find this page at User:Madhill/Sandbox/Supply_Depot now.

Gate tables re-format (hardcore difficulty x-x)

Originals

Level combinations
Background colors
  • Grey:

Icon Map Theme Normal.png
Normal

  • Orange:

Icon Map Theme Fire.png
Icon status fire.png Fire

  • Blue:

Icon Map Theme Freeze.png
Icon status freeze.png Freeze

  • Green:

Icon Map Theme Poison.png
Icon status poison.png Poison

  • Turquoise:

Icon Map Theme Shock.png
Icon status shock.png Shock

  • Ultramarine:

Icon Map Theme Sleep.png
Icon status sleep.png Sleep


Icons
Icon Map Boss.png
Boss
Icon Map Munitions1.PNG
Ironclaw Munitions Factory
or
Interface-icon-PvE.png Event Dangerous Mission: Grinchlin Assault!
or
Complex 357
Icon Map Castle.png
Firestorm Citadel
or
Royal Jelly Palace
or
Scarlet Fortress
Icon Map City.png
Concrete Jungle
or
Dark City
Icon Map Miniboss.png
Briar Bone Barrage
or
Stygian Steeds
or
Torporal Titan
or
Camp Crimson
Icon Map Candlestick Keep.png
Candlestick Keep
Icon Map Deconstruction Zone.png
Deconstruction Zone
Icon Map Clockwork.png
Clockwork Tunnels
or
Compact Area
or
generic locations
Gate-Gloaming Wildwoods.png
Gloaming Wildwoods
Gate-Graveyard.png
Graveyard
Icon Map Island.png
Aurora Isles
or
Jigsaw Valley
or
Starlight Cradle
or
Sunset Steppes
Icon Map Monsters.png
Devilish Drudgery
or
Lichenous Lair
or
Wolver Den
Icon Map Shield.png
Battle Arena
Icon Map Compound.png
Compound
Gate Icon-Swarm2.png
Shadow Lair
Gate-The Sanctuary.png
The Sanctuary
Gate-Terminal.png
Terminal
Icon Map Town.png
Subtown
Icon Map Treasure.png
Treasure Vault
Gate-Random.png
Random level
Gate-Core.png
The Core
Gate-Generic Lobby.png
Party Lobby
Icon colors
  • Yellow:

Gate-Clockwork-Beast.png
Gate Icon-Beast.png Beasts

  • Brown:

Gate-Clockwork-Construct.png
Gate Icon-Construct.png Constructs

  • Blue:

Gate-Clockwork-Fiend.png
Gate Icon-Fiend.png Fiends

  • Orange:

Gate-Clockwork-Gremlin.png
Gate Icon-Gremlin.png Gremlins

  • Pink:

Gate-Clockwork-Slime.png
Gate Icon-Slime.png Slimes

  • Grey:

Gate-Clockwork-Undead.png
Gate Icon-Undead.png Undead

My Attempts

Gate Icon table
Attempt 1
Icon
Associated Locations



Gate-Generic Lobby.png Party Lobby
Gate-Terminal.png Terminal
Gate-Random.png Random level
Gate-Graveyard.png Graveyard
Gate-Gloaming Wildwoods.png Gloaming Wildwoods
Gate Icon-Swarm2.png Shadow Lair
Gate-The Sanctuary.png The Sanctuary
Gate-Core.png The Core
Icon Map Town.png Subtown
Icon Map Boss.png Boss
Icon Map Munitions1.PNG Ironclaw Munitions Factory, Complex 357,
Interface-icon-PvE.png Event Dangerous Mission: Grinchlin Assault!

Icon Map Castle.png Firestorm Citadel, Royal Jelly Palace, Scarlet Fortress
Icon Map Island.png Aurora Isles, Jigsaw Valley, Starlight Cradle, Sunset Steppes
Icon Map Treasure.png Treasure Vault, Treasure Trove
Icon Map City.png Concrete Jungle, Dark City
Icon Map Monsters.png Devilish Drudgery, Lichenous Lair, Wolver Den
Icon Map Miniboss.png Briar Bone Barrage, Stygian Steeds, Torporal Titan, Camp Crimson
Icon Map Shield.png Battle Arena
Icon Map Candlestick Keep.png Candlestick Keep
Icon Map Compound.png Compound
Icon Map Deconstruction Zone.png Deconstruction Zone
Icon Map Clockwork.png Clockwork Tunnels, Compact Area, Generic Locations
Attempt 2
Icon
Associated Locations



Gate-Generic Lobby.png Party Lobby
Gate-Terminal.png Terminal
Gate-Random.png Random level
Gate-Graveyard.png Graveyard
Gate-Gloaming Wildwoods.png Gloaming Wildwoods
Gate Icon-Swarm2.png Shadow Lair
Gate-The Sanctuary.png The Sanctuary
Gate-Core.png The Core
Icon Map Town.png Gate-Haven.png Gate-Moorcroft Manor.png Gate-Emberlight.png Gate-Rescue Camp.png Gate-Alleys of Emberlight.png
Icon Map Boss.png Gate-Lair of the Snarbolax.png Gate-Battle Royale.png Gate-The Roarmulus Twins.png Gate-Throne Room.png
Icon Map Munitions1.PNG Gate-Ironclaw Munitions Factory.png Gate-Complex 357.png Gate-Grinchlin Assault!.png
Icon Map Castle.png Gate-Firestorm Citadel.png Gate-Royal Jelly Palace.png Gate-Scarlet Fortress.png Gate-Restless Railroad.png
Icon Map Island.png Gate-Aurora Isles.png Gate-Jigsaw Valley.png Gate-Starlight Cradle.png Gate-Sunset Steppes.png
Icon Map Treasure.png Gate-Treasure Vault.png Gate-Treasure Trove.png
Icon Map City.png Gate-Concrete Jungle.png Gate-Dark City.png Gate-Heart of Ice.png
Icon Map Miniboss.png Gate-Briar Bone Barrage.png Gate-Dark City-Stygian Steeds.png Gate-Torporal Titan.png Gate-Camp Crimson.png
Icon Map Monsters.png Devilish Drudgery, Lichenous Lair, Wolver Den
Icon Map Shield.png Battle Arena
Icon Map Candlestick Keep.png Candlestick Keep
Icon Map Compound.png Beast Compounds
Icon Map Compound Glopdrop.png Jelly Compounds
Icon Map Compound Scarab.png Undead Compounds
Icon Map Deconstruction Zone.png Deconstruction Zone
Icon Map Clockwork.png Clockwork Tunnels, Compact Area, Generic Locations
RGB test
Gate-Crash Site.png
Gate-Crash Site.png