Difference between revisions of "Form:Metadata"

From OpenMedia
Jump to: navigation, search
m (fix info)
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the “Metadata SMW” form testing [[template: Metadata]] and is included/specified on [[OpenMedia: File]] to enable the file namespace be edited by this form.
+
This is the “Metadata” form testing inserting data of the [[template: Metadata]]. It is defined on the project page [[{{ns:project}}:File]] to enable the file namespace to be edited by this form. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page. See also [[form: Metadata template for upload file]].
To add a page with this form, enter the page name below;
+
if a page with that name already exists, you will be sent to a form to edit that page.
+
  
{{#forminput: Metadata
+
{{Edit or create metadata}}
  |default value=Species XY on a leaf (Photographer).jpg
+
{{#formlink:form=Metadata template for upload file|link text=Upload a file (using template Metadata)|link type=button}}
  |button text=Edit file's metadata
+
 
  |size=50
+
== Technical dependencies ==
  |query string=namespace=File
+
* [[Template: Metadata]] and its sub-templates
}}
+
* [[Template: Edit or create metadata]]
 +
* [[Template: Logo]]
 +
* [[Template: Hidden]]
 +
* [[Form: Metadata/include core]]
 +
* [[Form:Search media by metadata]], [[template: Search media by metadata]]
 +
See also
 +
* [[Form: Metadata template for upload file]]
 +
* properties in [[:category: property used in media metadata]]
  
 
[[Category: Forms]]
 
[[Category: Forms]]
</noinclude><includeonly>
+
</noinclude><includeonly>{{:Form:Metadata/include core}}
<!--
+
should not be used
+
  Vernacular Names    → Common Names
+
  Lowest Common Taxon → Taxonomic Coverage
+
  Exchange Formats    → Exchange 1 Format, Exchange 2 Format, Exchange 3 Format
+
  Format              → "Quality level format
+
  Common Geoarea Name → World Region
+
-->
+
{{{for template | Metadata | label=Edit, alter details of metadata}}}<!-- Comment: multiple seems to prevent editing with a form -->
+
<table class="formtable">
+
<tr><th> Title</th> <td> {{{field | Title | mandatory | size=100}}}</td></tr>
+
<tr> <td style="min-width:80px;min-height:80px;border:1px solid #d3d7cf;vertical-align:middle;text-align:center;"> <span title="Preview of file “{{PAGENAME}}”">[[{{FULLPAGENAME}} | 80x80px | link=]]</span></td>
+
<td>
+
<div class="floating-form-parts"> '''Type''' {{#info: Media type}}<br/>{{{field | Type | mandatory | input type= dropdown | default=StillImage | values=Collection, Dataset, DescriptiveDataset, GlossaryPage, IdentificationTool, InteractiveResource, Map, MovingImage, Provider, Service, Software, Sound, StillImage, SynonymDataset, TaxonPage, Text, VernacularNameDataset}}} </div>
+
 
+
<div class="floating-form-parts"> '''Subtype''' <br/><!--
+
-->{{{field | Subtype | input type=dropdown | values=Line-drawing, Gray-scale-drawing, Gray-scale-photo, Color-drawing, Color-photo}}} </div>
+
 
+
<div class="floating-form-parts">  '''Subject Category''' {{#info: A constrained vocabulary of subjects, aiding with search capabilities. For organisms, this may include major taxonomic groups like vertebrates, fungi, etc., but the vocabulary may also include non-taxonomic terms like “ecosystem”, “forestry”, “aquatic vertebrates”.}}<br/><!--
+
--> {{{field | Subject Category | mandatory | input type=text with autocomplete | values from namespace=Category | remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  '''Resource’s Language''' {{#info: message = mul=multiple languages; und=undetermined languange; zxx=no linguistic content; de=Deutsch; en=English etc.}}<br/><!--
+
-->{{{field | Language | input type=text with autocomplete | values from property=Language ISO | list | delimiter=; | default=zxx| remote autocompletion}}}</div>
+
 
+
</td></tr>
+
<tr>
+
<th> Description</th>
+
<td> <div class="comment-gray">Description in multiple languanges (can be detailed), possible with <nowiki>{{en | 1 = english}} {{de | 1 = Deutsch}}</nowiki> etc. Template <nowiki>{{See&nbsp;also&nbsp;files&nbsp;| similar&nbsp;file.jpg; another&nbsp;similar.jpg}}</nowiki> can be used as well.</div> {{{field | Description | input type=textarea | autogrow }}} </td>
+
</tr><tr>
+
<th> </th>
+
<td>{{Hidden
+
| headerstyle = text-align:left;
+
| toggle = left
+
| contentclass = indicateHiddenInputs
+
| 1 = '''Caption, Content Modification, Creation Technique&nbsp;…'''
+
| 2 = &nbsp;
+
<div class="floating-form-parts"> Caption <span class="comment-gray">Caption&nbsp;of&nbsp;that&nbsp;resource&nbsp;file&nbsp;or&nbsp;suggested&nbsp;caption.</span> <br/>{{{field | Caption | size=100}}}</div>
+
 
+
<div class="floating-form-parts"> Content Modification <br/>{{{field | Content Modification | input type=textarea | autogrow | rows=3}}}</div>
+
 
+
<div class="floating-form-parts"> Creation Technique <span class="comment-gray">Examples for such techniques are: Insect under CO<sub>₂</sub>, cooled to 4 °C, preservation with ethanol or formaldehyde, multiflash lighting, remote control, automatic interval exposure.</span><br/> {{{field | Creation Technique | input type=textarea | autogrow | rows=3}}}</div>
+
 
+
<div style="clear:both;"></div>
+
}}</td>
+
</tr><tr>
+
<th> Scientific Names  </th><td>  {{{field | Scientific Names | input type=textarea with autocomplete| autogrow | rows=3 | list | delimiter=; | values from property=Scientific Names| remote autocompletion}}}
+
{{Hidden
+
| headerstyle = text-align:left;
+
| toggle = left
+
| contentclass = indicateHiddenInputs
+
| 1 = '''Synonyms, Common Names&nbsp;…'''
+
| 2 = &nbsp;
+
<div class="floating-form-parts">  Synonyms  <br/> {{{field | Scientific Name Synonyms | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Scientific Name Synonyms| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  Common Names  <!-- Not in use Vernacular names--> <br/> {{{field | Common Names | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Common Names| remote autocompletion}}}</div>
+
 
+
<div style="clear:both;"></div>
+
}}
+
</td>
+
</tr><tr>
+
<th> General Keywords </th><td><span class="comment-gray">Keywords or “tags” separated by semicolon “;”</span><br/>{{{field | General Keywords | input type=textarea with autocomplete | rows=3 | list | delimiter=; | values from namespace=Category| remote autocompletion}}}
+
</td>
+
</tr> <tr>
+
<th> Derived From:</th>
+
<td> <span class="comment-gray">If&nbsp;a&nbsp;resource&nbsp;is&nbsp;derived&nbsp;from&nbsp;another&nbsp;resource,&nbsp;involving&nbsp;significant&nbsp;modification, the resource should refer to the source resource using an appropriate identifier (URI, DOI, etc.). Multiple entries by semicolon “;”, e.g. <nowiki>[[:File:…]]</nowiki>; <nowiki>[[:File:…]]</nowiki>.</span><br/><!--
+
-->{{{field | Derived From | size=100}}} </td>
+
</tr><tr>
+
<th></th>
+
<td>
+
<div class="floating-form-parts">  '''Creators'''  <br/> {{{field | Creators | input type=text with autocomplete | size = 100 | list | delimiter=; | values from property=Creators| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  '''Contributors'''  <br/> {{{field | Contributors | input type=text with autocomplete | size = 100 | list | delimiter=; | values from property=Contributors| remote autocompletion}}}</div>
+
 
+
</td>
+
</tr><!--<tr>
+
<th> Logo:</th>
+
<td> {{{field | Logo}}} <span class="comment-gray">Optional a logo given as <nowiki>[[File:…]]</nowiki></span></td>
+
</tr>-->
+
<!--Metadata details-->
+
{{Hidden
+
| collapse = table row
+
| headerstyle = text-align:left;
+
| contentclass = indicateHiddenInputs
+
| toggle = left
+
| 1 = <td colspan=2 style="border-top:1px dotted black;"> {{Logo | Information }} '''Metadata details&nbsp;…''' </td>
+
| 2 = <td></td>
+
<td>
+
<div class="floating-form-parts">
+
Original Creation Date<br/>{{{field | Original Creation Date | input type=date}}}
+
</div>
+
 
+
<div class="floating-form-parts">
+
Digitization Date<br/>{{{field | Digitization Date | input type=date}}}
+
</div>
+
 
+
<div class="floating-form-parts">
+
Modified<br/>{{{field | Modified | input type=date}}}
+
</div>
+
 
+
<div class="floating-form-parts">  Metadata Language  <span class="comment-gray">As ISO codes: en; it; de</span> <br/> {{{field | Metadata Language | input type=text with autocomplete | list | delimiter=; | values from property=Metadata Language| remote autocompletion}}} </div>
+
 
+
<div class="floating-form-parts">  Metadata Creator  <br/> {{{field | Metadata Creator}}}</div>
+
 
+
<div class="floating-form-parts">  Metadata Manager  <br/> {{{field | Metadata Manager}}}</div>
+
 
+
<div class="floating-form-parts">  Metadata Copyright Owner  <br/> {{{field | Metadata Copyright Owner}}}</div>
+
 
+
<div class="floating-form-parts">  Metadata Modified  <br/> {{{field | Metadata Modified}}}</div>
+
 
+
<div style="clear:both;"></div>
+
</td>
+
}}
+
<!--Publication details-->
+
{{Hidden
+
| style = margin-bottom:1ex;padding-bottom:1ex;
+
| headerstyle = text-align:left;
+
| contentclass = indicateHiddenInputs
+
| toggle= left
+
| collapse= table row
+
| 1 = <td colspan=2 style="border-top:1px dotted black;"> {{Logo | publication}} '''Publication details&nbsp;…'''</td>
+
| 2 = <td></td><td>&nbsp;
+
<div class="floating-form-parts">  Published Source        <br/> {{{field | Published Source}}}</div>
+
 
+
<div class="floating-form-parts">  Reviewer Name          <br/> {{{field | Reviewer Name}}}</div>
+
 
+
<div class="floating-form-parts">  Peer Reviewer Name      <br/> {{{field | Peer Reviewer Name}}}</div>
+
 
+
<div class="floating-form-parts">  Reviewer Comments      <br/> {{{field | Reviewer Comments | textarea | autogrow}}}</div>
+
 
+
<div class="floating-form-parts">  Peer Reviewer Comments  <br/> {{{field | Peer Reviewer Comments | textarea | autogrow}}}</div>
+
 
+
<div class="floating-form-parts">  Rating            <span class="comment-gray"> 0&nbsp;= (unrated); 1&nbsp;= bad, strongly disliked; 2&nbsp;= neutral; 3&nbsp;= good, suitable, or liked; 4&nbsp;= very good, suitable, or liked; 5&nbsp;= Superb</span>      <br/> {{{field | Rating | input type=dropdown | values=0, 1, 2, 3, 4, 5 | default=0 | size =5}}} </div>
+
 
+
<div style="clear:both;"></div>
+
</td>
+
}}
+
<!--Taxon details-->
+
{{Hidden
+
| style = margin-bottom:1ex;padding-bottom:1ex;
+
| headerstyle = text-align:left;
+
| contentclass = indicateHiddenInputs
+
| toggle= left
+
| collapse= table row
+
| 1 = <td colspan=2 style="border-top:1px dotted black;"> {{Logo | systematics}} '''Taxon details&nbsp;…'''</td>
+
| 2 = <td></td><td>&nbsp;
+
<div class="floating-form-parts">  Taxon Count <br /> {{{field | Taxon Count | size=5}}}</div>
+
 
+
<div class="floating-form-parts">  Taxonomic Coverage    <span class="comment-gray">The&nbsp;lowest&nbsp;taxon&nbsp;integrating&nbsp;all&nbsp;taxa&nbsp;covered&nbsp;by&nbsp;a&nbsp;resource&nbsp;or&nbsp;resource&nbsp;collection.</span>    <br/> {{{field | Taxonomic Coverage | size=100 | values from property=Taxonomic Coverage}}} </div>
+
 
+
<div class="floating-form-parts">  Identified By              <br/> {{{field | Identified By | size=100 | input type=text with autocomplete | values from property=Identified By| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  Subject Part              <br/> {{{field | Subject Part | size=100}}}</div>
+
 
+
<div class="floating-form-parts">  Subject Sex                <br/> {{{field | Subject Sex | input type=textarea with autocomplete | list | delimiter=; | size=100 | values from property=Subject Sex| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  Subject Life Stage        <br/> {{{field | Subject Life Stage | size=100 | input type=text with autocomplete | values from property=Subject Life Stage| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  Subject Orientation        <br/> {{{field | Subject Orientation | size=100 | input type=text with autocomplete | values from property=Subject Orientation| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  Setting        <span class="comment-gray">“Natural”&nbsp;=&nbsp;unmodified&nbsp;object&nbsp;in&nbsp;a&nbsp;Natural&nbsp;setting&nbsp;of&nbsp;unmodified&nbsp;object (e. g., living organisms in their natural environment); “Artificial” = unmodified object in artificial setting of (e. g., living organisms in artificial environment: Zoo, Garden, Greenhouse, Laboratory, photographic background). “Preserved” = artificial setting of dead or preserved organisms (e. g., images of specimens in a museum)</span>          <br/> {{{field | Setting | input type=dropdown | values=Artificial, Natural, Preserved}}} </div>
+
 
+
<div class="floating-form-parts">  Associated Specimen ID    <br/> {{{field | Associated Specimen ID | size=100}}}</div>
+
 
+
<div class="floating-form-parts">  Associated Observation ID  <br/> {{{field | Associated Observation ID | size=100}}}</div>
+
 
+
<div class="floating-form-parts">  Association Info          <br/> {{{field | Association Info | size=100}}}</div>
+
 
+
<div style="clear:both;"></div>
+
</td>
+
}}
+
<!--Geographic details-->
+
{{Hidden
+
| style = margin-bottom:1ex;padding-bottom:1ex;
+
| headerstyle = text-align:left;
+
| contentclass = indicateHiddenInputs
+
| toggle= left
+
| collapse= table row
+
| 1 = <td colspan=2 style="border-top:1px dotted black;"> {{Logo | map}} '''Geographic details&nbsp;…'''</td>
+
| 2 =<td></td><td>&nbsp;
+
<div class="floating-form-parts">  World Region    <span class="comment-gray">One&nbsp;value,&nbsp;for&nbsp;instance:&nbsp;“Global”,&nbsp;“Europe”,&nbsp;“Australia”,&nbsp;“Baltic Sea”, etc. Do not use country codes.</span>      <br/> {{{field | World Region| input type=text with autocomplete | values from property=World Region | size=100| remote autocompletion}}} </div>
+
 
+
<div class="floating-form-parts">  Country Names    <span class="comment-gray">Where&nbsp;possible,&nbsp;the&nbsp;standard&nbsp;vocabulary&nbsp;of&nbsp;ISO&nbsp;country&nbsp;codes&nbsp;is&nbsp;preferable.</span>    <br/> {{{field | Country Names | input type=text with autocomplete | list | delimiter=; | values from property=Country Names | size=100| remote autocompletion}}} </div>
+
 
+
<div class="floating-form-parts">  Country Codes      <span class="comment-gray">2-letter&nbsp;ISO&nbsp;country&nbsp;code&nbsp;(e.&nbsp;g.&nbsp;"it;&nbsp;si")</span>    <br/> {{{field | Country Codes | input type=text with autocomplete | list | delimiter=; | values from property=Country Codes | size=100| remote autocompletion}}} </div>
+
 
+
<div class="floating-form-parts">  State or Province  <span class="comment-gray">The&nbsp;geographic&nbsp;unit&nbsp;immediately&nbsp;below&nbsp;the&nbsp;country&nbsp;level</span>  <br/> {{{field | State or Province | size=100}}} </div>
+
 
+
<div class="floating-form-parts">  County or Subprovince  <br/> {{{field | County or Subprovince | size=100}}}</div>
+
 
+
<div class="floating-form-parts">  City or Place Name    <br/> {{{field | City or Place Name | size=100| input type=text with autocomplete | values from property=City or Place Name| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  Locality      <span class="comment-gray">Actual&nbsp;detailed&nbsp;geolocation&nbsp;of&nbsp;observation&nbsp;(city,&nbsp;location&nbsp;details&nbsp;down&nbsp;to&nbsp;the village, forest, etc.) but no repeated information.</span>        <br/> {{{field | Locality | size=100}}} </div>
+
 
+
<div class="floating-form-parts">  Geocoordinates    <span class="comment-gray">27°59′16″N,&nbsp;86°56′40″E&nbsp;(WGS84)&nbsp;or&nbsp;+49.5000°,-123.5000°</span>    <br/> {{{field | Geocoordinates | size=100}}} </div>
+
 
+
<div class="floating-form-parts">  Compass Heading    <span class="comment-gray">With “0” or “0°” being North, “90” or “90°” being East, or as compass readings such as (“NNW”&nbsp;or&nbsp;“North-North-West”)</span>  <br/> {{{field | Compass Heading | size=100}}} </div>
+
 
+
<div class="floating-form-parts"> Elevation:&nbsp;{{{field | Elevation}}}&nbsp;&nbsp;&nbsp; Depth:&nbsp;{{{field | Depth}}}</div>
+
 
+
</td><!--  -->
+
}}
+
<!--  -->
+
<tr><th colspan=2 style="border-top:1px dotted black;"> {{Logo | License}} License/Copyright</th></tr>
+
<tr><th></th>
+
<td>
+
<div class="floating-form-parts">  '''Copyright Owner'''      <br/> {{{field | Copyright Owner | input type=text with autocomplete | list | delimiter=; | values from property=Copyright Owner | size=100| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  '''Copyright Statement'''  <br/> {{{field | Copyright Statement | input type=textarea with autocomplete | values from property=Copyright Statement| rows=3 | autogrow | default=Copyrighted Material; the copyright remains with the author (not this web publication)| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  '''License Statement'''    <br/> {{{field | License Statement | input type=textarea with autocomplete | values from property=License Statement| rows=3 | autogrow | default=Creative Commons: Author Attribution Required, Share-Alike (cc-by-sa 3.0)| remote autocompletion}}}</div>
+
 
+
</td> </tr>
+
<tr> <th></th> <td>{{Hidden
+
| style = margin-bottom:1ex;padding-bottom:1ex;
+
| headerstyle = text-align:left;
+
| contentclass = indicateHiddenInputs
+
| toggle= left
+
| 1 = '''License details&nbsp;…'''
+
| 2 =&nbsp;
+
<div class="floating-form-parts">  License URL            <br/> {{{field | License URL | size=100| input type=text with autocomplete | values from property=License URL| remote autocompletion}}}</div>
+
 
+
<div class="floating-form-parts">  Attribution Statement  <br/> {{{field | Attribution Statement | size=100}}}</div>
+
 
+
<div class="floating-form-parts">  Attribution Logo URL    <br/> {{{field | Attribution Logo URL | size=100}}}</div>
+
 
+
<div class="floating-form-parts">  Attribution Link URL    <br/> {{{field | Attribution Link URL | size=100}}}</div>
+
  
<div style="clear:both;"></div>
 
}}</td>
 
</tr>
 
</table>
 
{{{end template}}}
 
  
'''Free text below:'''
+
'''Free text below the template:'''
  
{{{standard input|free text|rows=10}}}
+
{{{standard input|free text|editor|rows=10}}}
  
  

Latest revision as of 13:59, 6 January 2016

This is the “Metadata” form testing inserting data of the template: Metadata. It is defined on the project page OpenMedia:File to enable the file namespace to be edited by this form. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page. See also form: Metadata template for upload file.


 

Technical dependencies

See also