Template:Info

From LinnDocs
Jump to navigation Jump to search

Info

Usage

{{Info|title=Specifications}}                     Level-2 heading, in the TOC
{{Info|title=Specifications|level=3}}             Level-3 heading, in the TOC
{{Info|title=Specifications|notoc=yes}}           Looks like a heading, left out of the TOC
{{Info|title=Specifications|hidetoc=yes}}         Removes the whole TOC from this page
  • title: the heading text. Always set it; if it's left out, the heading shows "Info" and the page is listed in Category:Info templates without a title.
  • level: 2 (default) or 3. Any other value is treated as 2.
  • notoc: any value keeps this heading out of the page TOC; the rest of the TOC stays.
  • hidetoc: any value removes the TOC from the whole page. Only one Info call on the page needs it.