Simply type {{Ukmotorwaysmall|motorway number (without the "M" prefix)}}. ie:
{{ukmotorwaysmall|1}} produces:
[ M 1  ] M1 motorway.
For an example of the output, see A61 road
Any questions, ask the creator

See also

change