Difference between revisions of "Template:ListEdges.generateTable"
From AtlasWiki
(Fix a potential missing new line) |
(Previous "fix" seems to cause no output at all...strange) |
||
Line 59: | Line 59: | ||
{{!}}- | {{!}}- | ||
{{!}} [[{{#explode:@@@@|$SEP$|0}}]] {{!}}{{!}} {{#explode:@@@@|$SEP$|1}} }} }} }} | {{!}} [[{{#explode:@@@@|$SEP$|0}}]] {{!}}{{!}} {{#explode:@@@@|$SEP$|1}} }} }} }} | ||
− | {{#switch:{{#arraysize:inheritedEdges}}| 0 = | #default = | + | {{#switch:{{#arraysize:inheritedEdges}}| 0 = | #default = |
{{!}}- | {{!}}- | ||
! Inherited From !! {{{edgeTitle}}} !! {{{nodeTitle}}} !! Multiplicity !! Description | ! Inherited From !! {{{edgeTitle}}} !! {{{nodeTitle}}} !! Multiplicity !! Description |
Revision as of 19:54, 21 May 2014
Requires five parameters:
title: the main title of the table, e.g. "Specified In Edges"
edgeTitle: the header to place above the edges column of the table, e.g. "In Edge"
nodeTitle: the header to place above the related node column of the table, e.g. "Origin"
uninheritedEdges: a list of edges which have a relationship specified with the node this table is being generated for
inheritedEdges: a list of edges which have a relationship specified with a parent of this node kind