Form:Trail: Difference between revisions

From TEHCC Wiki
Jump to navigation Jump to search
m (plural category)
m (add note for elev loss)
 
(36 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>
Line 12: Line 11:
{{{for template|Trail}}}
{{{for template|Trail}}}
{| class="formtable"
{| class="formtable"
! Banner Image:
| {{{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#}}}
|-
! Trail System:
| {{{field|Trail System|input type=tokens|property=Trail System|placeholder=Part of a larger Trail System?}}}
|-
! Park:  
! Park:  
| {{{field|Park|input type=combobox|values from category=Parks}}}Define Park or City
| {{{field|Park|input type=combobox|values from category=Parks}}}The park the trail is located
|-
|-
! City:  
! City:  
| {{{field|City|input type=tree|structure={{List of Regions}} }}}Define Park or 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:  
Line 23: Line 34:
! Wilderness Area:  
! Wilderness Area:  
| {{{field|Wilderness Area|input type=combobox|values from property=Wilderness Area}}}
| {{{field|Wilderness Area|input type=combobox|values from property=Wilderness Area}}}
|-
! State:
| {{{field|State|input type=combobox|property=State|values from property=State}}}
|-
|-
! Trail Marking:  
! Trail Marking:  
Line 31: Line 39:
|-
|-
! Activities:  
! Activities:  
| {{{field|Trail Use|input type=checkboxes|property=Trail Use|values=Hiking, Skiing, Biking, ATV, Fishing, Horses, No Dogs}}}
| {{{field|Trail Use|input type=checkboxes|property=Trail Use|values=Hiking, Boating, Biking, Geocaching, Camping, Skiing, Horses, Fishing, Caving, Climbing, Hunting, ATV, No Dogs}}}
|-
|-
! Features:  
! Features:  
Line 57: Line 65:
| {{{field|Low Point|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''ft''' (''default'') or yards)
| {{{field|Low Point|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''ft''' (''default'') or yards)
|-
|-
! Elevation Change:  
! Elevation Gain:
| {{{field|Elevation Change|regexp=/^[1-9]\d*(\.\d+)?$/}}} (include units: '''ft''' (''default'') or yards)
| {{{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:  
! Parking:  
Line 90: Line 104:
{{{end template}}}
{{{end template}}}
= Page Text =
= 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 />
<headertabs />

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.