Template:Trailbox: Difference between revisions

From VOC Wiki
Jump to navigation Jump to search
imported>George
No edit summary
imported>George
No edit summary
 
(47 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellpadding="5" cellspacing="0" class="vcard" style="border:1px solid #999966; float:right; clear:right; margin-left:1em; margin-bottom:0.5em; background:#ffffff; width:420px;"
{| cellpadding="5" cellspacing="0" class="vcard" style="border:1px solid #999966; float:right; clear:right; margin-left:1em; margin-bottom:0.5em; background:#ffffff; width:410px;"
|- class="fn org"
|- class="fn org"
! bgcolor=#e7dcc3 colspan="2" | {{{Name}}}
! bgcolor=#e7dcc3 colspan="2" | [https://bivouac.com/RoadxPg.asp?RoadxId={{{BivouacRoadID}}} {{{Name}}}]
|-
|-
{{#if:{{{Photo|}}}|
  {{#if:{{{Photo|}}}|
{{!}} style="border-top:1px solid #999966; font-size:95%; text-align:center;" colspan="2" {{!}} [[Image:{{{Photo}}}|250px]]<br />{{{Caption|}}}
      {{!}} style="border-top:1px solid #999966; font-size:95%; text-align:center;" colspan="2" {{!}} [[Image:{{{Photo}}}|350px]]<br />{{{Caption|}}}
{{!}}-
      {{!}}-
}}
  }}
|-  
|-  
| style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | Overnight Capacity
  | style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | Length
| style="border-top:1px solid #999966; width:240px;" | {{{Capacity|}}}
  | style="border-top:1px solid #999966; width:400px;" | {{{Length|}}}
|-  
|-  
{{#if:{{{Coordinates (WGS 84)|}}}{{{Coordinates (NAD 27)|}}}{{{NTS Topographic map|}}}|
  | style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | [[Trail Class|Class]]
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Coordinates
  | style="border-top:1px solid #999966; width:400px;" | {{{Class|}}}
{{!}} class="label" style="border-top:1px solid #999966;" {{!}}
|-
{{#if:{{{Coordinates (WGS 84)|}}}|
  | style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | [[Trail Status|Status]]
* {{{Coordinates (WGS 84)|}}} (WGS 84)
  | style="border-top:1px solid #999966; width:400px;" | {{{Status|}}}
}}{{#if:{{{Coordinates (NAD 27)|}}}|
|-
* {{{Coordinates (NAD 27)|}}} (NAD 27)
  | style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | Access
}}{{#if:{{{NTS Topographic map|}}}|
  | style="border-top:1px solid #999966; width:400px;" | {{{Access|}}}
* {{{NTS Topographic map|}}} (Topographic map)
|-
}}
  | style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | Destination
{{!}}-
  | style="border-top:1px solid #999966; width:400px;" | {{{Destination|}}}
}}
|-
{{#if:{{{Elevation Gain|}}}|
  {{#if:{{{Caretaker|}}}|
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Elevation Gain
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Caretaker
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Elevation Gain|}}}
      {{!}} style="border-top:1px solid #999966;" {{!}} {{{Caretaker|}}}
{{!}}-
      {{!}}-
}}
  }}
{{#if:{{{Trailhead Elevation|}}}|
 
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Trailhead Elevation
  {{#if:{{{Legal Status|}}}{{{Legal Number|}}}{{{Legal Type|}}} |
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Trailhead Elevation|}}}
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Legal
{{!}}-
      {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
}}
      {{#if:{{{Legal Type|}}}   | *Type: {{{Legal Type|}}}       }}
{{#if:{{{Fee|}}}|
      {{#if:{{{Legal Status|}}} | *Status: {{{Legal Status|}}}    }}
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Fee
      {{#if:{{{Legal Number|}}}  | *Number: {{{Legal Number|}}}    }}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Fee|}}}
      {{#if:{{{Management Plan|}}}   | *Management: {{{Management Plan|}}}    }}
{{!}}-
      {{!}}-
}}
  }}  
{{#if:{{{Reservations|}}}|
 
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Reservations
  {{#if:{{{GPS|}}}|
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Reservations|}}}
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} GPS
{{!}}-
      {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
}}
      {{#if:{{{GPS|}}| *{{{GPS|}}} }}
{{#if:{{{Locked|}}}|
      {{!}}-
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Locked
  }}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Locked|}}}
 
{{!}}-
  {{#if:{{{KML|}}}|
}}
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} KML
{{#if:{{{Built|}}}|
      {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Built
      {{#if:{{{GPS|}}| *{{{KML|}}} }}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Built|}}}
      {{!}}-
{{!}}-
  }}
}}
 
{{#if:{{{Caretaker|}}}|
  {{#if:{{{Maps|}}}|
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Caretaker
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Maps
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Caretaker|}}}
      {{!}} class="label" style="border-top:1px solid #999966;" {{!}}
{{!}}-
      {{#if:{{{Maps|}}| *{{{Maps|}}} }}
}}
      {{!}}-
{{#if:{{{Status|}}}|
  }}
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Status
 
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Status|}}}
{{!}}-
}}
|}<includeonly>[[Category:Trails]]</includeonly><noinclude>
|}<includeonly>[[Category:Trails]]</includeonly><noinclude>
This template should be used on trail pages (see for example [[Phelix Creek Trail]]). It will also put the page into [[:Category:Trails]]. Copy&Paste and edit the following code:
This template should be used on trail pages (see for example [[Phelix Creek Trail]]). It will also put the page into [[:Category:Trails]]. Copy&Paste and edit the following code:


