Difference between revisions of "Template:InheritEdgesFrom"

From AtlasWiki
Jump to: navigation, search
(Created page with "<noinclude>Creates table rows listing edges that go to the specified parent. The table is expected to be called with the following format: <pre>{| class="xcsgtable" |- ! Par...")
 
(adding to Category:XCSG Templates)
Line 23: Line 23:
 
{{!}}{{#arrayprint:inEdges|{{!}}-
 
{{!}}{{#arrayprint:inEdges|{{!}}-
 
{{!}}|var|{{{1}}}{{!}}{{!}}[[{{#explode:var|$SEP$|0}}]] {{!}}{{!}} [[{{#explode:var|$SEP$|1}}]] {{!}}{{!}} {{#explode:var|$SEP$|2}} {{!}}{{!}} {{ReconstructLinks|{{#explode:var|$SEP$|3}}}} }}  
 
{{!}}|var|{{{1}}}{{!}}{{!}}[[{{#explode:var|$SEP$|0}}]] {{!}}{{!}} [[{{#explode:var|$SEP$|1}}]] {{!}}{{!}} {{#explode:var|$SEP$|2}} {{!}}{{!}} {{ReconstructLinks|{{#explode:var|$SEP$|3}}}} }}  
}}
+
}}<noinclude>[[Category:XCSG Templates]]</noinclude>

Revision as of 10:08, 22 April 2014

Creates table rows listing edges that go to the specified parent.

The table is expected to be called with the following format:

{| class="xcsgtable"
|-
! Parent !! Out Edge !! Successor (Points To) !! Multiplicity !! Description
{{InheritEdgesFrom|parent}}
{{InheritEdgesFrom|other parent}}
...
|}