Template:Alternating rows table/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Alternating rows table. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses TemplateStyles: |
This template may be used to generate a table with alternating row shading.
Usage
{{alternating rows table|class=wikitable}}
! Number !! Cell name
|-
| 1 || Cell 1
|-
| 2 || Cell 2
|-
| 3 || Cell 3
|-
| 4 || Cell 4
|-
{{end}}
Parameters
The default class is |class=wikitable
, for a sortable table, use |class=wikitable sortable
.
See also
- fr:MediaWiki:Common.css which includes the
alternance
class (the inspiration for this template).