Template:Mountainbox: Difference between revisions

From VOC Wiki
Jump to navigation Jump to search
imported>George
Created page with "{| 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:100..."
 
imported>George
No edit summary
 
(29 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:100%;"
{| cellpadding="5" cellspacing="0" class="vcard" style="border:3px solid #999977; float:right; clear:right; margin-left:1em; margin-bottom:0.5em; background:#ffffff; width:100%;"
|- class="fn org"
|- class="fn org"
   ! bgcolor=#e7dcc3 width="450px"| [https://bivouac.com//FtrPg.asp?FtrId={{{BivouacFeatureID}}} {{{Name}}}]
   ! bgcolor=#e7dcc3 width="375px"| [https://bivouac.com//MtnPg.asp?MtnId={{{BivouacMtnID}}} {{{Name}}}]
   | class="note" style="background:#e7dcc3; width:100px; height:30px; border-left:1px solid #999966; border-right:1px solid #999966;" | Elevation
   | class="note" style="background:#e7dcc3; width:100px; height:25px; border-left:1px solid #999966; border-right:1px solid #999966; vertical-align:middle; text-align:right; padding-right:10px;" | Region
   | {{#if:{{{Elevation|}}}|{{{Elevation|}}} }}
   | style="vertical-align:middle padding-left:10px" | {{#if:{{{Region|}}}|[https://www.avalanche.ca/map {{{Region|}}}]}}
|-
|-
   | style="font-size:95%; text-align:center; height:350px; border-top:1px solid #999966;" rowspan="2" | [[Image:{{{Photo}}}|350px]]<br />{{{Caption|}}}
   | style="font-size:95%; text-align:center; height:275px; border-top:1px solid #999966; vertical-align:top padding-top:15px" rowspan="3" | [[Image:{{{Photo}}}|350px]]<br />{{{Caption|}}}
   | style="background:#e7dcc3; height:90px; border:1px solid #999966;" | Coordinates
 
   | class="label" |  
  | class="note"  style="background:#e7dcc3; height:25px; border:1px solid #999966; vertical-align:middle; text-align:right; padding-right:10px;" | Elevation
  | class="label" style="vertical-align:middle; border-top:1px solid #999966; border-bottom:1px solid #999966; padding-left:10px" | {{#if:{{{Elevation(m)|}}}|'''{{{Elevation(m)|}}} m'''}} {{#if:{{{Elevation(m)|}}}|''({{#expr: ({{{Elevation(m)|}}}*3.28084) round 0 }} ft)'' }}   
|-
   | class="note"  style="background:#e7dcc3; height:75px; border-left:1px solid #999966; border-right:1px solid #999966; border-bottom:1px solid #999966; vertical-align:top; text-align:right; padding-right:10px;" | Coordinates
   | class="label" style="vertical-align:top; border-bottom:1px solid #999966; padding-left:10px"|  
   {{#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)
Line 14: Line 18:
|-
|-


   | class="note" style="background:#e7dcc3; height:230px; border-left:1px solid #999966; border-right:1px solid #999966;" | Quick Info
   | class="note" style="background:#e7dcc3; height:150px; border-left:1px solid #999966; border-right:1px solid #999966; vertical-align:top; text-align:right; padding-right:10px;" | Quick Info
   | class="label" | {{#if:{{{QuickInfo|}}| * {{{QuickInfo|}}} }}
   | class="label" style="vertical-align:top; padding-left:10px;"| {{#if:{{{QuickInfo|}}| {{{QuickInfo|}}} }}
|-
|-


Line 21: Line 25:


This template should be used on mountain pages (see for example [[Black Tusk]]). It will also put the page into [[:Category:Mountains]]. Copy&Paste and edit the following code:
This template should be used on mountain pages (see for example [[Black Tusk]]). It will also put the page into [[:Category:Mountains]]. Copy&Paste and edit the following code:
Example Sample:


<pre><nowiki>
<pre><nowiki>
{{Mountainbox
{{Mountainbox
| Name=Black Tusk
| Name=Black Tusk
| BivouacFeatureID=957
| BivouacMtnID=31
| Photo=Black Tusk.JPG
| Photo=Black Tusk.JPG
| Caption=Black Tusk Caption
| Caption=The east aspect of the Black Tusk in Summer.
| Elevation=1686m (5530ft)
| Region=Sea to Sky
| Coordinates (WGS 84)={{coord|10U|486305|5543098|WGS84|hidedatum}}  
| Elevation(m)=2319
| Coordinates (NAD 27)={{coord|10U|486404|5542900|NAD27|hidedatum}}  
| Coordinates (WGS 84)={{coord|10U|496932|5535870|WGS84|hidedatum}}  
| NTS Topographic map={{NTS link|092|J|03}}
| Coordinates (NAD 27)={{coord|10U|497026|5535669|NAD27|hidedatum}}  
| QuickInfo={{NTS link|092|J|10}}
| NTS Topographic map={{NTS link|092|G|14}}
*[https://drive.google.com/open?id=1DhsNAPAfaXmqwjQnhCITFfD4FEE&usp=sharing Google Map] <br>
| QuickInfo=A dramatic, extinct volcano located north of the northwest end of Garibaldi Lake. Generally a "black" tusk, but occasionally a "white" tusk in winter, this peak catches one's eye from many different angles. The peak is a remnant of a much larger volcano that has mostly eroded away.
*[https://maps.google.ca/maps/ms?msid=204787356417747473839.0004e0f9957b37205884c&msa=0&ll=50.540599,-123.428478&spn=0.06884,0.15604 Google Map] <br>
}}__NOTOC__
*[[Media:Garibaldi Park.pdf|PDF]]
</nowiki></pre>
}}
 
Empty Sample:
 
<pre><nowiki>
{{Mountainbox
| Name=
| BivouacMtnID=
| Photo=
| Caption=
| Region=
| Elevation(m)=
| Coordinates (WGS 84)={{coord|10U||WGS84|hidedatum}}
| Coordinates (NAD 27)={{coord|10U||NAD27|hidedatum}}
| NTS Topographic map={{NTS link|092|G|}}
| QuickInfo=
}}__NOTOC__
</nowiki></pre>
</nowiki></pre>
</noinclude>
</noinclude>

Latest revision as of 07:44, 4 January 2019

{{{Name}}} Region
[[Image:{{{Photo}}}|350px]]
Elevation
Coordinates
Quick Info

This template should be used on mountain pages (see for example Black Tusk). It will also put the page into Category:Mountains. Copy&Paste and edit the following code:

Example Sample:

{{Mountainbox
| Name=Black Tusk
| BivouacMtnID=31
| Photo=Black Tusk.JPG
| Caption=The east aspect of the Black Tusk in Summer.
| Region=Sea to Sky
| Elevation(m)=2319
| Coordinates (WGS 84)={{coord|10U|496932|5535870|WGS84|hidedatum}} 
| Coordinates (NAD 27)={{coord|10U|497026|5535669|NAD27|hidedatum}} 
| NTS Topographic map={{NTS link|092|G|14}}
| QuickInfo=A dramatic, extinct volcano located north of the northwest end of Garibaldi Lake. Generally a "black" tusk, but occasionally a "white" tusk in winter, this peak catches one's eye from many different angles. The peak is a remnant of a much larger volcano that has mostly eroded away. 
}}__NOTOC__

Empty Sample:

{{Mountainbox
| Name=
| BivouacMtnID=
| Photo=
| Caption=
| Region=
| Elevation(m)=
| Coordinates (WGS 84)={{coord|10U||WGS84|hidedatum}} 
| Coordinates (NAD 27)={{coord|10U||NAD27|hidedatum}} 
| NTS Topographic map={{NTS link|092|G|}}
| QuickInfo= 
}}__NOTOC__