Template:Paired list grid

Revision as of 00:44, 21 April 2025 by dragon>Rigel Kent (no container margin)

Displays a grid containing key-value pairs. The grid's width is split into 1/12ths, so 12 "span" values fills the width. Default span value is 3, a four-column appearance.

Example

{{paired list grid
 | key background color = lightblue
 | span 1  = 4
 | key 1   = Level
 | value 1 = 10
 | span 2  = 4
 | key 2   = HP
 | value 2 = 100
 | span 3  = 4
 | key 3   = MP
 | value 3 = 10
 | key 4   = Attack
 | value 4 = 100
 | key 5   = Defence
 | value 5 = 100
 | key 6   = Agility
 | value 6 = 100
 | key 7   = Luck
 | value 7 = 100
}}
Level
10
HP
100
MP
10
Attack
100
Defence
100
Agility
100
Luck
100

Appearance in narrow viewports:

Level
10
HP
100
MP
10
Attack
100
Defence
100
Agility
100
Luck
100