From GamingWiki
(Created page with "Semantic Internal Objects are an advanced way of making the wiki data-driven. For more information on this extension, see [http://www.mediawiki.org/wiki/Extension:Semantic_Intern...") |
(→Is relationship of) |
||
Line 3: | Line 3: | ||
== Available objects == | == Available objects == | ||
− | === Is relationship of === | + | === [[Property: is relationship of | Is relationship of]] === |
Suppose that Adam and Betty are related somehow. For example, they are siblings. To encode this, put the following code in Adam's page: | Suppose that Adam and Betty are related somehow. For example, they are siblings. To encode this, put the following code in Adam's page: |
Latest revision as of 16:27, 27 November 2011
Semantic Internal Objects are an advanced way of making the wiki data-driven. For more information on this extension, see [1].
Available objects[edit]
Is relationship of[edit]
Suppose that Adam and Betty are related somehow. For example, they are siblings. To encode this, put the following code in Adam's page:
{{set_internal:is relationship of
|has name=Betty
|has description=is the brother of
}}
The idea here is that we should be able to form a sentence with {{{CURRENTPAGE}}} [has description] [has name]
, in this case "Adam is the brother of Betty".