Difference between revisions of "Template:Infobox river/sandbox"

From blackwiki
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       = {{#ifeq:{{{map|}}}|no|<!-- -->|{{Infobox mapframe
+
| image2     = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|}}}|sizedefault=frameless|alt={{{map_alt|}}}}}
                  |id                    = {{{qid|}}}
+
| caption2  = {{{map_caption|}}}
                  |coord                = {{{coordinates|}}}
+
 
                  |frame-width          = {{Digits|1={{#if:{{{map_size|}}}|{{{map_size|}}}|300px}}}}
+
| image3    = {{#if:{{both|{{{pushpin_map|}}}|{{{mouth_coordinates|}}}{{#property:P625}}}}|{{location map|{{{pushpin_map}}}
                  }}}}
+
              |border      =infobox
| caption2     = {{#ifeq:{{{location_map|}}}|no|<!-- -->|{{#if:{{{coordinates|}}}{{#property:P625}}|{{{location_map_caption|}}}}}}}
+
              |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/sandbox|source={{{source1|}}}|loc={{{source1_location|}}}|elev={{{source1_elevation|}}}|coord={{{source1_coordinates|}}}|len={{{source1_length|}}}|coord_ref={{{source1_coord_ref|}}}}}
+
| 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/sandbox|2nd source|source={{{source2|}}}|loc={{{source2_location|}}}|elev={{{source2_elevation|}}}|coord={{{source2_coordinates|}}}|len={{{source2_length|}}}|coord_ref={{{source2_coord_ref|}}}}}
+
| 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/sandbox|3rd source|source={{{source3|}}}|loc={{{source3_location|}}}|elev={{{source3_elevation|}}}|coord={{{source3_coordinates|}}}|len={{{source3_length|}}}|coord_ref={{{source3_coord_ref|}}}}}
+
| 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/sandbox|4th source|source={{{source4|}}}|loc={{{source4_location|}}}|elev={{{source4_elevation|}}}|coord={{{source4_coordinates|}}}|len={{{source4_length|}}}|coord_ref={{{source4_coord_ref|}}}}}
+
| 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/sandbox|5th source|source={{{source5|}}}|loc={{{source5_location|}}}|elev={{{source5_elevation|}}}|coord={{{source5_coordinates|}}}|len={{{source5_length|}}}|coord_ref={{{source5_coord_ref|}}}}}
+
| 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/sandbox|Source confluence|source={{{source_confluence|}}}|loc={{{source_confluence_location|}}}|elev={{{source_confluence_elevation|}}}|coord={{{source_confluence_coordinates|}}}|coord_ref={{{source_confluence_coord_ref|}}}}}
+
| 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|}}}|&nbsp;}}}}
 
| data22    = {{#if:{{{mouth|}}}|{{{mouth}}}|{{#if:{{{mouth_location|}}}{{{mouth_coordinates|}}}{{{mouth_elevation|}}}{{{mouth_elevation_metric|}}}{{{mouth_elevation_imperial|}}}|&nbsp;}}}}
| label23    = <div style="display:inline;font-weight:normal">&nbsp;-&nbsp;location</div>
+
| label23    = <div style="display:inline;font-weight:normal">&nbsp;&#8259;&nbsp;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">&nbsp;-&nbsp;coordinates</div>
+
| label24    = <div style="display:inline;font-weight:normal">&nbsp;&#8259;&nbsp;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">&nbsp;-&nbsp;elevation</div>
+
| label25    = <div style="display:inline;font-weight:normal">&nbsp;&#8259;&nbsp;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|}}}|&nbsp;}}
 
| 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|}}}|&nbsp;}}
| label33    = <span style="font-weight:normal">&nbsp;-&nbsp;minimum</span>
+
| label33    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;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">&nbsp;-&nbsp;average</span>
+
| label34    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;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">&nbsp;-&nbsp;maximum</span>
+
| label35    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;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|}}}|&nbsp;}}
 
