Difference between revisions of "Template:Infobox river/sandbox"
Jump to navigation
Jump to search
imported>Rehman (trim) |
imported>Rehman (sync) |
||
| Line 9: | Line 9: | ||
| caption = {{#if:{{{image|}}}|{{{image_caption|}}}|{{{image_caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}} | | caption = {{#if:{{{image|}}}|{{{image_caption|}}}|{{{image_caption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}} | ||
| − | | image2 | + | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|}}}|sizedefault=frameless|alt={{{map_alt|}}}}} |
| − | + | | caption2 = {{{map_caption|}}} | |
| − | + | ||
| − | + | | image3 = {{#if:{{both|{{{pushpin_map|}}}|{{{mouth_coordinates|}}}{{#property:P625}}}}|{{location map|{{{pushpin_map}}} | |
| − | + | |border =infobox | |
| − | | | + | |alt ={{{pushpin_map_alt|}}} |
| + | |float =center | ||
| + | |width ={{{pushpin_map_size|}}} | ||
| + | |coordinates ={{{mouth_coordinates|}}} | ||
| + | |relief ={{#ifeq: {{{pushpin_map_relief|}}}| 0 || {{if empty|{{{pushpin_map_relief|}}}|1}}}} | ||
| + | |caption ={{{pushpin_map_caption|}}} }} }} | ||
| label1 = Etymology | | label1 = Etymology | ||
| Line 34: | Line 39: | ||
-->{{{native_name}}}|{{lang|und|{{{native_name}}}}}}}}}}}}} | -->{{{native_name}}}|{{lang|und|{{{native_name}}}}}}}}}}}}} | ||
| − | | header5 = Location | + | | header5 = {{#if:{{{subdivision_name1|{{{country|}}}}}}{{{subdivision_name2|{{{state|}}}}}}{{{subdivision_name3|{{{region|}}}}}}{{{subdivision_name4|{{{district|}}}}}}{{{subdivision_name5|{{{municipality|}}}}}}|Location}} |
| label6 = {{{subdivision_type1|{{{country_type|Country}}}}}} | | label6 = {{{subdivision_type1|{{{country_type|Country}}}}}} | ||
| Line 59: | Line 64: | ||
| rowstyle16 = display:none; | | rowstyle16 = display:none; | ||
| − | | data16 = {{Infobox river/source | + | | data16 = {{Infobox river/source|source={{{source1|}}}|loc={{{source1_location|}}}|elev={{{source1_elevation|}}}|coord={{{source1_coordinates|}}}|len={{{source1_length|}}}|coord_ref={{{source1_coord_ref|}}}}} |
| rowstyle17 = display:none; | | rowstyle17 = display:none; | ||
| − | | data17 = {{Infobox river/source | + | | data17 = {{Infobox river/source|2nd source|source={{{source2|}}}|loc={{{source2_location|}}}|elev={{{source2_elevation|}}}|coord={{{source2_coordinates|}}}|len={{{source2_length|}}}|coord_ref={{{source2_coord_ref|}}}}} |
| rowstyle18 = display:none; | | rowstyle18 = display:none; | ||
| − | | data18 = {{Infobox river/source | + | | data18 = {{Infobox river/source|3rd source|source={{{source3|}}}|loc={{{source3_location|}}}|elev={{{source3_elevation|}}}|coord={{{source3_coordinates|}}}|len={{{source3_length|}}}|coord_ref={{{source3_coord_ref|}}}}} |
| rowstyle19 = display:none; | | rowstyle19 = display:none; | ||
| − | | data19 = {{Infobox river/source | + | | data19 = {{Infobox river/source|4th source|source={{{source4|}}}|loc={{{source4_location|}}}|elev={{{source4_elevation|}}}|coord={{{source4_coordinates|}}}|len={{{source4_length|}}}|coord_ref={{{source4_coord_ref|}}}}} |
| rowstyle20 = display:none; | | rowstyle20 = display:none; | ||
| − | | data20 = {{Infobox river/source | + | | data20 = {{Infobox river/source|5th source|source={{{source5|}}}|loc={{{source5_location|}}}|elev={{{source5_elevation|}}}|coord={{{source5_coordinates|}}}|len={{{source5_length|}}}|coord_ref={{{source5_coord_ref|}}}}} |
| rowstyle21 = display:none; | | rowstyle21 = display:none; | ||
| − | | data21 = {{Infobox river/source | + | | data21 = {{Infobox river/source|Source confluence|source={{{source_confluence|}}}|loc={{{source_confluence_location|}}}|elev={{{source_confluence_elevation|}}}|coord={{{source_confluence_coordinates|}}}|coord_ref={{{source_confluence_coord_ref|}}}}} |
| label22 = [[River mouth|Mouth]] | | label22 = [[River mouth|Mouth]] | ||
| data22 = {{#if:{{{mouth|}}}|{{{mouth}}}|{{#if:{{{mouth_location|}}}{{{mouth_coordinates|}}}{{{mouth_elevation|}}}{{{mouth_elevation_metric|}}}{{{mouth_elevation_imperial|}}}| }}}} | | data22 = {{#if:{{{mouth|}}}|{{{mouth}}}|{{#if:{{{mouth_location|}}}{{{mouth_coordinates|}}}{{{mouth_elevation|}}}{{{mouth_elevation_metric|}}}{{{mouth_elevation_imperial|}}}| }}}} | ||
| − | | label23 = <div style="display:inline;font-weight:normal"> | + | | label23 = <div style="display:inline;font-weight:normal"> ⁃ location</div> |
| rowstyle23 = {{Infobox river/row-style}} | | rowstyle23 = {{Infobox river/row-style}} | ||
| data23 = {{{mouth_location|}}} | | data23 = {{{mouth_location|}}} | ||
| − | | label24 = <div style="display:inline;font-weight:normal"> | + | | label24 = <div style="display:inline;font-weight:normal"> ⁃ coordinates</div> |
| rowstyle24 = {{Infobox river/row-style}} | | rowstyle24 = {{Infobox river/row-style}} | ||
| data24 = {{#if:{{{mouth_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{mouth_coordinates}}}|type:river}}{{{mouth_coord_ref|}}}}} | | data24 = {{#if:{{{mouth_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{mouth_coordinates}}}|type:river}}{{{mouth_coord_ref|}}}}} | ||
| − | | label25 = <div style="display:inline;font-weight:normal"> | + | | label25 = <div style="display:inline;font-weight:normal"> ⁃ elevation</div> |
| rowstyle25 = {{Infobox river/row-style}} | | rowstyle25 = {{Infobox river/row-style}} | ||
| data25 = {{Infobox river/calcunit|free={{{mouth_elevation|}}}|met={{{mouth_elevation_metric|}}}|imp={{{mouth_elevation_imperial|}}}|met_unit=m|imp_unit=ft}} | | data25 = {{Infobox river/calcunit|free={{{mouth_elevation|}}}|met={{{mouth_elevation_metric|}}}|imp={{{mouth_elevation_imperial|}}}|met_unit=m|imp_unit=ft}} | ||
| Line 93: | Line 98: | ||
| rowstyle32 = {{Infobox river/row-style}} | | rowstyle32 = {{Infobox river/row-style}} | ||
| data32 = {{#if:{{{width_min|}}}{{{width_min_metric|}}}{{{width_min_imperial|}}}{{{width_avg|}}}{{{width_avg_metric|}}}{{{width_avg_imperial|}}}{{{width_max|}}}{{{width_min_metric|}}}{{{width_min_imperial|}}}| }} | | data32 = {{#if:{{{width_min|}}}{{{width_min_metric|}}}{{{width_min_imperial|}}}{{{width_avg|}}}{{{width_avg_metric|}}}{{{width_avg_imperial|}}}{{{width_max|}}}{{{width_min_metric|}}}{{{width_min_imperial|}}}| }} | ||
| − | | label33 = <span style="font-weight:normal"> | + | | label33 = <span style="font-weight:normal"> ⁃ minimum</span> |
| rowstyle33 = {{Infobox river/row-style}} | | rowstyle33 = {{Infobox river/row-style}} | ||
| data33 = {{Infobox river/calcunit|free={{{width_min|}}}|met={{{width_min_metric|}}}|imp={{{width_min_imperial|}}}|met_unit=m|imp_unit=yd}} | | data33 = {{Infobox river/calcunit|free={{{width_min|}}}|met={{{width_min_metric|}}}|imp={{{width_min_imperial|}}}|met_unit=m|imp_unit=yd}} | ||
| − | | label34 = <span style="font-weight:normal"> | + | | label34 = <span style="font-weight:normal"> ⁃ average</span> |
| rowstyle34 = {{Infobox river/row-style}} | | rowstyle34 = {{Infobox river/row-style}} | ||
| data34 = {{Infobox river/calcunit|free={{{width_avg|}}}|met={{{width_avg_metric|}}}|imp={{{width_avg_imperial|}}}|met_unit=m|imp_unit=yd}} | | data34 = {{Infobox river/calcunit|free={{{width_avg|}}}|met={{{width_avg_metric|}}}|imp={{{width_avg_imperial|}}}|met_unit=m|imp_unit=yd}} | ||
| − | | label35 = <span style="font-weight:normal"> | + | | label35 = <span style="font-weight:normal"> ⁃ maximum</span> |
| rowstyle35 = {{Infobox river/row-style}} | | rowstyle35 = {{Infobox river/row-style}} | ||
| data35 = {{Infobox river/calcunit|free={{{width_max|}}}|met={{{width_max_metric|}}}|imp={{{width_max_imperial|}}}|met_unit=m|imp_unit=yd}} | | data35 = {{Infobox river/calcunit|free={{{width_max|}}}|met={{{width_max_metric|}}}|imp={{{width_max_imperial|}}}|met_unit=m|imp_unit=yd}} | ||
| Line 105: | Line 110: | ||
| label36 = Depth | | label36 = Depth | ||
| data36 = {{#if:{{{depth_min|}}}{{{depth_avg|}}}{{{depth_max|}}}| }} | | data36 = {{#if:{{{depth_min|}}}{{{depth_avg|}}}{{{depth_max|}}}| }} | ||
| − | | label37 = <span style="font-weight:normal"> | + | | label37 = <span style="font-weight:normal"> ⁃ minimum</span> |
| rowstyle37 = {{Infobox river/row-style}} | | rowstyle37 = {{Infobox river/row-style}} | ||
| data37 = {{{depth_min|}}} | | data37 = {{{depth_min|}}} | ||
| − | | label38 = <span style="font-weight:normal"> | + | | label38 = <span style="font-weight:normal"> ⁃ average</span> |
| rowstyle38 = {{Infobox river/row-style}} | | rowstyle38 = {{Infobox river/row-style}} | ||
| data38 = {{{depth_avg|}}} | | data38 = {{{depth_avg|}}} | ||
| − | | label39 = <span style="font-weight:normal"> | + | | label39 = <span style="font-weight:normal"> ⁃ maximum</span> |
| rowstyle39 = {{Infobox river/row-style}} | | rowstyle39 = {{Infobox river/row-style}} | ||
| data39 = {{{depth_max|}}} | | data39 = {{{depth_max|}}} | ||
| Line 150: | Line 155: | ||
| data61 = {{#if:{{{tributaries_left|}}}{{{tributaries_right|}}}| }} | | data61 = {{#if:{{{tributaries_left|}}}{{{tributaries_right|}}}| }} | ||
| rowstyle61 = {{Infobox river/row-style}} | | rowstyle61 = {{Infobox river/row-style}} | ||
| − | | label62 = <span style="font-weight:normal"> | + | | label62 = <span style="font-weight:normal"> ⁃ left</span> |
| rowstyle62 = {{Infobox river/row-style}} | | rowstyle62 = {{Infobox river/row-style}} | ||
| data62 = {{{tributaries_left|}}} | | data62 = {{{tributaries_left|}}} | ||
| − | | label63 = <span style="font-weight:normal"> | + | | label63 = <span style="font-weight:normal"> ⁃ right</span> |
| rowstyle63 = {{Infobox river/row-style}} | | rowstyle63 = {{Infobox river/row-style}} | ||
| data63 = {{{tributaries_right|}}} | | data63 = {{{tributaries_right|}}} | ||
| Line 174: | Line 179: | ||
| below = {{{extra|}}} | | below = {{{extra|}}} | ||
| − | }} | + | }} |
| − | |||
| − | |||