Vorlage:Numbered subpages/doc
Skriptfehler: Ein solches Modul „Message box“ ist nicht vorhanden. Vorlage:Lua
Template to show numbered subpages arranged ascendingly from 1 to maximum.
Usage
Simple
{{Numbered subpages}}
Full parameters
{{Numbered subpages |max= |min= |missing= |headertemplate= |SPAN= |preload= |inline= }}
Parameters
|max=number
- You can use the
|max=
parameter to change the number of transcluded and linked subpages. |missing=stop
- To terminate the loop when a non-existing subpage is encountered.
|missing=skip
- To skip non-existing subpages.
|missing=link
- To link, but not transclude missing subpages.
|missing=link
and|preload=preload template
- To use a preload template for missing pages links.
|inline=true
- Boolean parameter to switch from default
- REDIRECT Template:Template link
Vorlage:Redirect category shell to
- REDIRECT Template:Template link
Vorlage:Redirect category shell. This is well suited for single-hook "Did you know" subpages.
Customization of {{Portal subpage}}
|headertemplate=
- To customize box header template. By default, subpage
/box-header
of the portal is used.
Parameter |SPAN=
is passed to
- REDIRECT Template:Template link
Vorlage:Redirect category shell 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
- REDIRECT Template:Template link
Vorlage:Redirect category shell. 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.
__NOTOC__
== Instructions ==
# Add a new Selected quote to the next available subpage using {{tl|cquote}}.
# {{edit|Portal:{{subst:BASEPAGENAME}}|Update {{para|max}} to new total for its {{tnull|Random portal component}} on the portal page.}}
{{purge page}}
{{Numbered subpages}}
{{purge page}}
Used templates
- REDIRECT Template:Template link
Vorlage:Redirect category shell
See also
Skriptfehler: Ein solches Modul „Navbar“ ist nicht vorhanden. Portal content templates
- To display "selected content" on the portal main page
- REDIRECT Template:Template link
Vorlage:Redirect category shell—transcludes excerpts from recognized content lists, which are populated by a bot.
- REDIRECT Template:Template link
Vorlage:Redirect category shell—transcludes random portal subpage.
- REDIRECT Template:Template link
Vorlage:Redirect category shell—transcludes random portal subpage.
- REDIRECT Template:Template link
Vorlage:Redirect category shell—transcludes random portal subpages.
- REDIRECT Template:Template link
Vorlage:Redirect category shell—transcludes a slideshow of pictures, utilizing a single-page gallery.
- To organize "selected content" on subpages
- REDIRECT Template:Template link
Vorlage:Redirect category shell—outputs an automatic index, transcluding numbered subpages.
- REDIRECT Template:Template link
Vorlage:Redirect category shell—outputs a box linking to and transcluding a single subpage.
- REDIRECT Template:Template link
Vorlage:Redirect category shell—outputs an unordered list item linking to and transcluding a single subpage.
Main portal page formatting templates Vorlage:Div col
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell Vorlage:Div col end
Templates that configure links Vorlage:Div col
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell Vorlage:Div col end
Selected page templates, used on subpages of older portals Vorlage:Div col
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell
- REDIRECT Template:Template link
Vorlage:Redirect category shell Vorlage:Div col end
Related templates
- REDIRECT Template:Template link
Vorlage:Redirect category shell
Vorlage:Portal templates navbox