From GamingWiki
(Created page with "Define a relationship between two entities. This uses two properties: Property: has relationship, which is set like a normal property, and Property: is relationship of, w...") |
|||
Line 12: | Line 12: | ||
-->{{#set: has relationship = {{{2}}};{{{1}}} }}<!-- | -->{{#set: has relationship = {{{2}}};{{{1}}} }}<!-- | ||
+ | -->{{#set: {{{1}}} = {{{2}}} }}<!-- | ||
-->{{#set_internal: Is relationship of | -->{{#set_internal: Is relationship of | ||
| Has name={{{2}}} | | Has name={{{2}}} |
Latest revision as of 19:28, 30 May 2014
Define a relationship between two entities. This uses two properties: Property: has relationship, which is set like a normal property, and Property: is relationship of, which is set through Semantic Internal Objects.
To use this template, do:
{{Relationship | has specific relationship with | Other Entity }}
The "has specific relationship with" can be any appropriate string, so long as a description of the relationship is formed by prepending the current page name and appending the Other Entity parameter (which should be a page name). For example:
{{Relationship | is the stalwart companion of | Hiro Protagonist }}