Difference between revisions of "Template:ListEdges.generateTable"

From AtlasWiki
Jump to: navigation, search
(fix predecessor/sucessor links)
Line 73: Line 73:
 
{{#arrayslice:restOfOrigins|origins|1}}{{#arrayprint:restOfOrigins||$$$$| 
 
{{#arrayslice:restOfOrigins|origins|1}}{{#arrayprint:restOfOrigins||$$$$| 
 
{{!}}-
 
{{!}}-
{{!}} [[{{#explode:$$$$|<VAL>|0}}]] {{!}}{{!}} {{#explode:$$$$|<VAL>|1}} }} }} }} }}
+
{{!}} {{NameTrick|{{EnsureNamespace|{{#explode:$$$$|<VAL>|0}}}}}} {{!}}{{!}} {{#explode:$$$$|<VAL>|1}} }} }} }} }}
 
{{!}}}
 
{{!}}}
 
}}
 
}}

Revision as of 15:17, 23 October 2015

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