Jump to content

Template:TOC-AZ/doc

From translatewiki.net
This is the documentation subpage for the parent Template:TOC-AZ page.
Usage:
Place a compact table of contents, centered horizontally at the current position in the page, for navigating sections named with a single letter (e.g. in a glossary).
Syntax:
Parameters:
  • |A=n, ..., |Z=n: if set to the value 'n', these optional parameters remove the link to an section named with that letter and that does not exist in the current page.
  • |1=, ..., |9=: if set to a non-empty value, these optional parameters add a link to an extra section with the specified name on the current page.
    • |id1=, ..., |id9=: if set to a non-empty value, these optional parameters allow setting a custom id for linking to the extra section named with |1=, ..., |4= on the current page (instead of using the default anchor generated from the section name with {{#ANCHORENCODE:Section name}}).
  • |Seealso=: if set to a non-empty value, this optional parameter add a link to an extra section with the specified name (or with the autotranslated name “See also” if this parameter is set to y or 1) on the current page.
    Note: the default autotranslated name “See also” comes from {{Int:Seealso}} and uses translated messages stored in “MediaWiki:Seealso/language-code”.
    • |idSeealso=: if set to a non-empty value, this optional parameter allows setting a custom id for linking to the “See also” section on the current page.
See also: