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: | ||
<includeonly>{{#if:{{{2|}}} | <includeonly>{{#if:{{{2|}}} | ||
|{{PAGENAMEE:{{{1}}}}}["{{ | |{{PAGENAMEE:{{{1}}}}}["{{SUBPAGENAME:{{{1}}}}}"] --> {{PAGENAMEE:{{{2}}}}}["{{SUBPAGENAME:{{{2}}}}}"] | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
This template formats a single line for a Mermaid graph. | This template formats a single line for a Mermaid graph. | ||
* '''{{{1}}}''' should be the source page (subject). | * '''{{{1}}}''' should be the source page (subject). | ||
* '''{{{2}}}''' should be the destination page (object). | * '''{{{2}}}''' should be the destination page (object). | ||
It creates a line like: | It creates a line like: Concept_Node_A["Node A"] --> Concept_Node_B["Node B"] | ||
</noinclude> | </noinclude> |