Template:Infobox valley

{{Infobox

| child = {{#if:{{{embed|}}}|yes}}

| decat = {{#if:{{{embed|}}}|yes}}

| bodyclass = vcard

| bodystyle = line-height: 1.5em;

| abovestyle = background-color: #e7dcc3;

| aboveclass = fn org

| above = {{#if:{{{embed|}}}|{{{name|}}}|{{{name|{{PAGENAME}}}}}}}

| title = {{{embed|}}}

| headerstyle = background-color: #e7dcc3;

| subheader = {{{other_name|}}}

| suheaderclass = nickname

| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{photo|}}}|size={{if empty|{{{photo_size|}}}|{{{photo_width|}}} }}|sizedefault=272px|maxsize=288px|alt={{{photo_alt|}}}}}

| caption = {{{photo_caption|}}}

| image2 = {{#if:{{{map|}}} | {{location map|{{{map}}}

| border = infobox | float = center

| alt = {{{map_alt|}}}

| width = {{if empty|{{{map_size|}}}|{{{map_width|}}}}}

| default_width = 272

| max_width = 288

| caption = {{if empty|{{{map_caption|}}}|{{{location|}}} }}

| relief = {{{relief|}}}

| label = {{if empty|{{{label|}}}|{{{name|}}} }}

| position = {{{label_position|}}}

| coordinates = {{if empty|{{{coordinates|}}}|{{{coords|}}}}} }}

| {{#invoke:InfoboxImage|InfoboxImage|image={{{map_image|{{{image_map|}}}}}}|size={{if empty|{{{map_size|}}}|{{{mapsize|}}}|{{{map_width|}}} }}|sizedefault=272px|maxsize=288px|alt={{{map_alt|}}}}}

}}

|caption2 = {{#if:{{{map|}}} || {{{map_caption|}}} }}

| label3 = Floor elevation

| data3 = {{#if:{{{elevation|}}} | {{{elevation|}}}|{{convinfobox|{{{elevation_m|}}}|m|{{{elevation_ft|}}}|ft}} }}{{#if:{{{elevation_ref|}}} | {{{elevation_ref|}}} }}

| label4 = Long-axis direction

| data4 = {{#if:{{{length|}}}{{{length_km|}}}{{{length_mi|}}}||{{if empty|{{{direction|}}}|{{{orientation|}}}|{{{length_orientation|}}}}}}}

| label5 = Length

| data5 = {{#if:{{{length|}}}|{{{length}}}|{{#if:{{{length_km|}}}{{{length_mi|}}}|{{convinfobox|{{{length_km|}}}|km|{{{length_mi|}}}|mi}} }} }}{{#if:{{{length_km|}}}{{{length_mi|}}}{{{length|}}}|{{#if:{{{direction|}}}{{{orientation|}}}{{{length_orientation|}}}| {{if empty|{{{direction|}}}|{{{orientation|}}}|{{{length_orientation|}}}}} }}{{#if:{{{length_note|}}}| {{{length_note}}} }} }}

| label6 = Width

| data6 = {{#if:{{{width|}}}|{{{width}}}|{{#if:{{{width_km|}}}{{{width_mi|}}}|{{convinfobox|{{{width_km|}}}|km|{{{width_mi|}}}|mi}} }} }}{{#if:{{{width_km|}}}{{{width_mi|}}}{{{width|}}}|{{#if:{{{width_orientation|}}}| {{{width_orientation}}} }}{{#if:{{{width_note|}}}| {{{width_note}}} }} }}

| label7 = Area

| data7 = {{#if:{{{area|}}}|{{{area}}}|{{#if:{{{area_km2|}}}{{{area_mi2|}}}|{{convinfobox|{{{area_km2|}}}|km2|{{{area_mi2|}}}|mi2}} }} }}{{#if:{{{area_km2|}}}{{{area_mi2|}}}{{{area|}}}|{{#if:{{{area_note|}}}| {{{area_note}}} }} }}

| label8 = Depth

| data8 = {{#if:{{{depth|}}}|{{{depth}}}|{{#if:{{{depth_m|}}}{{{depth_ft|}}}|{{convinfobox|{{{depth_m|}}}|m|{{{depth_ft|}}}|ft}} }} }}{{#if:{{{depth_m|}}}{{{depth_ft|}}}{{{depth|}}}|{{#if:{{{depth_note|}}}| {{{depth_note}}} }} }}

| header10 = {{#if:{{{native_name|}}}{{{translation|}}}|Naming}}

| class11 = nickname

| label11 = Native name

| data11 = {{native name checker|{{{native_name|}}}}}

| label12 = English translation

| data12 = {{{translation|}}}

| header15 = {{#if:{{{type|}}}{{{age|}}}|Geology}}

| label16 = Type

| data16 = {{{type|}}}

| label17 = Age

| data17 = {{{age|}}}

| header20 = {{#if:{{{embed|}}}||{{#if:{{{location|}}}{{{country|}}}{{{country1|}}}{{{state|}}}{{{state1|}}}{{{region|}}}{{{region1|}}}{{{district|}}}{{{district1|}}}{{{city|}}}{{{city1|}}}{{{towns|}}}{{{boundaries|}}}{{{border|}}}{{{border1|}}}{{{coordinates|}}}{{{coords|}}}{{{topo|}}}{{{traversed|}}}{{{range|}}}{{{traversed|}}}{{{river|}}}{{{river1|}}}{{{lake|}}}{{{lake1|}}}{{{watercourses|}}}|Geography}} }}

| class21 = label

| label21 = Location

| data21 = {{#if:{{{map|}}}|{{#if:{{{map_caption|}}}|{{{location|}}} }}|{{{location|}}} }}

| class22 = label

| label22 = {{#if:{{{country_type|}}}|{{{country_type}}}|{{#if:{{{country1|}}}|Countries|Country}} }}

| data22 = {{#invoke:Compact list|main|country}}

| class23 = label

| label23 = {{#if:{{{state_type|}}}|{{{state_type}}}|{{#if:{{{state1|}}}|States|State}}}}

| data23 = {{#invoke:Compact list|main|state}}

| class24 = label

| label24 = {{#if:{{{region_type|}}}

| {{{region_type}}}

| {{#if:{{{state|}}}

| {{#if:{{{region1|}}}|Regions|Region}}

| {{#if:{{{region1|}}}|States/Provinces|State/Province}} }} }}

| data24 = {{#invoke:Compact list|main|region}}

| class25 = label

| label25 = {{#if:{{{district_type|}}}|{{{district_type}}}|{{#if:{{{district1|}}}|Districts|District}} }}

| data25 = {{#invoke:Compact list|main|district}}

| label26 = {{#if:{{{city_type|}}}|{{{city_type}}}|Population {{#if:{{{city1|}}}{{{towns|}}}|centers|center}}}}

| data26 = {{if empty|{{{towns|}}}|{{#invoke:Compact list|main|city}}}}

| label27 = Borders on

| data27 = {{if empty|{{{boundaries|}}}|{{#invoke:Compact list|main|border}}}}

| label28 = Coordinates

| data28 = {{#if:{{{coordinates|}}}{{{coords|}}}|{{#invoke:Coordinates|coordinsert|{{if empty|{{{coordinates|}}}|{{{coords|}}}}}|type:river|{{#if:{{{length_km|}}}{{{length_mi|}}}{{{width_km|}}}{{{width_mi|}}}{{{area_mi2|}}}{{{area_km2|}}}|dim:{{Infobox dim|length_km={{{length_km|}}}|length_mi={{{length_mi|}}}|width_km={{{width_km|}}}|width_mi={{{width_mi|}}}|area_mi2={{{area_mi2|}}}|area_km2={{{area_km2|}}}}}}}}} {{if empty|{{{coordinates_ref|}}}|{{{coords_ref|}}} }} }}

|label29 = Topo map

|data29 = {{{topo|}}}

|label30 = Mountain range

|data30 = {{{range|}}}

|label31 = Traversed by

|data31 = {{{traversed|}}}

|label32 = {{#if:{{{river1|}}}{{{watercourses|}}}|Rivers|River}}

|data32 = {{if empty|{{{watercourses|}}}|{{#invoke:Compact list|main|river}}}}

|label33 = {{#if:{{{lake1|}}}|Lakes|Lake}}

|data33 = {{#invoke:Compact list|main|lake}}

| header34 = {{#if:{{{mapframe|}}}|Location}}

| data35 = {{#if:{{Yesno|{{{mapframe|}}}|no=|blank={{#if:{{{map|}}}{{{map_image|}}}{{{image_map|}}}{{{relief|}}}||yes}}}}|{{Infobox mapframe

| coord = {{if empty|{{{mapframe-coordinates|}}}|{{{mapframe-coord|}}}|{{{coordinates|}}}|{{{coords|}}}}}

| wikidata = {{#if:{{{mapframe-coordinates|}}}{{{mapframe-coord|}}}{{{coordinates|}}}{{{coords|}}}|{{{mapframe-wikidata|}}}|yes}}

| frame-width = {{min|288|{{{mapframe-frame-width|272}}}}}

| marker = {{{mapframe-marker|natural}}}

| type = {{{mapframe-type|river}}}

| length_km = {{{length_km|}}}

| length_mi = {{{length_mi|}}}

| width_km = {{{width_km|}}}

| width_mi = {{{width_mi|}}}

| area_mi2 = {{{area_mi2|}}}

| area_km2 = {{{area_km2|}}}

}} }}

| data36 = {{#invoke:Infobox mapframe

| autocaption

| onByDefault={{#if:{{{map|}}}{{{map_image|}}}{{{image_map|}}}{{{relief|}}}|no|yes}}

}}

|below = {{{footnotes|}}}

}}{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:Infobox valley with unknown parameter "_VALUE_"|ignoreblank=y| age | area | area_km2 | area_mi2 | area_note | border | boundaries | city | city_type | coordinates | coordinates_ref | coords | coords_ref | country | country_type | depth | depth_m | depth_ft | depth_note | direction | district | district_type | elevation | elevation_ft | elevation_m | elevation_ref | embed | footnotes | image_map | label | label_position | lake | length | length_km | length_mi | length_note | length_orientation | location | map | map_alt | map_caption | map_image | map_size | map_width | mapsize | name | native_name | orientation | other_name | photo | photo_alt | photo_caption | photo_size | photo_width | range | region | region_type | relief | river | state | state_type | topo | towns | traversed | translation | type | watercourses | width | width_mi | width_km | width_note | width_orientation | regexp1=border_?%d+ | regexp2=city_?%d+ | regexp3=country_?%d+ | regexp4=district_?%d+ | regexp5=lake_?%d+ | regexp6 =region_?%d+ | regexp7=river_?%d+ | regexp8=state_?%d+ | mapframe | mapframe-area_km2 | mapframe-area_mi2 | mapframe-caption | mapframe-coord | mapframe-coordinates | mapframe-custom | mapframe-frame-coord | mapframe-frame-coordinates | mapframe-frame-height | mapframe-frame-width | mapframe-geomask | mapframe-geomask-fill | mapframe-geomask-fill-opacity | mapframe-geomask-stroke-color | mapframe-geomask-stroke-colour | mapframe-geomask-stroke-width | mapframe-height | mapframe-id | mapframe-length_km | mapframe-length_mi | mapframe-marker | mapframe-marker-color | mapframe-marker-colour | mapframe-point | mapframe-shape | mapframe-shape-fill | mapframe-shape-fill-opacity | mapframe-stroke-color | mapframe-stroke-colour | mapframe-stroke-width | mapframe-switcher | mapframe-width | mapframe-wikidata | mapframe-zoom

}}

{{documentation}}