Template:Mermaid

Revision as of 14:54, 11 June 2025 by DoggoBit (talk | contribs) (Created page with "<includeonly>{{#mermaid:{{{1}}}|{{{config|}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template Documentation [edit source| uses| help]

This template is used to display Mermaid charts. For more information about the Mermaid syntax, see the Mermaid reference documentation.

{{#mermaid:flowchart LR|}}

Usage

Simply include this template on a page, specifying the type of chart as the first argument, and supplying the content of the chart as its second argument:

{{mermaid|flowchart LR|
  C[Create a template]
  S[Save your edit]
  N[Notice a syntax error]
  E[Edit your template]
  C --> S
  S --> N
  N --> E
  E --> S
}}