Help:DivePixels: Difference between revisions

From artserver wiki
Line 34: Line 34:
}}
}}
</pre>
</pre>
Note that in this Ask request uses an [https://www.semantic-mediawiki.org/wiki/Help:Inverse_properties Inverse property].
to ask for all the '''items(pages) which are dive sites of a given location''' <nowiki>[[-Location::+]]</nowiki>
And all the DivePixels' photos ( File: pages tagged with <nowiki>[[Section::DivePixels]]</nowiki> )
And all the DivePixels' photos ( File: pages tagged with <nowiki>[[Section::DivePixels]]</nowiki> )
<pre>
<pre>

Revision as of 22:18, 30 July 2018

DivePixels Documentation

DivePixels is centered around the semantic annotation of images, using Page Forms.

Image's Annotations

At the heart of the DivePixels' section are File: pages, dedicated to pictures taking scuba diving.

Each of the DivePixels' File: pages includes option to Edit with Form: Form:Image (enabled in the Project:File. The form asks for the semantic properties of:

  • Section
  • Date
  • Dive Site - each Dive Site value is a page dedicated to the Dive site, bearing the page name
  • Species - each Species value is a page dedicated to the Species, bearing the page name

Species pages

Are dedicate to information about the Species, bearing the page name

By adding the Template:Species: {{Species}} a list of all the wiki pages tagged with [[Species::thatspieces]] will be printed


Dive Site pages

Are dedicate to information about the Dive Site, bearing the page name

Printing results

DivePixels uses an Semantic Ask to printout tables of "Dive Sites According to Location"

{{#ask: [[-Location::+]]
 |format=table
 |link=all
 |mainlabel=Location
 |?Country
 |?Dive Site
 |class=sortable wikitable smwtable
}}

Note that in this Ask request uses an Inverse property. to ask for all the items(pages) which are dive sites of a given location [[-Location::+]]


And all the DivePixels' photos ( File: pages tagged with [[Section::DivePixels]] )

{{#ask: [[Section::DivePixels]]
 |format=table
 |link=all
 |?Dive Site 
 |?Date
 |?Species
 |sort= Dive Site 
 |order=descending
 |headers=show
 |searchlabel=... further results
 |class=sortable wikitable smwtable
}}

Things: Species, Dive Sites

Use the {{Species}} and {{Dive Site}} in order to create image galleries in the value pages of these properties.


To Write

Dive sites

See Inverse_properties documentation


Each dive site includes

{{#set:
Type of Dive Site= shipwreck }}

Might become template:Divesite