Determine the number to use for the first listitem in an orderedlist.
The orderedlist element to use.
The value of the continuation attribute.
This template determines the starting number for an orderedlist element using the continuation attribute. The template finds the first preceding orderedlist element and counts its list items. If that element also uses the continuation attribute, this template calls itself recursively to add that element's starting line number to its list item count.
This template uses conditional processing when looking at preceding ordered lists and their child list items.
The continuation parameter is automatically set based on the continuation attribute of node. It exists as a parameter to allow this template to force continuation when it calls itself recursively for conditional processing.