Template:Numbered subpages/doc

Template to show numbered subpages arranged ascendingly from 1 to maximum.

Usage
Simple

Full parameters

Parameters

 * number
 * You can use the max parameter to change the number of transcluded and linked subpages. Note that large numbers of subpages will cause problems with the server post-expand size limits.


 * stop
 * To terminate the loop when a non-existing subpage is encountered.


 * skip
 * To skip non-existing subpages.


 * link
 * To link, but not transclude missing subpages.


 * link and preload template
 * To use a preload template for missing pages links.


 * true
 * Boolean parameter to switch from default Portal subpage to Portal subpage inline. This is well suited for single-hook "Did you know" subpages.

Customization of

 * headertemplate
 * To customize box header template. By default, subpage  of the portal is used.

Parameter SPAN is passed to Portal subpage as is. See Template:Box-header/doc for details.

Examples
This is an example of use of the template as it would be found on the "Selected quotes" sub-page that is a component of a portal created using the box portal skeleton. Simply placing the template on the page is all that is needed to show all selected quotes stored in sub-pages linked to it, however using the template as part of a fully formed description makes it easier for other editors to modify the page as needed.

Used templates

 * Portal subpage