Neat Tips For Editors
From HorizonXI Wiki
Brand new page, very much a work in progress.
Mid-word Linebreaks
When formatting tables, you can tell mediawiki to apply a linebreak mid-word via the <wbr> html tag. This can be especially useful when dealing with long words in small tables and/or small columns. It can also help to prevent tables with these really long words from breaking pages on mobile devices.
{| class="horizon-table table-xs digging-table"
! width="10%" | Reallylong<wbr>header! !! width="20%" | header 2 !! width="20%" | header 3!! width="25%" | header 4!! width="25%" | header 5
|-
| content || content || content || content || content
|}
Results in...
| Reallylong |
header 2 | header 3 | header 4 | header 5 |
|---|---|---|---|---|
| reallylong |
content | content | content | content |
