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

From OpenMedia
Jump to: navigation, search
m (test Geocoordinates as googlemaps)
m (test Geocoordinates as googlemaps)
Line 219: Line 219:
 
<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; &#124; zoom=7 &#124; autozoom=off &#124; center=48.922499,11.480713 &#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>

Revision as of 12:16, 21 August 2015

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