Template:Row numbers: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#invoke:row numbers|row_numbers|{{{1}}}|index={{{index|}}}}}</includeonly><noinclude> {{row numbers|<nowiki> {| class="wikitable" |+test incrementor !count !! l...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#invoke:row numbers|row_numbers|{{{1}}}|index={{{index|}}}}}</includeonly><noinclude> | <includeonly>{{#invoke:row numbers|row_numbers|{{{1}}}|index={{{index|}}}}}</includeonly><noinclude> | ||
== Usage == | |||
<pre> | |||
{{row numbers|<nowiki> | {{row numbers|<nowiki> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 11: | Line 13: | ||
|_row_count || C | |_row_count || C | ||
|- | |- | ||
| | | _row_count || D | ||
|- | |||
|_row_count || E | |||
|}</nowiki>}} | |||
</pre> | |||
'''Output:-''' | |||
{{row numbers|<nowiki> | |||
{| class="wikitable" | |||
|+test incrementor | |||
!count !! lorem | |||
|- | |||
|_row_count || A | |||
|- | |||
|_row_count || B | |||
|- | |||
|_row_count || C | |||
|- | |||
| _row_count || D | |||
|- | |- | ||
|_row_count || E | |_row_count || E | ||
|}</nowiki>}} | |}</nowiki>}} | ||
</noinclude> | </noinclude> |
Latest revision as of 05:23, 3 June 2021
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:-
count | lorem |
---|---|
1 | A |
2 | B |
3 | C |
4 | D |
5 | E |