Template:Mermaid/Doc: Difference between revisions
Appearance
Created page with "This template is used to display Mermaid charts. For more information about the Mermaid syntax, see the [https://mermaid.js.org/syntax/flowchart.html Mermaid reference documentation]. {{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 }} === Usage === Simply include this template on a page, specifying the type of chart as the first argument, and supplying the con..." |
(No difference)
|
Latest revision as of 15:14, 11 June 2025
This template is used to display Mermaid charts. For more information about the Mermaid syntax, see the Mermaid reference documentation.
{{#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
}}
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
}}