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...")
 
m (add note for elev loss)
 
(41 intermediate revisions by the same user not shown)
Line 3: Line 3:
To create a page with this form, enter the page name below;
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.
if a page with that name already exists, you will be sent to a form to edit that page.


{{#forminput:form=Trail}}
{{#forminput:form=Trail}}
 
[[Category:Trail Class Items]]
</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:  
! Banner Image:  
| {{{field|High Point|regexp=/^[1-9]\d*(\.\d+)?$/}}}
| {{{field|Banner Image|input type=dropdown|values={{#ask: [[Category:Image||Images]][[Trail::{{PAGENAME}}]]|link=none|order=asc}} }}}
|-
! Trail Highlight:
| {{{field|Trail Highlight|input type=text|size=100|property=Trail Highlight|placeholder=Brief description or highlight of the trail}}}
|-
! Trail Number:
| {{{field|Trail Number|input type=text|size=100|property=Trail Number|placeholder=Typically a Forest Service Trail#}}}
|-
|-
! Trailhead location:  
! Trail System:  
| {{{field|Trail Number|regexp=/^[1-9]\d*(\.\d+)?$/}}}
| {{{field|Trail System|input type=tokens|property=Trail System|placeholder=Part of a larger Trail System?}}}
|-
|-
! Park:  
! Park:  
| {{{field|Park|values from category=Park}}}
| {{{field|Park|input type=combobox|values from category=Parks}}}The park the trail is located
|-
! City:
| {{{field|City|input type=combobox|values from property=City|placeholder=Leave blank to inherit park's location}}}Leave blank to inherit park's location (sometimes large parks trail location could be closer to a different city than the main office, e.g. Great Smoky Mountains), otherwise assign nearest city to the trail.
|-
|-
! 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:  
! Trail Marking:  
| {{{field|City|values from property=City}}}
| {{{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, Boating, Biking, Geocaching, Camping, Skiing, Horses, Fishing, Caving, Climbing, Hunting, ATV, 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 Gain:
| {{{field|Elevation Gain|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''ft''' (''default'') or yards)
|-
! Elevation Loss:
| {{{field|Elevation Loss|regexp=/^[1-9]\d*(\.\d+)?$/}}} (should be zero or negative / include units: '''ft''' (''default'') or yards)
|-
! Elevation Change Direction:
| {{{field|Elevation Change Direction|input type=dropdown|values=East-to-West, West-to-East, North-to-South, South-to-North, Clockwise, Counter Clockwise}}}
|-
! 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.
|-
|-
! Elevation Change:
!  
| {{{field|Elevation Change|regexp=/^[1-9]\d*(\.\d+)?$/}}}
| {{{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 =
{| class="mw-collapsible mw-collapsed"
! scope="col" | Page Layout
! scope="col" | Templates and special editing tips
|-
|This is the desired page structure. Unused portions can be simply omitted/deleted. Desire to begin with a large map of the trail (<nowiki>{{Trail Map}}</nowiki>), then table of contents (<nowiki>__TOC__</nowiki>), then onto the page content.
<pre><nowiki>{{Trail Map}}</nowiki>
<nowiki>__TOC__</nowiki>
==Trail Overview==
==How To Get There==
==Route Description==
==Typical Conditions==
==Fees, Permits, etc.==
==After the Hike==
==Miscellaneous Information==
==Gallery==
<nowiki>{{Park trail gallery|Trail={{PAGENAME}}}}</nowiki></pre>
|
{| class="wikitable"
|+Useful templates in text sections
!Name
!Template code to insert
!Description
|-
| style="width: 7em;" |[[Template:Trail Map|Trail Map]]
| style="width: 22em;" |<code><nowiki>{{Trail Map}}</nowiki></code> or
<code><nowiki>{{Trail Map</nowiki><br/><nowiki> |Other Trails=<optional></nowiki><br/><nowiki> |Zoom Cancel=<optional, any entry to envoke>}}</nowiki></code>
|Returns a large topo map showing the trailhead and parking location. Replace <optional> with comma separated trails on this website. For the current trail page and any specified 'Other Trails' it will also show any map markers and KML file from the trail page. When displaying, if a KML file is found with the name of the trail page, it will provide a link under the map to download the kml file or to upload a replacement. If not found, it provides a link to upload a KML file. The Zoom Cancel command can be used if there are added map markers much beyond the uploaded KML, as default behavior is to zoom in on the KML.
|-
|[[Template:Park trail gallery|Park trail gallery]]
|<code><nowiki>{{Park trail gallery|Trail={{PAGENAME}}}}</nowiki></code>
|Returns a photo gallery of the images associated with a specified trail. This same template can be used for Parks simply by replacing Trail with Park. Images need to be tagged to enable the template to find them and show them.
|}
[https://www.mediawiki.org/wiki/Extension:SimpleTable Simple Tables] are available to easily add tables to your page. This allows more "logical" and compact addition of simple tables to the page. You can also type out a table in a spreadsheet and save the content as a comma delimited or tab delimited file and paste it between the table commands. Tab delimited is useful if you want to use commas in the text. Excel's "Save as..." includes an option to save as either tab or comma delimited text files. After saving it, open the created text file, then paste the contents between the tab open and close commands. See the link for details but most usage is likely as follows (omit "sep=comma" if the data is tab delimited):
{| class="wikitable"
|+Example simple table usage
!Wiki table code
!How it would be shown
|-
|<pre><tab class=wikitable sep=comma head=top>
Head 1,Head 2,Head 3
Field 4,Field 5,Field 6
Field 7,Field 8,Field 9
</tab></pre>
|<tab class=wikitable sep=comma head=top>
Head 1,Head 2,Head 3
Field 4,Field 5,Field 6
Field 7,Field 8,Field 9
</tab>
|}
|}


'''Free text:'''
'''Free text:'''


{{{standard input|free text|rows=10}}}
{{{standard input|free text|rows=30}}}
= Map Markers =
Markers to place on the park page (and eventually to show on trail pages)
{{{for template|Map Marker|label=Map Markers|multiple|display=spreadsheet|height=500}}}
'''[[ClubWiki:Using_GMaps#Icons_reference|Icon]]:''' {{{field|Icon Type|type=combobox|values=Parking,Photo spot,Waterfall,Other photo spot,Overlook,Shelter,Point of interest,Campground,Cave,Water crossing,Bench,Trail bridge,Comm tower,Cemetery,Playground,Summit,Toilet,Tunnel,Picnic spot,Trail sign,Road crossing,Old structure,Horseback,Alien landing,Rest,Skiing,Tower,Power line,Blowdown,Station}}}
'''Title:''' {{{field|Marker Title|}}}
'''Description:''' {{{field|Marker Description|}}}
'''Location:''' {{{field|Marker Location|}}}
{{{end template}}}


<headertabs />


{{{standard input|summary}}}
{{{standard input|summary}}}

Latest revision as of 22:29, 11 September 2020

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.