Template:Info

From LinnDocs
Revision as of 15:37, 2 November 2026 by Yoda (talk | contribs) (Created page with "{{#if: {{{notoc|}}} | <div class="fake-h{{#ifeq: {{{level|2}}} | 3 | 3 | 2}}" role="heading" aria-level="{{#ifeq: {{{level|2}}} | 3 | 3 | 2}}">{{{title|Info}}}</div> | {{#ifeq: {{{level|2}}} | 3 | === {{{title|Info}}} === | == {{{title|Info}}} == }} }} <!-- Your existing template content goes here --> <includeonly>{{#if: {{{title|}}} | | Category:Info templates without a title}}</includeonly><noinclude> == Usage == <pre> {{Info|title=Specifications}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 level 2, not in the TOC
{{Info|title=Specifications|level=3|notoc=yes}}   Looks like level 3, not in the TOC
  • 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 the heading out of the page TOC.