Anonymous

Changes

From KIproBatt Wiki
m
Text replacement - "Is a" to "IsA"
Line 1: Line 1: −
<noinclude>
+
<noinclude>{{AccessControl/Public}}
 
This is the "Semantic Element" template.
 
This is the "Semantic Element" template.
 
It should be called in the following format:
 
It should be called in the following format:
Line 14: Line 14:  
=== Subpages ===
 
=== Subpages ===
 
{{#subpages: }}
 
{{#subpages: }}
</noinclude><includeonly><!-- {{Purge link}} -->
+
</noinclude><includeonly><div style="display:none">{{:{{ROOTPAGENAME}}/_acl}}</div>[[Category:Semantic Element]]<!-- {{Purge link}} -->
{{{description|}}}{{DISPLAYTITLE: {{{label|{{PAGENAME}}}}}}}[[Category:Semantic Element]]
+
 
 +
{{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Edit this element|link type=button}}
 +
{{#forminput:form=Semantic Element|button text=Create new element|placeholder=Name of new element}}
 +
 
 +
== Description ==
 +
{{{description|}}}
 
<!-- {{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Edit this element}} -->
 
<!-- {{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Edit this element}} -->
   −
{{#formlink:form=Semantic Element|target={{PAGENAME}}|link text=Edit this element|link type=button}}
     −
{{#forminput:form=Semantic Element|button text=Create new element|placeholder=Name of new element}}
      
== Semantic Links ==
 
== Semantic Links ==
 
{{{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 47: Line 50:  
== Semantic Statements ==
 
== Semantic Statements ==
   −
{{#ifeq: {{#ask: [[{{PAGENAME}}]] [[Category:Semantic Reference]] |link=none}} | {{PAGENAME}} | {{#formlink:form=Semantic Statement|link text=Add statement|query string=Semantic Statement[reference]={{PAGENAME}}}}| {{DISPLAYTITLE:{{SUBPAGENAME}}}} {{#formlink:form=Semantic Statement|link text=Add statement|query string=Semantic Statement[subject]={{PAGENAME}}}} }}
+
{{#ifeq: {{#ask: [[{{PAGENAME}}]] [[Category:Semantic Reference]] |link=none}} | {{PAGENAME}} | {{#formlink:form=Semantic Statement|link text=Add statement|query string=Semantic Statement[reference]={{PAGENAME}}}}| {{DISPLAYTITLE: {{{label|{{PAGENAME}}}}}}} {{#formlink:form=Semantic Statement|link text=Add statement|query string=Semantic Statement[subject]={{PAGENAME}}}} }}
 
<!--  
 
<!--  
 
{{#ask: [[Category:Semantic Statement]] [[{{#ifeq: {{#ask: [[{{PAGENAME}}]] [[Category:Semantic Reference]] |link=none}} | {{PAGENAME}} |has reference|has subject}}::{{PAGENAME}}]] -->
 
{{#ask: [[Category:Semantic Statement]] [[{{#ifeq: {{#ask: [[{{PAGENAME}}]] [[Category:Semantic Reference]] |link=none}} | {{PAGENAME}} |has reference|has subject}}::{{PAGENAME}}]] -->
Line 53: 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 74: Line 77:  
}}
 
}}
   −
<!-- ===Statements from Semantic Links=== -->
+
== External Identifiers ==
 +
IRI: {{{iri|}}}
 +
 
 +
{{{external_identifiers|}}}
 +
 
 +
<!-- Process specific: 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__}}{{#set: Has direct correlation to=__PARAM__}}|\s}}
 +
{{#arraymap:
 +
{{#ask: [[Has subject::{{FULLPAGENAME}}]] [[Has property::Property:Correlation to]] [[Has subobject.Has object::Correlation/Undefined direct correlation]]
 +
|?Has object=
 +
|mainlabel=-
 +
|link=none
 +
|format=plain
 +
}}
 +
|,|__PARAM__|{{#set: Has undefined direct correlation to=__PARAM__}}{{#set: Has direct correlation to=__PARAM__}}|\s}}
 +
 
 +
<!-- [[Has defined direct correlation to::__PARAM__]] -->
 +
{{#if: {{#ask: [[{{FULLPAGENAME}}]] [[IsA::Process parameter]]}} | {{Semantic Element/Process parameter}} |<!-- No process parameter -->}}
    
</includeonly>
 
</includeonly>
Bots, bulkpusher, Bureaucrats, checkuser, filepusher, Interface administrators, oversight, pusher, rdfioadministrator, rdfiocurator, Administrators (Semantic MediaWiki), Curators (Semantic MediaWiki), Editors (Semantic MediaWiki), Administrators
5,444

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.