Anonymous

Changes

From KIproBatt Wiki
Pushed from ELI Database.
<noinclude>
This is the "Semantic Element" template.
It should be called in the following format:
<pre>
{{Semantic Element
}}
</pre>
Edit the page to see the template text.
</noinclude><includeonly><!-- {{Purge link}} -->
[[Category:Semantic 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 ==
{{#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}} -->
=== Outgoing ===
<!-- <div class='link-to-form-if-new' id='Semantic Element'> -->
{{#ask: [[subject::{{FULLPAGENAME}}]] [[Category:Semantic Link]]
|?property
|?value=Object
|format=table
|mainlabel=Subject
|@deferred
}}<!-- </div> -->

=== Incoming ===
{{#ask: [[Category:Semantic Link]] [[value::{{FULLPAGENAME}}]]
|?property
|?value=Object
|format=table
|mainlabel=Subject
|@deferred
}}

== 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}}}} }}
<!--
{{#ask: [[Category:Semantic Statement]] [[{{#ifeq: {{#ask: [[{{PAGENAME}}]] [[Category:Semantic Reference]] |link=none}} | {{PAGENAME}} |has reference|has subject}}::{{PAGENAME}}]] -->
{{#ask: [[Category:Semantic Statement]] [[has reference::{{PAGENAME}}]] OR
[[Category:Semantic Statement]] [[has subject::{{PAGENAME}}]] OR
[[Category:Semantic Statement]] [[has object::{{PAGENAME}}]]
|?has subject=Subject
|?has property=Property
|?has object=Object
|?has quantity=Quantity
|?has value=Value
|?has unit=Unit
|?has quantity type=Type
|?has relation qualifier=Relation type
|?has relation reference=Relation target
|?has quality=Quality
|?has reference=Reference
|@deferred
}}

<!-- ===Statements from Semantic Links=== -->

</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.