Template:Empty cell

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

[edit] [purge] Template-info.svg Template documentation

Usage

Used to make empty cells in tables. ​ is a Unicode zero-width space.

{| class="wikitable mw-datatable"
|-
! {{empty cell}} !!   heading1   !!   heading2
|-
|     row1       || row1, cell1  || row1, cell2
|-
|     row2       || row2, cell1  || row2, cell2
|-
|}

Renders as:

heading1 heading2
row1 row1, cell1 row1, cell2
row2 row2, cell1 row2, cell2

(Note: leading and trailing spaces between cell divisions are rendered the same by the MediaWiki parser. The table above could be written with a single space between items and still be correct.)

Rationale

Using this template may slightly improve accessibility for screen readers. Additionally, it avoids another editor mistakenly correcting what seems to be tripled markup.