Difference between revisions of "Template:Semantic Element"

From KIproBatt Wiki
Tag: 2017 source edit
m (Text replacement - "Is a" to "IsA")
 
(4 intermediate revisions by the same user not shown)
Line 28: Line 28:
 
{{{relations|}}}
 
{{{relations|}}}
 
{{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Add or edit outgoing links}}<br/>To edit incoming links, go to the subjects site.
 
{{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Add or edit outgoing links}}<br/>To edit incoming links, go to the subjects site.
<!-- {{Set inverted property|property name=Has part|inverse property name=Is part of|semantic link=True}} -->
+
<!-- {{Set inverted property|property name=HasPart|inverse property name=IsPartOf|semantic link=True}} -->
 
=== Outgoing ===
 
=== Outgoing ===
 
<div class='link-to-form-if-new' id='Semantic Element'>
 
<div class='link-to-form-if-new' id='Semantic Element'>
Line 56: Line 56:
 
[[Category:Semantic Statement]] [[has subject::{{PAGENAME}}]]  OR
 
[[Category:Semantic Statement]] [[has subject::{{PAGENAME}}]]  OR
 
[[Category:Semantic Statement]] [[has object::{{PAGENAME}}]]  
 
[[Category:Semantic Statement]] [[has object::{{PAGENAME}}]]  
<!-- |?has subject=Subject
+
<!-- |?Has subject=Subject
|?has property=Property
+
|?Has property=Property
|?has object=Object -->
+
|?Has object=Object -->
<!-- |?has quantity=Quantity
+
<!-- |?Has quantity=Quantity
|?has value=Value
+
|?Has value=Value
|?has unit=Unit
+
|?Has unit=Unit
|?has quantity type=Type
+
|?Has quantity type=Type
|?has relation qualifier=Relation type
+
|?Has relation qualifier=Relation type
|?has relation reference=Relation target -->
+
|?Has relation reference=Relation target -->
<!-- |?has quality=Quality
+
<!-- |?Has quality=Quality
|?has reference=Reference -->
+
|?Has reference=Reference -->
 
|mainlabel=Statement
 
|mainlabel=Statement
 
<!-- |@deferred -->
 
<!-- |@deferred -->
Line 78: Line 78:
  
 
== External Identifiers ==
 
== External Identifiers ==
 +
IRI: {{{iri|}}}
 +
 
{{{external_identifiers|}}}
 
{{{external_identifiers|}}}
  
Line 99: Line 101:
  
 
<!-- [[Has defined direct correlation to::__PARAM__]] -->
 
<!-- [[Has defined direct correlation to::__PARAM__]] -->
{{#if: {{#ask: [[{{FULLPAGENAME}}]] [[Is a::Process parameter]]}} | {{Semantic Element/Process parameter}} |<!-- No process parameter -->}}
+
{{#if: {{#ask: [[{{FULLPAGENAME}}]] [[IsA::Process parameter]]}} | {{Semantic Element/Process parameter}} |<!-- No process parameter -->}}
  
 
</includeonly>
 
</includeonly>

Latest revision as of 05:41, 4 September 2022

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