Template:Infobox mountain: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ozhiker
Fix case where "Photo size" parameter exists but is empty
meta>MJCdetroit
Added pushpin location map based on Infobox Settlement's design and coordinates reference field---see talk
Line 6: Line 6:
{{!}} style="border-top:1px solid #999966; font-size:95%; text-align:center;" colspan="2"; colspan="2" {{!}} [[Image:{{{Photo}}}| {{ #if: {{{Photo size|}}} |{{{Photo size}}} | 300px }}]]<br />{{{Caption|}}}
{{!}} style="border-top:1px solid #999966; font-size:95%; text-align:center;" colspan="2"; colspan="2" {{!}} [[Image:{{{Photo}}}| {{ #if: {{{Photo size|}}} |{{{Photo size}}} | 300px }}]]<br />{{{Caption|}}}
{{!}}-
{{!}}-
}}<!-- ***** Pushpin Map ***** -->
{{#if:{{{pushpin_map|}}}|
<tr class="mergedrow">
<td colspan="2" align="center">
{{Location map|{{{pushpin_map|}}}
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{#if:{{{Name|}}}|{{{Name}}}}} }}
|lat = {{#if:{{{latm|}}}{{{latNS|}}}| |{{{latd|}}} }} 
|long = {{#if:{{{longm|}}}{{{longEW|}}}| |{{{longd|}}} }}
|lat_deg={{#if:{{{latm|}}}{{{latNS|}}}|{{{latd|}}}| }} 
|lat_min={{#if:{{{latm|}}}{{{latNS|}}}|{{{latm|}}}| }}
|lat_sec={{#if:{{{lats|}}}{{{latNS|}}}|{{{lats|}}}| }}
|lat_dir={{#if:{{{latNS|}}}|{{{latNS|}}}| }}
|lon_deg={{#if:{{{longm|}}}{{{longEW|}}}|{{{longd|}}}| }}
|lon_min={{#if:{{{longm|}}}{{{longEW|}}}|{{{longm|}}}| }}
|lon_sec={{#if:{{{longs|}}}{{{longEW|}}}|{{{longs|}}}| }} 
|lon_dir={{#if:{{{longEW|}}}|{{{longEW|}}}| }}
|float = none
|caption =
|border = none
|position = {{#if:{{{pushpin_label_position|}}} | {{{pushpin_label_position|}}} | right }}
|width = {{#if:{{{pushpin_mapsize|}}}|{{{pushpin_mapsize|}}} | 250 }}
}}{{#if:{{{pushpin_map_caption|}}}|<small>{{{pushpin_map_caption|}}}</small>|{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small> }} }}
</td>
</tr>
}}
}}
|- class="note"  
|- class="note"  
Line 31: Line 55:
{{!}}-
{{!}}-
}}
}}
{{#if:{{{latd|}}}|
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
{{!}} style="border-top:1px solid #999966;" {{!}}{{Geobox coor|{{{latd|}}}|{{{latm|}}}|{{{lats|}}}|{{{latNS|}}}|{{{longd|}}}|{{{longm|}}}|{{{longs|}}}|{{{longEW|}}}|{{{coordinates_type|type:mountain}}}}}{{#if:{{{coordinates_ref|}}}|{{{coordinates_ref}}}}}
{{!}}-|
{{#if:{{{Coordinates|}}}|
{{#if:{{{Coordinates|}}}|
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Geographic coordinate system|Coordinates]]
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Coordinates|}}}
{{!}} style="border-top:1px solid #999966;" {{!}} {{{Coordinates|}}}
{{!}}-
{{!}}-
}}
}}}}
{{#if:{{{Topographic map|}}}|
{{#if:{{{Topographic map|}}}|
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Topographic map|Topo map]]
{{!}} style="border-top:1px solid #999966; border-right:1px solid #999966; background:#e7dcc3;" {{!}} [[Topographic map|Topo map]]

Revision as of 18:38, 5 April 2008

{{{Name}}}
Elevation {{{Elevation}}}

an:Plantilla:Montañas cs:Šablona:Infobox - hora es:Plantilla:Infobox Montaña fa:الگو:دادان کوه fr:Modèle:Infobox Montagne he:תבנית:הר ka:თარგი:მთა ml:ഫലകം:Infobox Mountain ro:Format:Infobox munte ru:Шаблон:Гора fi:Malline:Vuori ta:வார்ப்புரு:தகவல் சட்டம் மலை tr:Şablon:Dağ