Category:Table cell templates

From LFS Manual
Revision as of 00:36, 26 January 2024 by MandulAA (talk | contribs) (warning logo)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to navigationJump to search

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. Most of these templates should not be used simply to produce a background color, use them according to their meaning.

Caution.png Important! If you want to use other attributes for the table cells, e.g. colspan, rowspan, or style, they need to be put before the template call, and there must be no vertical bar (aka pipe: |) in-between them! The following is correct:

...
!{{Yes}} ||{{No}} ||rowspan=2 {{N/A}}
|-
|colspan=2 style="border:solid 3px Maroon" {{TBA}} 
...