Vorlage:Numbered subpages/doc

Aus OBS Wiki
< Vorlage:Numbered subpages
Version vom 16. März 2022, 07:38 Uhr von Ecks (Diskussion | Beiträge) (1 Version importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

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
  1. REDIRECT Template:Template link

Vorlage:Redirect category shell to

  1. 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

  1. 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

  1. 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

  1. 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
  1. REDIRECT Template:Template link

Vorlage:Redirect category shell—transcludes excerpts from recognized content lists, which are populated by a bot.

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell—transcludes random portal subpage.

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell—transcludes random portal subpage.

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell—transcludes random portal subpages.

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell—transcludes a slideshow of pictures, utilizing a single-page gallery.

  • To organize "selected content" on subpages
  1. REDIRECT Template:Template link

Vorlage:Redirect category shell—outputs an automatic index, transcluding numbered subpages.

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell—outputs a box linking to and transcluding a single subpage.

  1. 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

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell Vorlage:Div col end

Templates that configure links Vorlage:Div col

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell Vorlage:Div col end

Selected page templates, used on subpages of older portals Vorlage:Div col

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell Vorlage:Div col end

Related templates

  1. REDIRECT Template:Template link

Vorlage:Redirect category shell

Vorlage:Portal templates navbox