Extension:NumerAlpha

The NumerAlpha extension methods of inserting incrementing numbers, letters, and roman numerals into pages. You can reset the count at any moment or begin to a specified number.

First this extension was to supplement the Page Forms extension allowing to add a numbered table when you use the multiple option but you can also use it in templates by utilizing the magic word.

Usage
There are three forms:
 * a zero(s) padded number. (you can configure in the source code the length of your zero padded number. (0 = no zero padding)
 * Roman numeral (i, ii, iii, iv, etc.)
 * alphabetic (a,b,...,z,aa,ab,...,zz,...)

Tags
all of them in combination with reset=1 or begin=1

See examples.

Parser function
Available counter types are "numeral", "alpha" and "roman".

Tags
You can reset it using the parameter reset, and restart the count with the parameter begin
 * Example 1

That will be render like

i ii iii iv v vi vii viii ix

i ii iii iv v

a b c

x xi xii xiii

So it's easy to list the alphabet:

abcdefghijklmnopqrstuvwxyz

hello world goodbye world jupiter jazz
 * Example 2

hello world goodbye world</in> jupiter</in> jazz</in>

<ir>hello</ir> <ir>world</ir> goodbye</ir> <ir>world</ir> jupiter</ir> <ir>jazz</ir>

Parser function
9
 * Wikitext (since version 0.6.0)
 * Result

10

11


 * Wikitext (since version 0.7.0)
 * Result
 * 1


 * 2


 * 1


 * 2


 * 3


 * 1


 * 1

This allows you to have hierarchical lists. Furthermore, if you add "format=outline" to the first #counter you can get output like:
 * 1


 * 2


 * 2.1


 * 2.2


 * 3


 * 3.1


 * 3.1.1