Template:Trailbox: Difference between revisions

From VOC Wiki
Jump to navigation Jump to search
imported>George
No edit summary
imported>George
No edit summary
Line 11: Line 11:
   | style="border-top:1px solid #999966; width:400px;" | {{{Length|}}}
   | 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)|}}} | * {{{Coordinates (WGS 84)|}}} (WGS 84)        }}
  | style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | [[Trail Status|Status]]
      {{#if:{{{Coordinates (NAD 27)|}}} | * {{{Coordinates (NAD 27)|}}} (NAD 27)        }}
  | style="border-top:1px solid #999966; width:400px;" | {{{Status|}}}
      {{#if:{{{NTS Topographic map|}}}  | * {{{NTS Topographic map|}}} (Topographic map) }}
|-
  {{#if:{{{Caretaker|}}}|
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Caretaker
      {{!}} style="border-top:1px solid #999966;" {{!}} {{{Caretaker|}}}
       {{!}}-
       {{!}}-
   }}
   }}


   {{#if:{{{Elevation Gain|}}}{{{Trailhead Elevation|}}}|
   {{#if:{{{Legal Status|}}}|
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Elevation
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Legal Status
       {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{Legal Status|}}}
      {{#if:{{{Elevation Gain|}}}      | * Gain: {{{Elevation Gain|}}}                  }}
      {{#if:{{{Trailhead Elevation|}}}  | * Trailhead: {{{Trailhead Elevation|}}}        }}
       {{!}}-
       {{!}}-
   }}
   }}  


   {{#if:{{{Fee|}}}|
   {{#if:{{{Legal Number|}}}|
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Fee
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Legal Number
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{Fee|}}}
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{Legal Number|}}}
       {{!}}-
       {{!}}-
   }}
   }}


   {{#if:{{{Reservations|}}}|
   {{#if:{{{NTS Topographic map|}}}|
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Reservations
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} NTS Topographic map
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{Reservations|}}}
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{NTS Topographic map|}}}
       {{!}}-
       {{!}}-
   }}
   }}


   {{#if:{{{Locked|}}}|
   {{#if:{{{Waypoint1|}}}|
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Locked
       {{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Waypoints (WGS 84)
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{Locked|}}}
       {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
      {{#if:{{{Waypoint1|}}}  | * {{{Waypoint1|}}}    }}
      {{#if:{{{Waypoint2|}}}  | * {{{Waypoint2|}}}    }}
      {{#if:{{{Waypoint3|}}}  | * {{{Waypoint3|}}}    }}
      {{#if:{{{Waypoint4|}}}  | * {{{Waypoint4|}}}    }}
      {{#if:{{{Waypoint5|}}}  | * {{{Waypoint5|}}}    }}
      {{#if:{{{Waypoint6|}}}  | * {{{Waypoint6|}}}    }}
      {{#if:{{{Waypoint7|}}}  | * {{{Waypoint7|}}}    }}
      {{#if:{{{Waypoint8|}}}  | * {{{Waypoint8|}}}    }}
      {{#if:{{{Waypoint9|}}}  | * {{{Waypoint9|}}}    }}
      {{#if:{{{Waypoint10|}}} | * {{{Waypoint10|}}}  }}
      {{#if:{{{Waypoint11|}}} | * {{{Waypoint11|}}}  }}
      {{#if:{{{Waypoint12|}}} | * {{{Waypoint12|}}}  }}
      {{#if:{{{Waypoint13|}}} | * {{{Waypoint13|}}}  }}
      {{#if:{{{Waypoint14|}}} | * {{{Waypoint14|}}}  }}
      {{#if:{{{Waypoint15|}}} | * {{{Waypoint15|}}}  }}
      {{#if:{{{Waypoint16|}}} | * {{{Waypoint16|}}}  }}
      {{#if:{{{Waypoint17|}}} | * {{{Waypoint17|}}}  }}
      {{#if:{{{Waypoint18|}}} | * {{{Waypoint18|}}}  }}
      {{#if:{{{Waypoint19|}}} | * {{{Waypoint19|}}}  }}
      {{#if:{{{Waypoint20|}}} | * {{{Waypoint20|}}}  }}
       {{!}}-
       {{!}}-
   }}
   }}


   {{#if:{{{Built|}}}|
   {{#if:{{{GPS|}}}|
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Built
       {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} GPS
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{Built|}}}
       {{!}} style="border-top:1px solid #999966;" {{!}} {{{GPS|}}}
      {{!}}-
  }}
 
  {{#if:{{{Caretaker|}}}|
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Caretaker
      {{!}} style="border-top:1px solid #999966;" {{!}} {{{Caretaker|}}}
      {{!}}-
  }}
 
  {{#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|}}}
       {{!}}-
       {{!}}-
   }}
   }}
Line 70: Line 79:
<pre><nowiki>
<pre><nowiki>
{{Trailbox
{{Trailbox
| Name=Phelix Creek Trail
| Name=Harrison Hut Trail
| Photo=Brian Waddington Hut (August 2007).jpg
| Photo=Harrison_Valley.JPG
| Caption=Brian Waddington Hut (August 2007)
| Caption=Harrison Valley
| Length=3.5km
| Length=12.3km
| Class=Class 1
| Class=Class 1
| Status=All Clear
| Status=Minor Issue
| Elevation Gain=1000m
| Caretaker=Varsity Outdoor Club
| Trailhead Elevation=715m
| Legal Status=FRPA Section 57 Tenure
| Coordinates (NAD 27)={{coord|10U|522738|5608593|NAD27|hidedatum}}
| Legal Number=123456789
| Coordinates (WGS 84)={{coord|10U|522643|5608795|WGS84|showdatum}}
| NTS Topographic map={{NTS link|092|J|10}}
| NTS Topographic map={{NTS link|092|J|10}}
| Fee=$10 / night
| Waypoint1={{coord|10U|522643|5608795|WGS84|hidedatum}}
| Reservations=No
| Waypoint2={{coord|10U|522643|5608795|WGS84|hidedatum}}
| Locked=No
| Waypoint3={{coord|10U|522643|5608795|WGS84|hidedatum}}
| Built=1998
| Caretaker=Varsity Outdoor Club
 
| GPS=[[File:hoe.jpg]]
| GPS=[[File:hoe.jpg]]
}}
}}
</nowiki></pre>
</nowiki></pre>
</noinclude>
</noinclude>

Revision as of 07:08, 22 December 2017

{{{Name}}}
Length
Class
Status

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
| Photo=Harrison_Valley.JPG
| Caption=Harrison Valley
| Length=12.3km
| Class=Class 1
| Status=Minor Issue
| Caretaker=Varsity Outdoor Club
| Legal Status=FRPA Section 57 Tenure
| Legal Number=123456789
| NTS Topographic map={{NTS link|092|J|10}}
| Waypoint1={{coord|10U|522643|5608795|WGS84|hidedatum}} 
| Waypoint2={{coord|10U|522643|5608795|WGS84|hidedatum}} 
| Waypoint3={{coord|10U|522643|5608795|WGS84|hidedatum}} 
| GPS=[[File:hoe.jpg]]
}}