Template:Empty cell/doc

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
This is a documentation subpage for Template:Empty cell.
It contains usage information, categories and other content that is not part of the original template page.
To view the template page itself, see Template:Empty cell.

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.