Template:MermaidRelationship: Difference between revisions
Jump to navigation
Jump to search
AdminIsidore (talk | contribs) No edit summary |
AdminIsidore (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{#if:{{{C?Connects toR|}}} | |||
{{#lf:}}[ | |{{#lf:}}{{PAGENAMEE:{{{PAGE}}}}}["{{SUBPAGENAME:{{{PAGE}}}}}"] --> {{PAGENAMEE:{{{C?Connects toR}}}}}["{{SUBPAGENAME:{{{C?Connects toR}}}}}"] | ||
}} | |||
This template formats a single line for a Mermaid graph using Semantic MediaWiki's #ask result. | |||
* '''{{{PAGE}}}''' is the source page (automatically passed by SMW). | |||
* '''{{{C?Connects toR}}}''' is the value of the "Connects to" property (object page). | |||
Generates: Node_A["Node A"] --> Node_B["Node B"] |
Revision as of 19:05, 29 August 2025
This template formats a single line for a Mermaid graph using Semantic MediaWiki's #ask result.
- {{{PAGE}}} is the source page (automatically passed by SMW).
- {{{C?Connects toR}}} is the value of the "Connects to" property (object page).
Generates: Node_A["Node A"] --> Node_B["Node B"]