Difference between revisions of "Form:Metadata/include core"
From OpenMedia
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>{{{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 {{#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>{{{field | Derived From | input type=textarea | rows=3| autogrow | placeholder=URI or DOI etc. or multiple files (; list) as “File:…; File:…;”}}} <!-- | + | --><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 {{#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 Details'' > ''Published Source''}}</th><td>{{{field | Derived From | input type=textarea | rows=3| autogrow | placeholder=URI or DOI etc. or multiple files (; list) as “File:…; File:…;”}}} <!-- |
--></td> | --></td> | ||
Line 137: | Line 137: | ||
-->{{Hidden | -->{{Hidden | ||
| contentclass = indicateHiddenInputs | | contentclass = indicateHiddenInputs | ||
− | | header = ''Publication Details, Published Source, Reviewer Comments …'' | + | | header = ''Publication Details, Published Source, Reviewer Comments, Resource ID …'' |
| 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: {{{field | Rating | input type=dropdown | values=0, 1, 2, 3, 4, 5 | default=0 | size =5}}}<br/><span class="comment-gray"> 0 = (unrated); 1 = bad, strongly disliked; 2 = neutral; 3 = good, suitable, or liked; 4 = very good, suitable, or liked; 5 = Superb</span></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 = (unrated); 1 = bad, strongly disliked; 2 = neutral; 3 = good, suitable, or liked; 4 = very good, suitable, or liked; 5 = Superb</span></div> | ||
+ | |||
+ | <div class="floating-form-parts"> Resource ID: <br/> {{{field | Resource ID }}}</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 detailed geolocation of observation (city, location details down to the village, forest, etc.) but no repeated information.</span><br/> {{{field | Locality | size=100}}} </div> | <div class="floating-form-parts"> Locality: <span class="comment-gray">Actual detailed geolocation of observation (city, location details down to 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, 86°56′40″E (WGS84) or +49.5000°,-123.5000°</span><br/> <!-- {{{field | Geocoordinates | size=100}}} -->{{{field | Geocoordinates | input type=googlemaps | width=600 | height=600 | | + | <div class="floating-form-parts"> Geocoordinates: <span class="comment-gray">27°59′16″N, 86°56′40″E (WGS84) or +49.5000°,-123.5000°</span><br/> <!-- {{{field | Geocoordinates | size=100}}} -->{{{field | Geocoordinates | input type=googlemaps | width=600 | height=600 | zoom=7 | autozoom=on }}}</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” or “North-North-West”)</span><br/> {{{field | Compass Heading | 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” or “North-North-West”)</span><br/> {{{field | Compass Heading | size=100}}} </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 |
---|---|
{ | { |
} | } |
| | | |
So the form field-definition …
{{{field | templateparameter | input type=textarea | rows=2 | autogrow}}}
… becomes …
- {{{field | templateparameter | input type=textarea | rows=2 | autogrow}}}
Usage
This Page is meant to be included:
{{:Metadata/include core}}