mediawiki

How to merge table cells in mediawiki


I'm trying to merge two cells of a table in mediawiki like so:

Current table:

hello world
one col

Goal: Merge the two cells "one" and "col"


Solution

  • I found this excellent resource online where much of MediaWiki’s table markup is explained: https://en.wikipedia.org/wiki/Help:Sortable_tables#Background_colors_in_sortable_headers

    My solution was the following:

    {|-
    |Hello
    |World
    |-
    | colspan="2" | one col
    |-
    |}