Template:Alternative colors/doc
< Template:Alternative colors
Jump to navigation
Jump to search
Revision as of 17:39, 23 April 2020 by Wikipedia>Vanisaac (→Example: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
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 |