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 3: Line 3:
! bgcolor=#e7dcc3 colspan="2" | {{{Name}}}
! bgcolor=#e7dcc3 colspan="2" | {{{Name}}}
|-
|-
{{#if:{{{Photo|}}}|
  {{#if:{{{Photo|}}}|
{{!}} 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; 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;" | Length
  | style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3; width:85px;" | Length
| 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|}}}|
  {{#if:{{{Coordinates (WGS 84)|}}}{{{Coordinates (NAD 27)|}}}{{{NTS Topographic map|}}}|
  {{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Coordinates
      {{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Coordinates
  {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
      {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
  {{#if:{{{Coordinates (WGS 84)|}}} | * {{{Coordinates (WGS 84)|}}} (WGS 84)}}
      {{#if:{{{Coordinates (WGS 84)|}}} | * {{{Coordinates (WGS 84)|}}} (WGS 84)         }}
  {{#if:{{{Coordinates (NAD 27)|}}} | * {{{Coordinates (NAD 27)|}}} (NAD 27)}}
      {{#if:{{{Coordinates (NAD 27)|}}} | * {{{Coordinates (NAD 27)|}}} (NAD 27)         }}
  {{#if:{{{NTS Topographic map|}}}  | * {{{NTS Topographic map|}}} (Topographic map)
      {{#if:{{{NTS Topographic map|}}}  | * {{{NTS Topographic map|}}} (Topographic map) }}
}}
      {{!}}-
{{!}}-
  }}
}}
 
{{#if:{{{Elevation Gain|}}}|
  {{#if:{{{Elevation Gain|}}}{{{Trailhead Elevation|}}}|
{{!}} 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;" {{!}} Elevation
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Elevation Gain|}}}
      {{!}} class="label" style="border-top:1px solid #999966;" {{!}}  
{{!}}-
      {{#if:{{{Elevation Gain|}}}       | * Elevation Gain: {{{Elevation Gain|}}}                 }}
}}
      {{#if:{{{Trailhead Elevation|}}} | * Trailhead Elevation: {{{Trailhead Elevation|}}}        }}
{{#if:{{{Trailhead Elevation|}}}|
      {{!}}-
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Trailhead Elevation
  }}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Trailhead Elevation|}}}
 
{{!}}-
  {{#if:{{{Fee|}}}|
}}
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Fee
{{#if:{{{Fee|}}}|
      {{!}} style="border-top:1px solid #999966;" {{!}} {{{Fee|}}}
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Fee
      {{!}}-
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Fee|}}}
  }}
{{!}}-
 
}}
  {{#if:{{{Reservations|}}}|
{{#if:{{{Reservations|}}}|
      {{!}} 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;" {{!}} Reservations
      {{!}} style="border-top:1px solid #999966;" {{!}} {{{Reservations|}}}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Reservations|}}}
      {{!}}-
{{!}}-
  }}
}}
 
{{#if:{{{Locked|}}}|
  {{#if:{{{Locked|}}}|
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Locked
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Locked
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Locked|}}}
      {{!}} style="border-top:1px solid #999966;" {{!}} {{{Locked|}}}
{{!}}-
      {{!}}-
}}
  }}
{{#if:{{{Built|}}}|
 
{{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Built
  {{#if:{{{Built|}}}|
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Built|}}}
      {{!}} class="note" style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} Built
{{!}}-
      {{!}} style="border-top:1px solid #999966;" {{!}} {{{Built|}}}
}}
      {{!}}-
{{#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:{{{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|}}}
 
{{!}}-
  {{#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:



Revision as of 06:23, 22 December 2017

{{{Name}}}
Length

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=Brian Waddington Hut
| Photo=Brian Waddington Hut (August 2007).jpg
| Caption=Brian Waddington Hut (August 2007)
| Length=3.5km
| Elevation Gain=1000m
| Trailhead Elevation=715m
| Coordinates (NAD 27)={{coord|10U|522738|5608593|NAD27|hidedatum}} 
| Coordinates (WGS 84)={{coord|10U|522643|5608795|WGS84|hidedatum}} 
| NTS Topographic map={{NTS link|092|J|10}}
| Fee=$10 / night
| Reservations=No
| Locked=No
| Built=1998 
| Caretaker=Varsity Outdoor Club
| Status=Clear
| GPS=[[File:hoe.jpg]]
}}