Difference between revisions of "Template:Infobox ukcave"

From blackwiki
Jump to navigation Jump to search
imported>Droll
(fixed typo)
imported>Droll
(made it redirect)
 
Line 1: Line 1:
<noinclude>
+
#REDIRECT [[Template:Infobox cave]]
{{ombox
 
| type      = content
 
| text      = This template is '''[[deprecated]]'''. All articles which transcluded it now use {{tl|Infobox cave}} which has been modified to accommodate articles about caves in the British Isles.
 
}}
 
{{Ambox
 
|type=move
 
|style=background:#e4d8ff
 
|image=[[Image:Merge-arrow.svg|50px|alt=|link=]]
 
|text=This template was [[Wikipedia:Templates for discussion|nominated]] for discussion. [[Wikipedia:Templates for discussion/Log/2011 November 22#Template:Infobox ukcave|'''The debate''']] was closed on '''25 December 2011''' with a consensus to carefully [[Wikipedia:Merging|merge]] the content into the template ''[[Template:Infobox cave]]''. Please discuss the merger at [[Template talk:Infobox cave#Merge from Template:Infobox ukcave]].}}
 
</noinclude>{{Infobox
 
|bodyclass      = vcard
 
|bodystyle      = font-size:90%;
 
 
 
|aboveclass    = fn org
 
|abovestyle    = background-color: #e7dcc3;
 
|above          = {{ifempty
 
                  | {{{name|}}}
 
                  | <includeonly>{{error|Cave name required|tag=span}}</includeonly>}}
 
 
 
|subheaderstyle = font-size:100%;
 
|subheader      = {{{alt_name|}}}
 
|headerstyle  = background:#ccf;
 
 
 
|image          = {{#if:{{{photo|}}}|[[Image:{{{photo|}}}|{{px|{{{photo_width|}}}|256px}}]]}}
 
|caption        = {{{caption|}}}
 
 
 
|label2  = Depth
 
|data2    = {{#if:{{{depth_metres|}}}|{{convert|{{{depth_metres}}}|m}} }}
 
 
 
|label3  = Length
 
|data3    = {{#if:{{{length_metres|}}}|{{convert|{{{length_metres}}}|m}} }}
 
 
 
|label7  = Geology
 
|data7    = {{{geology|}}}
 
 
 
| header15 = Location
 
 
 
| header16 = {{#if:{{{location_area|}}}|
 
{{ location map
 
| {{{location_area}}}
 
| lat    = {{#ifeq:{{{location_public|}}}|yes|{{{location_lat|}}}|0}}
 
| long    =  {{{location_lon|}}}
 
| width  = 240
 
| float  = center
 
| border  = none
 
| caption =
 
| mark = Gfi-set01-cave_red.svg}}
 
}}
 
 
 
|label17  = Gridref
 
|data17    = {{#ifeq:{{{location_public|}}}|yes|
 
  {{#if:{{{gridref|}}}|{{gbmappingsmall|{{{gridref|}}} }} }}|
 
  {{#if:{{{gridref|}}}|{{error|gridref given when location not public|tag=span}}|}}
 
}}
 
 
 
|label18  = Altitude
 
|data18    = {{#if:{{{altitude_metres|}}}|{{convert|{{{altitude_metres}}}|m}} }}
 
 
 
|label19  = Location
 
|data19    = {{{location|}}}
 
 
 
|label20  = Coordinates
 
|data20    = {{#if:{{{coordinates|}}}|{{{coordinates}}}|
 
{{#if:{{{location_lat|}}}|
 
  {{#ifeq:{{{location_public|}}}|yes|
 
  {{coord|{{{location_lat}}}|{{{location_lon}}}|display=inline,title}} }} |}}
 
}}
 
 
 
| header30 = Access
 
 
 
|label31  = Hazards
 
|data31  = {{{hazards|}}}
 
 
 
|label32  = Access
 
|data32  = {{{access|}}}
 
 
 
|label33  = Show cave opened
 
|data33  = {{{show cave|}}}
 
 
 
|label34  = Length of show cave
 
|data34  = {{{show cave length|}}}
 
 
 
|label35  = Lighting
 
|data35  = {{{lighting|}}}
 
 
 
|label36  = Visitors
 
|data36  = {{{visitors|}}}
 
 
 
|label37  = Features
 
|data37  = {{{features|}}}
 
 
 
|label39  = Discovery
 
|data39    = {{{discovery|}}}
 
 
 
|label40  = Difficulty
 
|data40    = {{#if:{{{bcra_grade|}}}|Grade {{{bcra_grade}}} }}
 
 
 
|label41  = Entrances
 
|data41    = {{ifempty|{{{number of entrances|}}}|{{{entrances|}}}}}
 
 
 
|label42  = List of entrances
 
|data42    = {{{list of entrances|}}}
 
 
 
|label43  = [[Cave survey]]
 
|data43    = {{#if:{{{survey|}}}
 
            | {{{survey|}}}<!--
 
            -->{{#if:{{{survey electronic format|}}}
 
              |{{sp}}(in ''{{{survey electronic format|}}}'')}}}}
 
 
 
 
 
|label48  = Translation
 
|data48  = {{#if:{{{translation|}}}
 
            | ''{{{translation|}}}''{{#if:{{{language|}}}|{{sp}}({{{language|}}}) }}}}
 
 
 
|label49  = [[International Phonetic Alphabet|Pronunciation]]
 
|data49  = {{#if:{{{pronunciation|}}}|{{IPA|[{{{pronunciation|}}}]}}}}
 
 
 
|label50  = Website
 
|data50  = {{{website|}}}
 
 
 
|label51  = Registry
 
|data51  = {{#if:{{{mcra_id|}}}|[http://www.mcra.org.uk/registry/sitedetails.php?id={{{mcra_id}}}] }}
 
 
 
|label52  = Register
 
|data52  =
 
 
 
{{#switch: {{{register|}}}
 
  | mcra = [http://www.mcra.org.uk/registry/sitedetails.php?id={{{register_id|}}} MCRA/{{{register_id|}}}]
 
  | cambrian = [http://www.cambriancavingcouncil.org.uk/registry/ccr_registry_view.php?ID={{{register_id|}}} Cambrian/{{{register_id|}}}]
 
  |}}
 
 
 
 
 
}}<noinclude>
 
{{documentation}}
 
<!--
 
  PLEASE ADD CATEGORIES AND INTERWIKIS
 
  TO THE /doc SUBPAGE, THANKS
 
-->
 
</noinclude>
 

Latest revision as of 23:43, 30 March 2012