Dokumentation für die Vorlage {{TOC top}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
This is used to create custom table of contents templates such as {{list TOC}}.

Please note that this is solely for ease of maintaining existing templates. Please do not use this to write new templates: instead, browse through Kategorie:Vorlagen and use an existing template. This code is one of the final pieces in cleaning up years of redundant and overlapping code in this area.
ParameterBeschreibungTypStatus
titletitle
The title to use for this ToC element.
Standard
Inhaltsverzeichnis
Einzeiliger Textoptional
alignalign
Sets the CSS clear property, which forces this float underneath the side specified with this attribute. So, clear=right will place the element after all the right floating elements before it.
Vorgeschlagene Werte
  • left
  • links
  • right
  • recht
  • center
  • mitte
  • none
Standard
none
Einzeiliger Textoptional
primaryprimary
Set this to false if this ToC is not used as the primary ToC of a page. This makes sure that the title of this ToC does not show up in the primary ToC. A side effect of this is the disappearing of the show/hide toggle.
Vorgeschlagene Werte
  • false
Einzeiliger Textoptional

Format: inline

This is used to create custom table of contents templates such as {{list TOC}}. Please note that this is solely for ease of maintaining existing templates. Please do not use this to write new templates: instead, browse through :Kategorie:Vorlagen and use an existing template. This code is one of the final pieces in cleaning up years of redundant and overlapping code in this area.

Vorlagenparameter[Vorlagendaten bearbeiten]

Diese Vorlage bevorzugt Inline-Formatierung von Parametern.

ParameterBeschreibungTypStatus
titletitle

The title to use for this ToC element.

Standard
Inhaltsverzeichnis
Einzeiliger Textoptional
alignalign

Sets the CSS clear property, which forces this float underneath the side specified with this attribute. So, clear=right will place the element after all the right floating elements before it.

Vorgeschlagene Werte
left links right recht center mitte none
Standard
none
Einzeiliger Textoptional
primaryprimary

Set this to false if this ToC is not used as the primary ToC of a page. This makes sure that the title of this ToC does not show up in the primary ToC. A side effect of this is the disappearing of the show/hide toggle.

Vorgeschlagene Werte
false
Einzeiliger Textoptional

See also

Hinweise