📚 Documentation
The templates in this series are designed to be used in a table to make a cell with text in that cell, with an appropriately colored background. They are commonly used in comparison tables.
If you want to use other attributes for the table cells, e.g. colspan
or rowspan
, they need to be put before the template call and there must be no vertical bar |
in between them:
...
! Yes || No ||rowspan=2 {{n/a}}
|-
|colspan=2 | Yes-No
...
Templates
Table cell templates
Class |
Default syntax |
Preview (default) |
Customized syntax |
Preview (customized)
|
table-na |
{{n/a}} |
N/A |
{{n/a|Unavailable}} |
Unavailable
|
Code
Code specific to this template:
data-sort-value="" style="background: #ececec; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center; " class="table-na" | N/A