Difference between revisions of "Template:InheritEdgesTo"
From AtlasWiki
(New lines between edges, support for multiple origin nodes for the same type of edge) |
(change to support split between "permitted" and "specified" edges) |
||
Line 1: | Line 1: | ||
<noinclude>Creates table rows listing edges that go to the specified parent. | <noinclude>Creates table rows listing edges that go to the specified parent. | ||
− | + | Inherited edges are of two kinds: "permitted" edges and "specified" edges. | |
+ | |||
+ | An example requesting "permitted" edges might look like this: | ||
<pre>{| class="xcsgtable" | <pre>{| class="xcsgtable" | ||
|- | |- | ||
! Parent !! In Edge !! Prececessor (Comes From) !! Multiplicity !! Description | ! Parent !! In Edge !! Prececessor (Comes From) !! Multiplicity !! Description | ||
− | {{InheritEdgesTo|parent}} | + | {{InheritEdgesTo|parent|permitted}} |
− | {{InheritEdgesTo|other parent}} | + | {{InheritEdgesTo|other parent|permitted}} |
... | ... | ||
|}</pre> | |}</pre> | ||
− | </noinclude>{{#ask: [[edge to {{{1}}}::+]] | + | </noinclude>{{#ask: [[{{{2}}} edge to {{{1}}}::+]] |
− | | ?edge to {{{1}}} | + | | ?{{{2}}} edge to {{{1}}} |
| format=array | | format=array | ||
| headers=hide | | headers=hide |
Revision as of 18:05, 7 May 2014
Creates table rows listing edges that go to the specified parent.
Inherited edges are of two kinds: "permitted" edges and "specified" edges.
An example requesting "permitted" edges might look like this:
{| class="xcsgtable" |- ! Parent !! In Edge !! Prececessor (Comes From) !! Multiplicity !! Description {{InheritEdgesTo|parent|permitted}} {{InheritEdgesTo|other parent|permitted}} ... |}