Template:Numbered subpages/doc
This is a documentation subpage for Template:Numbered subpages. It contains usage information, categories and other content that is not part of the original template page. |
Template layout
{{Numbered subpages}}
Additionally, you can use the {{25 numbered subpages}}
or {{75 numbered subpages}}
templates to change the number of links on the subpages.
Usage
Template to show numbered sub-pages arranged ascendingly from 1 to maximum. Max must be defined in Template by repeating parameters used in forLoop template till maximum. Maximum is defined as 25, 50, 75, or 100, depending on the version used.
Example
This is an example of use of the template as it would be found on the "Selected articles" 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 articles 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.
__NOTOC__ == Usage == The template used for the creation of these sub-pages is located at {{tl|Selected article}} # Add a new Selected article to the next available subpage. # Update "max=" to new total for its {{tl|Random portal component}} on the main page. {{purgepage}} {{Numbered subpages}} {{purgepage}}
Trivial
passing parameter as maximum is not supported yet. In fact its only way is by using #for (MediaWiki 1.7+);In fact this template would be much easier if used #for but it is a part of MediaWiki 1.7 (not used yet).
Used Templates
See also
- Main portal creation templates
{{Box portal skeleton}}
- used to create portal main pages.{{Random portal component}}
- used on the portal main page to randomly display articles from the portal sub-pages.{{Random portal component with nominate}}
- used on the portal main page to randomly display articles from the portal sub-pages, adding the option to nominate other Featured foo articles.{{Random subpage}}
- used on the portal main page to randomly display articles from the portal sub-pages. This template is best used for creating randomly populated Did you know... sections on the portal main page that are intended to include multiple Did you know... facts.{{Subpage}}
.{{Numbered subpages}}
- used to create article links on portal sub-pages with 50 links.{{25 numbered subpages}}
- As hereinbefore, but with 25 links.{{75 numbered subpages}}
- As hereinbefore, but with 75 links.{{100 numbered subpages}}
- As hereinbefore, but with 100 links.
{{Random box-header subpage}}
.
- Main portal page formatting templates
{{Boxheader}}
{{Box-header}}
{{Box-header1}}
{{Box-header2}}
{{Boxfooter}}
{{Box-footer}}
{{Box-footer2}}
{{Box-Header II}}
{{Box-header-blank}}
{{Box-header-groovy}}
{{Box-header-health}}
{{Box-header-round}}
{{Box-header-square}}
{{Box-header-watch}}
{{Box-header-plain}}
- Templates that configure links
{{Browsebar}}
{{Portals}}
{{Related portals}}
{{Related portals2}}
{{Wikimedia for portals}}
- These templates are used to format the articles on the sub-pages
{{Selected X}}
- Generic template for situations not listed below.
{{Selected article}}
{{Selected biography}}
{{Selected business}}
{{Selected DYK}}
{{Selected ingredient}}
{{Selected location}}
{{Selected quote}}
{{Selected picture}}
{{Selected product}}
{{Selected publication}}
{{Selected recipe}}
- Related templates