Template:Cell
This template is used to create styled cells within wikitables.
The template replaces the cell, like this:
{| class="wikitable" |- {{Cell|tick}} | Maybe? {{Cell|unknown|Maybe!}} {{Cell|no|Never!}} |}
Maybe? | Maybe! | Never! |
It only works with MediaWiki's table syntax, not with HTML <table>
elements.
Cell styles
The first parameter specifies the cell styles. It must be one of the following:
cell style | default display |
---|---|
cross | |
tick | |
default |
Optional parameters
The second parameter can be used to override the text.
{{{colspan}}}
: adjusts across how many columns the cell spans. Defaults to 1.{{{rowspan}}}
: adjusts across how many rows the cell spans. Defaults to 1.