Difference between revisions of "Form:Metadata/include core"

From OpenMedia
Jump to: navigation, search
m (test Geocoordinates as googlemaps)
m (Geocoordinates)
 
(13 intermediate revisions by the same user not shown)
Line 93: Line 93:
 
   General Keywords
 
   General Keywords
 
    
 
    
   --><th> General Keywords </th><td>&#123;&#123;&#123;field &#124; General Keywords &#124; input type=textarea with autocomplete &#124; rows=3 &#124; list &#124; delimiter=; &#124; values from namespace=Category &#124; placeholder=Keywords or “tags” separated by semicolon “;”&#124; autogrow&#124; remote autocompletion&#125;&#125;&#125;</td></tr><tr><th> Derived From {{#info: message=If a resource is derived from another resource, involving significant modification, the resource should refer to the source resource using an appropriate identifier (URI, DOI, etc.). Multiple files (; list) can be given as well e.g. File:…; File:…;}}</th><td>&#123;&#123;&#123;field &#124; Derived From &#124; input type=textarea &#124; rows=3&#124; autogrow &#124; placeholder=URI or DOI etc. or multiple files (; list) as “File:…; File:…;”&#125;&#125;&#125; <!--  
+
   --><th> General Keywords </th><td>&#123;&#123;&#123;field &#124; General Keywords &#124; input type=textarea with autocomplete &#124; rows=3 &#124; list &#124; delimiter=; &#124; values from namespace=Category &#124; placeholder=Keywords or “tags” separated by semicolon “;”&#124; autogrow&#124; remote autocompletion&#125;&#125;&#125;</td></tr><tr><th> Derived From {{#info: message=If a resource is derived from another resource, involving significant modification, the resource should refer to the source resource using an appropriate identifier (URI, DOI, etc.). Multiple files (; list) can be given as well e.g. File:…; File:…;<br/>For reference source notes, see ''Metadata&nbsp;Details''&nbsp;> ''Published&nbsp;Source''}}</th><td>&#123;&#123;&#123;field &#124; Derived From &#124; input type=textarea &#124; rows=3&#124; autogrow &#124; placeholder=URI or DOI etc. or multiple files (; list) as “File:…; File:…;”&#125;&#125;&#125; <!--  
  
 
   --></td>
 
   --></td>
Line 137: Line 137:
 
-->{{Hidden
 
-->{{Hidden
 
  | contentclass = indicateHiddenInputs
 
  | contentclass = indicateHiddenInputs
  | header = ''Publication Details, Published Source, Reviewer Comments&nbsp;…''
+
  | header = ''Publication Details, Published Source, Reviewer Comments, Resource ID&nbsp;…''
 
  | toggle text = + / − | toggle position = left
 
  | toggle text = + / − | toggle position = left
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
Line 154: Line 154:
  
 
<div class="floating-form-parts">  Rating: &#123;&#123;&#123;field &#124; Rating &#124; input type=dropdown &#124; values=0, 1, 2, 3, 4, 5 &#124; default=0 &#124; size =5&#125;&#125;&#125;<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 class="floating-form-parts">  Rating: &#123;&#123;&#123;field &#124; Rating &#124; input type=dropdown &#124; values=0, 1, 2, 3, 4, 5 &#124; default=0 &#124; size =5&#125;&#125;&#125;<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 class="floating-form-parts">  Resource ID:        <br/> &#123;&#123;&#123;field &#124; Resource ID &#125;&#125;&#125;</div>
  
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
Line 219: Line 221:
 
<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/> &#123;&#123;&#123;field &#124; Locality &#124; size=100&#125;&#125;&#125; </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/> &#123;&#123;&#123;field &#124; Locality &#124; size=100&#125;&#125;&#125; </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/> <!-- &#123;&#123;&#123;field &#124; Geocoordinates &#124; size=100&#125;&#125;&#125; -->&#123;&#123;&#123;field &#124; Geocoordinates &#124; input type=googlemaps &#124; width=600 &#124; height=600 &#124; autozoom=on &#124; center=Europe &#125;&#125;&#125;</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/> <!-- &#123;&#123;&#123;field &#124; Geocoordinates &#124; size=100&#125;&#125;&#125; -->&#123;&#123;&#123;field &#124; Geocoordinates &#124; input type=googlemaps &#124; width=600 &#124; height=600 &#124; zoom=7 &#124; autozoom=on &#125;&#125;&#125;</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/> &#123;&#123;&#123;field &#124; Compass Heading &#124; size=100&#125;&#125;&#125; </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/> &#123;&#123;&#123;field &#124; Compass Heading &#124; size=100&#125;&#125;&#125; </div>

Latest revision as of 20:03, 22 December 2016

Core template for {{Metadata}} to be included in conjunction also with other possible forms. Because of including this page into other form pages, all form-field parameter need to be rewritten as HTML entities with the following correspondence of characters:

Character HTML
Entity
{ &#123;
} &#125;
| &#124;

So the form field-definition …

{{{field | templateparameter | input type=textarea | rows=2 | autogrow}}}

… becomes …

&#123;&#123;&#123;field &#124; templateparameter &#124; input type=textarea &#124; rows=2 &#124; autogrow&#125;&#125;&#125;

Usage

This Page is meant to be included:

{{:Metadata/include core}}

Dependencies