Form:Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
(Created page with "<noinclude> This is the "Trail" form. To create 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 t...")
 
(First pass complete)
Line 9: Line 9:
</noinclude><includeonly>
</noinclude><includeonly>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
= Info Box =
{{{for template|Trail}}}
{{{for template|Trail}}}
{| class="formtable"
{| class="formtable"
! High Point:
| {{{field|High Point|regexp=/^[1-9]\d*(\.\d+)?$/}}}
|-
! Trailhead location:
| {{{field|Trail Number|regexp=/^[1-9]\d*(\.\d+)?$/}}}
|-
! Park:  
! Park:  
| {{{field|Park|values from category=Park}}}
| {{{field|Park|input type=combobox|values from category=Park}}}
|-
|-
! Land Owner:  
! Land Owner:  
| {{{field|Land Owner|values from property=Land Owner}}}
| {{{field|Land Owner|input type=combobox|values from property=Land Owner}}}
|-
|-
! Wilderness Area:  
! Wilderness Area:  
| {{{field|Wilderness Area|values from property=Wilderness Area}}}
| {{{field|Wilderness Area|input type=combobox|values from property=Wilderness Area}}}
|-
|-
! City:  
! City:  
| {{{field|City|values from property=City}}}
| {{{field|City|input type=combobox|values from property=City|placeholder=Nearest City}}}
|-
! State:
| {{{field|State|input type=combobox|property=State|values from property=State}}}
|-
! Trail Marking:
| {{{field|Trail Marking|input type=text|size=100|property=Trail Marking|placeholder=How is the trail marked?}}}
|-
|-
! Trail Use:  
! Activities:  
| {{{field|Trail Use|input type=text with autocomplete}}}
| {{{field|Trail Use|input type=checkboxes|property=Trail Use|values=Hiking, Skiing, Biking, ATV, Fishing, Horses, No Dogs}}}
|-
|-
! Trail Features:  
! Features:  
| {{{field|Trail Features}}}
| {{{field|Trail Features|input type=checkboxes|property=Trail Features|values=Waterfalls, Vistas, Canyons, Balds, Rivers, Lakes, Mountains, Caves}}}
|-
|-
! Difficulty Rating:  
! Difficulty Rating:  
| {{{field|Difficulty Rating|input type=textarea with autocomplete|values=Easy, Medium, Hard}}}
| {{{field|Difficulty Rating|input type=dropdown|values=Easy, Medium, Hard}}}
|-
! Hike Time:
| {{{field|Hike Time|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''hrs''' (''default'') or min) - Typical time from your vehicle and back to vehicle, include trail access and return time
|-
|-
! Trail Distance:  
! Trail Distance:  
| {{{field|Trail Distance|regexp=/^[1-9]\d*(\.\d+)?$/}}}
| {{{field|Trail Distance|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''mi'''(''default''), km, ft, m) - Length of the trail, does not include access or return
|-
|-
! Round Trip Distance:  
! Round Trip Distance:  
| {{{field|Round Trip Distance|regexp=/^[1-9]\d*(\.\d+)?$/}}}
| {{{field|Round Trip Distance|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''mi'''(''default''), km, ft, m) - Total typical distance to reach the trail, hike it, and return
|-
|-
! Trail Type:  
! Trail Type:  
| {{{field|Trail Type}}}
| {{{field|Trail Type|input type=dropdown|values=Loop, Segment, In-and-Out}}}}}}
|-
! High Point:
| {{{field|High Point|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''ft''' (''default'') or yards)
|-
|-
! Low Point:  
! Low Point:  
| {{{field|Low Point|regexp=/^[1-9]\d*(\.\d+)?$/}}}
| {{{field|Low Point|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''ft''' (''default'') or yards)
|-
|-
! Elevation Change:  
! Elevation Change:  
| {{{field|Elevation Change|regexp=/^[1-9]\d*(\.\d+)?$/}}}
| {{{field|Elevation Change|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''ft''' (''default'') or yards)
|-
! Parking:
| Typical parking spot to access the trail - location is the link to get people here using Google Maps.
Enter an address and use button to find coordinates, enter manually, or use the map to drop the pin to define the coordinates.
|-
!
| {{{field
| Parking location
| input type=googlemaps
| width=100%
| height=300
| zoom=8
| autozoom=off
| controls=zoom}}}
|-
|-
! Parking location:
! Trailhead
| {{{field|Parking location}}}
| Typical trailhead
Enter an address and use button to find coordinates, enter manually, or use the map to drop the pin to define the coordinates.
|-
|-
! Trailhead location:
!  
| {{{field|Trailhead location}}}
| {{{field
| Trailhead location
| input type=googlemaps
| width=100%
| height=300
| zoom=8
| autozoom=off
| controls=zoom}}}
|}
|}
{{{end template}}}
{{{end template}}}
 
= Page Text =
'''Free text:'''
'''Free text:'''



Revision as of 15:16, 15 November 2018

This is the "Trail" form. To create 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.