Difference between revisions of "Template:InheritEdgesTo"
From AtlasWiki
(switching from <onlyinclude> to <noinclude>) |
(missing column in example table, missing | in result) |
||
Line 5: | Line 5: | ||
<pre>{| class="xcsgtable" | <pre>{| class="xcsgtable" | ||
|- | |- | ||
− | ! Parent !! In Edge !! Multiplicity !! Description | + | ! Parent !! In Edge !! Prececessor (Comes From) !! Multiplicity !! Description |
− | {{InheritEdgesTo | parent}} | + | {{InheritEdgesTo|parent}} |
− | {{InheritEdgesTo | other parent}} | + | {{InheritEdgesTo|other parent}} |
... | ... | ||
|}</pre> | |}</pre> | ||
Line 22: | Line 22: | ||
{{!}}- | {{!}}- | ||
{{!}}{{#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}}}} }} |
}} | }} |
Revision as of 12:02, 21 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 !! In Edge !! Prececessor (Comes From) !! Multiplicity !! Description {{InheritEdgesTo|parent}} {{InheritEdgesTo|other parent}} ... |}