Template:Colored cell
From Kerbal Space Program Wiki
Adds a colored cell with a sorting value.
If the content is "yes"/"y"/"true"/"t" the cell is colored green and a style="background: #9f9; vertical-align: middle; text-align: center;" class="table-yes" | Yes is added. For "no"/"n"/"false"/"f" it's colored red and a style="background: #f99; vertical-align: middle; text-align: center;" class="table-no" | No is added. For any other value it just shows the content. The comparison is case insensitive and it adds a sort value (1 for Yes, 2 for No and 3 for any other).
# | Optional | Description | Default |
---|---|---|---|
1 | No | Content of the cell |