Difference between revisions of "Template:Node"

From AtlasWiki
Jump to: navigation, search
(removing this template from regular XCSG categories, adding it to an XCSG templates category)
(Adding automatic discovery of inherited edge relationships)
Line 3: Line 3:
 
| description = {{{description}}}
 
| description = {{{description}}}
 
| references{{#if:{{{references|}}}||NULL}} = {{{references}}}
 
| references{{#if:{{{references|}}}||NULL}} = {{{references}}}
}}{{#if:{{ListEdges}}|
+
}}{{#arraydefine:parents|{{AllParentsOf}}|,|}}{{#if:{{ListEdges|{{#arrayprint:parents|,|}}}}|
  
{{ListEdges}}}}<includeonly>[[Category:XCSG]][[Category:XCSG Node Kinds]][[Category:XCSG Tags]]</includeonly><noinclude>[[Category:XCSG Templates]]</noinclude>
+
{{ListEdges|{{#arrayprint:parents|,|}}}}}}<includeonly>[[Category:XCSG]][[Category:XCSG Node Kinds]][[Category:XCSG Tags]]</includeonly><noinclude>[[Category:XCSG Templates]]</noinclude>

Revision as of 18:23, 21 April 2014

Metaclass Node
Description {{{description}}}
Known Possible In Edges
In Edge Predecessor Multiplicity Description
Contains Node 1 Indicates that the predecessor contains the successor in a sense specified by the specific type of Contains edge.
Known Possible Out Edges
Out Edge Successor Multiplicity Description
Contains Node Indicates that the predecessor contains the successor in a sense specified by the specific type of Contains edge.