Difference between revisions of "Template:Semantic Element"

From KIproBatt Wiki
m
Tag: 2017 source edit
(Add properties from statements)
Tag: 2017 source edit
Line 73: Line 73:
 
|link=none
 
|link=none
 
}}
 
}}
 +
<!-- Add properties from statements  -->
 +
{{#arraymap:
 +
{{#ask: [[Has subject::{{FULLPAGENAME}}]] [[Has property::Property:Correlation to]] [[Has subobject.Has object::Correlation/Defined direct correlation]]
 +
|?Has object=
 +
|mainlabel=-
 +
|link=none
 +
|format=plain
 +
}}
 +
|,|__PARAM__|{{#set: Has defined direct correlation to=__PARAM__}}|\s}}
  
<!-- ===Statements from Semantic Links=== -->
 
  
 
</includeonly>
 
</includeonly>

Revision as of 07:19, 25 May 2021

This is the "Semantic Element" template. It should be called in the following format:

{{Semantic Element
|iri: ontology iri
|label: display name
|description: description
|relations: List of semantic links
}}

Edit the page to see the template text.

Subpages