Template:Row numbers

From Suresh Joshi

Usage

{{row numbers|
{| class="wikitable"
|+test incrementor
!count !! lorem
|-
|_row_count || A
|-
|_row_count || B
|-
|_row_count || C
|-
| _row_count || D
|-
|_row_count || E
|}}}

Output:-

test incrementor
count lorem
1 A
2 B
3 C
4 D
5 E