| data36    = {{#if:{{{depth_min|}}}{{{depth_avg|}}}{{{depth_max|}}}|&nbsp;}}
| label37    = <span style="font-weight:normal">&nbsp;-&nbsp;minimum</span>
+
| label37    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;minimum</span>
 
| rowstyle37 = {{Infobox river/row-style}}
 
| rowstyle37 = {{Infobox river/row-style}}
 
| data37    = {{{depth_min|}}}
 
| data37    = {{{depth_min|}}}
| label38    = <span style="font-weight:normal">&nbsp;-&nbsp;average</span>
+
| label38    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;average</span>
 
| rowstyle38 = {{Infobox river/row-style}}
 
| rowstyle38 = {{Infobox river/row-style}}
 
| data38    = {{{depth_avg|}}}
 
| data38    = {{{depth_avg|}}}
| label39    = <span style="font-weight:normal">&nbsp;-&nbsp;maximum</span>
+
| label39    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;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|}}}|&nbsp;}}
 
| data61    = {{#if:{{{tributaries_left|}}}{{{tributaries_right|}}}|&nbsp;}}
 
| rowstyle61 = {{Infobox river/row-style}}
 
| rowstyle61 = {{Infobox river/row-style}}
| label62    = <span style="font-weight:normal">&nbsp;-&nbsp;left</span>
+
| label62    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;left</span>
 
| rowstyle62 = {{Infobox river/row-style}}
 
| rowstyle62 = {{Infobox river/row-style}}
 
| data62    = {{{tributaries_left|}}}
 
| data62    = {{{tributaries_left|}}}
| label63    = <span style="font-weight:normal">&nbsp;-&nbsp;right</span>
+
| label63    = <span style="font-weight:normal">&nbsp;&#8259;&nbsp;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|}}}
  
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox river with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox river]] with unknown parameter "_VALUE_"|ignoreblank=y| basin_landmarks | basin_population | basin_size | bridges | cities | city | country | country_type | custom_data | custom_label | depth_avg | depth_max | depth_min | discharge1 | discharge1_avg | discharge1_avg_imperial | discharge1_avg_metric | discharge1_location | discharge1_max | discharge1_max_imperial | discharge1_max_metric | discharge1_min | discharge1_min_imperial | discharge1_min_metric | discharge2 | discharge2_avg | discharge2_location | discharge2_max | discharge2_min | discharge3 | discharge3_avg | discharge3_location | discharge3_max | discharge3_min | discharge4 | discharge4_avg | discharge4_location | discharge4_max | discharge4_min | discharge5 | discharge5_avg | discharge5_location | discharge5_max | discharge5_min | district | district_type | embed | etymology | extra | fetchwikidata | image | image_alt | image_caption | image_size | image_upright | landmark | length | length_imperial | length_metric | map | map_alt | map_caption | map_size | mouth | mouth_coord_ref | mouth_coordinates | mouth_elevation | mouth_elevation_imperial | mouth_elevation_metric | mouth_location | municipality | municipality_type | name | name_etymology | name_native | name_native_lang | name_other | native_name | nickname | other_name | parent | ports | progression | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_map_relief | pushpin_map_size | qid | region | region_type | river_system | source_confluence | source_confluence_coord_ref | source_confluence_coordinates | source_confluence_elevation | source_confluence_location | source1 | source1_coord_ref | source1_coordinates | source1_elevation | source1_length | source1_location | source2 | source2_coord_ref | source2_coordinates | source2_elevation | source2_length | source2_location | source3 | source3_coord_ref | source3_coordinates | source3_elevation | source3_length | source3_location | source4 | source4_coord_ref | source4_coordinates | source4_elevation | source4_length | source4_location | source5 | source5_coord_ref | source5_coordinates | source5_elevation | source5_length | source5_location | state | state_type | subdivision_name1 | subdivision_name2 | subdivision_name3 | subdivision_name4 | subdivision_name5 | subdivision_type1 | subdivision_type2 | subdivision_type3 | subdivision_type4 | subdivision_type5 | suppressfields | tributaries_left | tributaries_right | waterbodies | waterfalls | width_avg | width_avg_imperial | width_avg_metric | width_max | width_max_imperial | width_max_metric | width_min | width_min_imperial | width_min_metric }}<noinclude>
+
}}
{{Documentation}}
 
</noinclude>
 

Revision as of 10:37, 9 March 2020