Difference between revisions of "Template:Semantic Element"
From KIproBatt Wiki
Simon Stier (talk | contribs) m Tag: 2017 source edit |
Simon Stier (talk | contribs) (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}} | ||
− | |||
</includeonly> | </includeonly> |
Revision as of 06: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.