Jump to content

Template:Infobox algorithm

From Encyclopedia of Algorithms
Revision as of 19:14, 3 August 2026 by Aitzaz (talk | contribs) (visual friendly, claude improvement)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Infobox algorithm

    Right-hand infobox holding a procedure in CLRS style.

    Template parameters

    This template prefers block formatting of parameters.

    ParameterDescriptionTypeStatus
    Algorithm namename

    Heading shown at the top of the box. Defaults to the page title.

    Linesuggested
    Procedure signaturesignature

    The call line, for example Insertion-Sort(A, n). Plain text.

    Linerequired
    Pseudocodecode

    Plain text, one step per line. Indent nested blocks with four spaces or a tab per level. Keywords, procedure names and variables are styled automatically.

    Contentrequired