Difference between revisions of "Form:Metadata"

From OpenMedia
Jump to: navigation, search
m (changed layout)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
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]].
+
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]].
  
 
{{Edit or create metadata}}
 
{{Edit or create metadata}}
 
{{#formlink:form=Metadata template for upload file|link text=Upload a file (using template Metadata)|link type=button}}
 
{{#formlink:form=Metadata template for upload file|link text=Upload a file (using template Metadata)|link type=button}}
 +
 +
== Technical dependencies ==
 +
* [[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><!--
+
 
+
  Title
+
 
+
  --><th rowspan="2"> Title<!--
+
    --><br/><!--
+
    --><span title="Preview of file “{{PAGENAME}}”" >[[{{FULLPAGENAME}} | 80x80px | link=|left|thumb|<small title="Search similar external images of “{{PAGENAME}}”">[https://www.google.de/searchbyimage?um=1&newwindow=1&channel=suggest&hl=en&site=search&image_url={{FILEPATH: {{PAGENAME}}|nowiki}} search similar external images]</small>]]</span><!--
+
  --></th><!--
+
  --><td> {{{field | Title | mandatory | size=100}}}</td><!--
+
--></tr><!--
+
--><tr><!--
+
 
+
  !!rowspan here !!
+
 
+
  --><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">  [http://www.keytonature.eu/wiki/Subject_Category 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 | input type=text with autocomplete | values from namespace=Category | remote autocompletion}}}</div>
+
 
+
<!----><div class="floating-form-parts">  Language of resource itself {{#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><!--
+
  Caption
+
  --><tr><!--
+
  --><th style="width:130px;"> Caption</th><!--
+
  --><td class="minimal-visible-borders"><!--
+
    -->{{{field | Caption | holds template}}}<!--
+
  --></td><!--
+
--></tr><!--
+
  Description
+
  --><tr><!--
+
  --></tr><tr><!--
+
  --><th style="width:130px;"> Description</th><!--
+
  --><td class="minimal-visible-borders"><!--
+
    -->{{{field | Description | holds template}}}<!--
+
  --></td><!--
+
--></tr><tr><!--
+
  --><th></th><!--
+
  --><td class="minimal-visible-borders"><!--
+
  -->{{Hidden
+
| contentclass = indicateHiddenInputs
+
| header = ''Content Modification, Other Versions, Creation Technique&nbsp;…''
+
| toggle text = + / − | toggle position = left
+
| contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
+
| content = <div class="floating-form-parts"> Content Modification: <br/>{{{field | Content Modification | input type=textarea | autogrow | rows=3}}}</div>
+
 
+
<div class="floating-form-parts"> Other Versions: <br/>{{{field | Other Versions | input type=textarea with autocomplete| autogrow | rows=3 | list | delimiter=; | values from namespace=File| remote autocompletion | placeholder=separated by semicolon “;”}}}</div>
+
 
+
<div class="floating-form-parts"> Creation Technique:<!--
+
  --><br/><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><!--
+
 
+
Scientific Names
+
+
  --><th> Scientific Names {{#info: message=Just the plain name and ''no'' authority. Use instead ''Scientific Names with Author''.}}</br><span style="font-weight:normal;">(simple, no authority)</span></th><!--
+
  --><td>  {{{field | Scientific Names | input type=textarea with autocomplete| autogrow | rows=3 | list | delimiter=; | values from property=Scientific Name| remote autocompletion | placeholder=separated by semicolon “;”}}}
+
{{Hidden
+
| contentclass = indicateHiddenInputs
+
| header = ''Scientific Names (w. Auth.), Synonyms, Common Names&nbsp;…''
+
| toggle text = + / − | toggle position = left
+
| contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
+
| content =
+
<div class="floating-form-parts">  Scientific Names (w. Auth.):  <br/> {{{field | Scientific Names with Author | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Scientific Name with Author| remote autocompletion | placeholder=separated by semicolon “;”}}}</div>
+
 
+
<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 | placeholder=separated by semicolon “;”}}}</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 Name| remote autocompletion | placeholder=separated by semicolon “;”}}}</div>
+
 
+
<div style="clear:both;"></div>
+
}}<!--
+
  --></td><!--
+
--></tr><tr><!--
+
 
+
  General Keywords
+
 
+
  --><th> General Keywords </th><!--
+
  --><td><!--
+
    -->{{{field | General Keywords | input type=textarea with autocomplete | rows=3 | list | delimiter=; | values from namespace=Category | placeholder=Keywords or “tags” separated by semicolon “;”| autogrow| remote autocompletion}}}<!--
+
  --></td><!--
+
--></tr><tr><!--
+
  --><th> Derived From</th><!--
+
  --><td><!--
+
    -->{{{field | Derived From | input type=textarea | rows=3| autogrow | placeholder=URI, DOI, etc. or (also multiple) File:…; File:…;}}} <!--
+
    --><br/><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><!--
+
  --></td><!--
+
--></tr><tr><!--
+
  --><td style="text-align:right;">Creators:</td><!--
+
  --><td>{{{field | Creators | input type=text with autocomplete | size = 100 | list | delimiter=; | values from property=Creator| placeholder= The person or organization responsible for creating the media resource (; list)| remote autocompletion}}}</td><!--
+
--></tr><tr><!--
+
  --><td style="text-align:right;">Contributors:</td><!--
+
  --><td>{{{field | Contributors | input type=text with autocomplete | size = 100 | list | delimiter=; | values from property=Contributor | placeholder=An entity (person, an organization or a service) responsible for making contributions to the resource (; list)| remote autocompletion}}}<!--
+
  --></td><!--
+
--></tr><tr><!--
+
 
+
  Metadata Details
+
 
+
  --><th><div class="floatright">{{Logo | Information }}</div>Metadata<br/>Details<!--
+
  --></th><!--
+
  --><td><!--
+
  -->{{Hidden
+
| contentclass = indicateHiddenInputs
+
| header = ''Details&nbsp;…''
+
| toggle text = + / − | toggle position = left
+
| contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
+
| content =
+
<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:<br/><!--
+
  -->{{{field | Metadata Language | input type=text with autocomplete | list | delimiter=; |placeholder=As ISO codes: en; it; de etc.| 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>
+
}}<!--
+
 
+
  Publication Details
+
 
+
-->{{Hidden
+
| contentclass = indicateHiddenInputs
+
| header = ''Publication Details, Published Source, Reviewer Comments&nbsp;…''
+
| toggle text = + / − | toggle position = left
+
| contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
+
| content =
+
<div class="floating-form-parts">  Published Source:        <br/> {{{field | Published Source | input type=textarea| autogrow |rows=2}}}</div>
+
 
+
<div class="floating-form-parts"><table><!--
+
--><tr><!--
+
  --><td>Reviewer Name:</td><!--  --><td>Peer Reviewer Name:</td><!--
+
--></tr><!--
+
--><tr><!--
+
  --><td>{{{field | Reviewer Name}}}</td><!--  --><td>{{{field | Peer Reviewer Name}}}</td><!--
+
--></tr><!--
+
--></table></div>
+
 
+
<div class="floating-form-parts">  Reviewer Comments      <br/> {{{field | Reviewer Comments | input type=textarea | autogrow|rows=2}}}</div>
+
 
+
<div class="floating-form-parts">  Peer Reviewer Comments:  <br/> {{{field | Peer Reviewer Comments | input type=textarea | autogrow|rows=2}}}</div>
+
 
+
<div class="floating-form-parts">  Rating: {{{field | Rating | input type=dropdown | values=0, 1, 2, 3, 4, 5 | default=0 | size =5}}}<br/><!--
+
  --><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><!--
+
  --></div>
+
 
+
<div style="clear:both;"></div>
+
}}<!--
+
  --></td><!--
+
--></tr><tr><!--
+
 
+
  Taxon Details
+
 
+
  --><th><div class="floatright">{{Logo | systematics}}</div>Taxon<br/>Details</th><!--
+
  --><td><!--
+
  Taxon Details
+
  -->{{Hidden
+
| contentclass = indicateHiddenInputs
+
| header = ''Details&nbsp;…''
+
| toggle text = + / − | toggle position = left
+
| contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
+
| content =
+
<div class="floating-form-parts">  Taxon Count: <br /> {{{field | Taxon Count | size=10}}}</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=text 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: {{{field | Setting | input type=dropdown | values=Artificial, Natural, Preserved}}}<br/><!--
+
  --><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><!--
+
  --></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><!--
+
--></tr><tr><!--
+
 
+
  Geographic Details
+
 
+
  --><th><div class="floatright">{{Logo | map}}</div>Geogra-<br/>phic Details<!--
+
    --><br/><!--
+
    --></th><!--
+
  --><td><!--
+
  -->{{Hidden
+
| contentclass = indicateHiddenInputs
+
| header = ''Details&nbsp;…''
+
| toggle text = + / − | toggle position = left
+
| contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
+
| content =
+
<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 Name | 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 Code | 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:<br/><!--
+
  --><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>
+
 
+
<div style="clear:both;"></div>
+
}}<!--
+
  --></td><!--
+
--></tr><tr><!--
+
 
+
  License
+
 
+
  --><th style="border-top:1px dotted black;"><div class="floatright">{{Logo | License}}</div> License<br/>Copyright<!--
+
    --></th><td style="border-top:1px dotted black;"></td><!--
+
--></tr><tr><!--
+
  --><td style="text-align:right;">Copyright Owner:</td><!--
+
  --><td>{{{field | Copyright Owner | input type=text with autocomplete | list | delimiter=; | values from property=Copyright Owner | size=100| remote autocompletion}}}</td><!--
+
--></tr><tr><!--
+
  --><td style="text-align:right;">Copyright Statement:</td><!--
+
  --><td>{{{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}}}</td><!--
+
--></tr><tr><!--
+
  --><td style="text-align:right;">License Statement:</td><!--
+
  --><td>{{{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}}}<!--
+
  --></td><!--
+
--></tr><tr><!--
+
  --><th></th><!--
+
  --><td>{{Hidden
+
| contentclass = indicateHiddenInputs
+
| header = ''License Details&nbsp;…''
+
| toggle text = + / − | toggle position = left
+
| contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
+
| content =
+
<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}}}
+
{{{for template|Metadata/Description|embed in field=Metadata[Description]|multiple|add button text=add description (language specific)}}}
+
<table class="vertical-align-top"><!--
+
--><tr><!--
+
  --><td>{{{field|language code|size=5|input type=text with autocomplete|values from property=Metadata Language|remode autocompletion|default=en}}}<br/>(Language code)</td><!--
+
  --><td>{{{field|content|input type=textarea|autogrow|placeholder=Description|rows=2}}}</td><!--
+
--></tr><!--
+
--></table>
+
{{{end template}}}
+
{{{for template|Metadata/Caption|embed in field=Metadata[Caption]|multiple|add button text=add caption (language specific)}}}
+
<table class="vertical-align-top"><!--
+
--><tr><!--
+
  --><td>{{{field|language code|size=5|input type=text with autocomplete|values from property=Metadata Language|remode autocompletion|default=en}}}<br/>(Language code)</td><!--
+
  --><td>{{{field|content|input type=textarea|autogrow|placeholder=Caption|rows=2}}}</td><!--
+
--></tr><!--
+
--></table>
+
{{{end template}}}
+
  
  
 
'''Free text below the template:'''
 
'''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