Template:Alternative colors
Jump to navigation
Jump to search
Usage
Provides alternative color table row.
Syntax
{{Alternative colors|<number>}}
Parameters
- 1 = <number> – row color depends on number parity; third color is provide if there is no number
Example
{|class="wikitable" |- bgcolor={{Alternative colors|1}} | 1e cell || 2e cell |- bgcolor={{Alternative colors|2}} | 3e cell || 4e cell |- bgcolor={{Alternative colors|3}} | 5e cell || 6e cell |- bgcolor={{Alternative colors|}} | 7e cell || 8e cell |- bgcolor={{Alternative colors|5}} | 9e cell || 10e cell |- bgcolor={{Alternative colors|6}} | 11e cell || 12e cell |}
1e cell | 2e cell |
3e cell | 4e cell |
5e cell | 6e cell |
7e cell | 8e cell |
9e cell | 10e cell |
11e cell | 12e cell |