<pre><nowiki>
<pre><nowiki>
{{Trailbox
{{Trailbox
| Name=Brian Waddington Hut
| Name=Harrison Hut Trail
| Photo=Brian Waddington Hut (August 2007).jpg
| BivouacRoadID=6034
| Caption=Brian Waddington Hut (August 2007)
| Photo=Harrison_Valley.JPG
| Elevation Gain=1000m
| Caption=Hiking North-East towards the trailhead and the Capricorn Lookout on the Harrison Hut Trail
| Trailhead Elevation=715m
| Length=12.3km
| Coordinates (NAD 27)={{coord|10U|522738|5608593|NAD27|hidedatum}}
| Class=Class 1
| Coordinates (WGS 84)={{coord|10U|522643|5608795|WGS84|hidedatum}}
| Status=Minor Issue
| NTS Topographic map={{NTS link|092|J|10}}
| Access=Lilooet South FSR
| Fee=$10 / night
| Destination=[[Harrison Hut]]
| Reservations=No
| Locked=No
| Built=1998
| Caretaker=Varsity Outdoor Club
| Caretaker=Varsity Outdoor Club
| Status=Clear
| Legal Type=FRPA Section 57 Tenure
| GPS=[[File:hoe.jpg]]
| Legal Number=123456789
| Legal Status=Active until 2018-01-12
| Management Plan=2010 Plan
| GPS=[[Media:2014-05-JHHut.gpx]]
| KML=[[Media:Phelix_trail.kml]]
| Maps={{NTS link|092|J|10}}
*[https://drive.google.com/open?id=1DhsNAPAfaXmqwjQnhCITFfD4FEE&usp=sharing Google Map] <br>
*[https://maps.google.ca/maps/ms?msid=204787356417747473839.0004e0f9957b37205884c&msa=0&ll=50.540599,-123.428478&spn=0.06884,0.15604 Google Map] <br>
*[[Media:Harrison_access_legal_size.pdf|PDF]]
}}
}}
</nowiki></pre>
</nowiki></pre>
</noinclude>
</noinclude>

Latest revision as of 01:03, 24 October 2018

{{{Name}}}
Length
Class
Status
Access
Destination

This template should be used on trail pages (see for example Phelix Creek Trail). It will also put the page into Category:Trails. Copy&Paste and edit the following code:

{{Trailbox
| Name=Harrison Hut Trail
| BivouacRoadID=6034
| Photo=Harrison_Valley.JPG
| Caption=Hiking North-East towards the trailhead and the Capricorn Lookout on the Harrison Hut Trail
| Length=12.3km
| Class=Class 1
| Status=Minor Issue
| Access=Lilooet South FSR
| Destination=[[Harrison Hut]]
| Caretaker=Varsity Outdoor Club
| Legal Type=FRPA Section 57 Tenure
| Legal Number=123456789
| Legal Status=Active until 2018-01-12
| Management Plan=2010 Plan
| GPS=[[Media:2014-05-JHHut.gpx]]
| KML=[[Media:Phelix_trail.kml]]
| Maps={{NTS link|092|J|10}}
*[https://drive.google.com/open?id=1DhsNAPAfaXmqwjQnhCITFfD4FEE&usp=sharing Google Map] <br>
*[https://maps.google.ca/maps/ms?msid=204787356417747473839.0004e0f9957b37205884c&msa=0&ll=50.540599,-123.428478&spn=0.06884,0.15604 Google Map] <br>
*[[Media:Harrison_access_legal_size.pdf|PDF]]
}}