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

From OpenMedia
Jump to: navigation, search
m
m (Geocoordinates)
 
(5 intermediate revisions by the same user not shown)
Line 221: 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; property=Geocoordinates &#124; width=600 &#124; height=600 &#124; zoom=7 &#124; autozoom=off &#124; center=48.922499,11.480713 &#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