Template:Alternative colors/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Alternative colors. It contains usage information, categories and other content that is not part of the original template page. |
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 |