टेम्पलेट:Infobox river: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
that worked! Fixing new line issue.
Updating the to the new format shown in the sandbox. There is certainly still some work to be done, but this is already a significant improvement. No reason to keep it exclusively in the sandbox.
लाइन 21:
 
| label1 = Native name
| data1 = {{#if:{{{name_native|{{{native_name|}}}}}}|<span class="nickname" {{#if:{{{name_native_lang|}}}|lang="{{{name_native_lang}}}"}}>{{{name_native|{{{native_name}}}}}}</span>}}
 
| label2 = <span style="white-space: nowrap">Other&nbsp; name(s)</span>
| data2 = {{{name_other|}}}
 
| label3 = Etymology
| data3 = {{{etymology|{{{name_etymology|}}}}}}
 
| label4 = {{{subdivision_type1|{{{country_type|Country}}}}}}
| data4 = {{#if:{{{subdivision_type1|}}}subdivision_name1|{{{subdivision_name1country|}}}}}}
 
| label5 = {{{subdivision_type2|{{{state_type|State}}}}}}
| data5 = {{#if:{{{subdivision_type2|}}}subdivision_name2|{{{subdivision_name2state|}}}}}}
 
| label6 = {{{subdivision_type3|{{{region_type|Region}}}}}}
| data6 = {{#if:{{{subdivision_type3|}}}subdivision_name3|{{{subdivision_name3region|}}}}}}
 
| label7 = {{{subdivision_type4|{{{district_type|District}}}}}}
| data7 = {{#if:{{{subdivision_type4|}}}subdivision_name4|{{{subdivision_name4district|}}}}}}
 
| label8 = {{{subdivision_type5|{{{municipality_type|Municipality}}}}}}
| data8 = {{#if:{{{subdivision_type5|}}}subdivision_name5|{{{subdivision_name5municipality|}}}}}}
 
| header9 = {{#if:{{{source1|}}}{{{source1_location|}}}{{{source1_elevation|}}}{{{source1_coordinates|}}}{{{source2|}}}{{{source2_location|}}}{{{source2_elevation|}}}{{{source2_coordinates|}}}{{{source3|}}}{{{source3_location|}}}{{{source3_elevation|}}}{{{source3_coordinates|}}}{{{source4|}}}{{{source4_location|}}}{{{source4_elevation|}}}{{{source4_coordinates|}}}{{{source5|}}}{{{source5_location|}}}{{{source5_elevation|}}}{{{source5_coordinates|}}}{{{mouth|}}}{{{mouth_location|}}}{{{mouth_elevation|}}}{{{mouth_coordinates|}}}{{{length|}}}{{{width_min|}}}{{{width_avg|}}}{{{width_max|}}}{{{depth_min|}}}{{{depth_avg|}}}{{{depth_max|}}}{{{discharge1_location|}}}{{{discharge1_min|}}}{{{discharge1_avg|}}}{{{discharge1_max|}}}|Physical characteristics}}
 
| data10 = {{Infobox river/source|source={{{source1|}}}|loc={{{source1_location|}}}|elev={{{source1_elevation|}}}|coord={{{source1_coordinates|}}}}}
| label10 = Main source
| data10 = {{br separated entries
|1={{{source1|}}}
|2={{{source1_location|}}}
|3={{{source1_elevation|}}}{{#if:{{{source1_elevation|}}}|{{#if:{{isnumeric|{{{source1_elevation}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
|4={{#if:{{{source1_coordinates|}}}| {{#invoke:Coordinates|coordinsert|{{{source1_coordinates}}}|type:river}}{{{source1_coord_ref|}}} }}
}}
 
| data11 = {{Infobox river/source|2nd source|source={{{source2|}}}|loc={{{source2_location|}}}|elev={{{source2_elevation|}}}|coord={{{source2_coordinates|}}}}}
| label11 = 2nd source
| data11 = {{br separated entries
|1={{{source2|}}}
|2={{{source2_location|}}}
|3={{{source2_elevation|}}}{{#if:{{{source2_elevation|}}}|{{#if:{{isnumeric|{{{source2_elevation}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
|4={{#if:{{{source2_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{source2_coordinates}}}|type:river}}{{{source2_coord_ref|}}} }}
}}
 
| data12 = {{Infobox river/source|3rd source|source={{{source3|}}}|loc={{{source3_location|}}}|elev={{{source3_elevation|}}}|coord={{{source3_coordinates|}}}}}
| label12 = 3rd source
| data12 = {{br separated entries
|1={{{source3|}}}
|2={{{source3_location|}}}
|3={{{source3_elevation|}}}{{#if:{{{source3_elevation|}}}|{{#if:{{isnumeric|{{{source3_elevation}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
|4={{#if:{{{source3_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{source3_coordinates}}}|type:river}}{{{source3_coord_ref|}}} }}
}}
 
| data13 = {{Infobox river/source|4th source|source={{{source4|}}}|loc={{{source4_location|}}}|elev={{{source4_elevation|}}}|coord={{{source4_coordinates|}}}}}
| label13 = 4th source
| data13 = {{br separated entries
|1={{{source4|}}}
|2={{{source4_location|}}}
|3={{{source4_elevation|}}}{{#if:{{{source4_elevation|}}}|{{#if:{{isnumeric|{{{source4_elevation}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
|4={{#if:{{{source4_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{source4_coordinates}}}|type:river}}{{{source4_coord_ref|}}} }}
}}
 
| data14 = {{Infobox river/source|5th source|source={{{source5|}}}|loc={{{source5_location|}}}|elev={{{source5_elevation|}}}|coord={{{source5_coordinates|}}}}}
| label14 = 5th source
| data14 = {{br separated entries
|1={{{source5|}}}
|2={{{source5_location|}}}
|3={{{source5_elevation|}}}{{#if:{{{source5_elevation|}}}|{{#if:{{isnumeric|{{{source5_elevation}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
|4={{#if:{{{source5_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{source5_coordinates}}}|type:river}}{{{source5_coord_ref|}}} }}
}}
 
| label15 = [[River mouth]]
| data15 = {{#if:{{{mouth|}}}|{{{mouth}}}|{{#if:{{{mouth_location|}}}{{{mouth_coordinates|}}}{{{mouth_elevation|}}}{{{mouth_elevation_metric|}}}{{{mouth_elevation_imperial|}}}|&nbsp;}}}}
| data15 = {{br separated entries
| label16 = <span style="font-weight:normal">&nbsp;-&nbsp;location</span>
|1={{{mouth|}}}
| data16 |2= {{{mouth_location|}}}
| label17 = <span style="font-weight:normal">&nbsp;-&nbsp;coordinates</span>
|3={{{mouth_elevation|}}}{{#if:{{{mouth_elevation|}}}|{{#if:{{isnumeric|{{{mouth_elevation}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
| data17 |4= {{#if:{{{mouth_coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{mouth_coordinates}}}|type:river}}{{{mouth_coord_ref|}}} }}
| label18 = <span style="font-weight:normal">&nbsp;-&nbsp;elevation</span>
}}
| data18 = {{Infobox river/calcunit|free={{{mouth_elevation|}}}|met={{{mouth_elevation_metric|}}}|imp={{{mouth_elevation_imperial|}}}|met_unit=m|imp_unit=ft}}
 
| label16label19 = Length
| data16data19 = {{{lengthInfobox river/calcunit|}}}{{#if:free={{{length|}}}|met={{#if:{{isnumericlength_metric|{{{length}}}}}|imp={{main other|&nbsp;{{errorlength_imperial|units?}}}}}} }}
 
| label17label20 = Width
| data17data20 = {{#if:{{{width_min|}}}{{{width_min_metric|}}}{{{width_min_imperial|}}}{{{width_avg|}}}{{{width_maxwidth_avg_metric|}}}{{{width_avg_imperial|}}}{{plainlist{width_max|}}}{{#if:{width_min_metric|}}}{{width_min{width_min_imperial|}}}|&nbsp;}}
| label21 = <span style="font-weight:normal">&nbsp;-&nbsp;minimum</span>
* '''Minimum width:'''<br>{{{width_min|}}}{{#if:{{isnumeric|{{{width_min}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{width_avg|}}}|
| data21 = {{Infobox river/calcunit|free={{{width_min|}}}|met={{{width_min_metric|}}}|imp={{{width_min_imperial|}}}|met_unit=m|imp_unit=yd}}
* '''Average width:'''<br>{{{width_avg|}}}{{#if:{{isnumeric|{{{width_avg}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{width_max|}}}|
| label22 = <span style="font-weight:normal">&nbsp;-&nbsp;average</span>
* '''Maximum width:'''<br>{{{width_max|}}}{{#if:{{isnumeric|{{{width_max}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}}}
| data22 = {{Infobox river/calcunit|free={{{width_avg|}}}|met={{{width_avg_metric|}}}|imp={{{width_avg_imperial|}}}|met_unit=m|imp_unit=yd}}
}}
| label23 = <span style="font-weight:normal">&nbsp;-&nbsp;maximum</span>
| data23 = {{Infobox river/calcunit|free={{{width_max|}}}|met={{{width_max_metric|}}}|imp={{{width_max_imperial|}}}|met_unit=m|imp_unit=yd}}
 
| label18label24 = Depth
| data18data24 = {{#if:{{{depth_min|}}}{{{depth_avg|}}}{{{depth_max|}}}|{{plainlist|{{#if:{{{depth_min|&nbsp;}}}|
| label25 = <span style="font-weight:normal">&nbsp;-&nbsp;minimum</span>
* '''Minimum depth:'''<br>{{{depth_min|}}}{{#if:{{isnumeric|{{{depth_min}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{depth_avg|}}}|
| data25 = {{{depth_min|}}}
* '''Average depth:'''<br>{{{depth_avg|}}}{{#if:{{isnumeric|{{{depth_avg}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{depth_max|}}}|
| label26 = <span style="font-weight:normal">&nbsp;-&nbsp;average</span>
* '''Maximum depth:'''<br>{{{depth_max|}}}{{#if:{{isnumeric|{{{depth_max}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}}}
| data26 = {{{depth_avg|}}}
}}
| label27 = <span style="font-weight:normal">&nbsp;-&nbsp;maximum</span>
| data27 = {{{depth_max|}}}
 
| data28 = {{Infobox river/discharge|discharge={{{discharge1|}}}|loc={{{discharge1_location|}}}
| label19 = Discharge
| data19 min= {{#if:{{{discharge1_locationInfobox river/calcunit|}}}free={{{discharge1_min|}}}|met={{{discharge1_avgdischarge1_min_metric|}}}|imp={{{discharge1_maxdischarge1_min_imperial|}}}|{{plainlist|{{#if:{{{discharge1_locationmet_unit=m3/s|imp_unit=cuft/s}}}|
|avg={{Infobox river/calcunit|free={{{discharge1_avg|}}}|met={{{discharge1_avg_metric|}}}|imp={{{discharge1_avg_imperial|}}}|met_unit=m3/s|imp_unit=cuft/s}}
* '''Location:'''<br>{{{discharge1_location|}}}}}{{#if:{{{discharge1_min|}}}|
|max={{Infobox river/calcunit|free={{{discharge1_max|}}}|met={{{discharge1_max_metric|}}}|imp={{{discharge1_max_imperial|}}}|met_unit=m3/s|imp_unit=cuft/s}}
* '''Minimum rate:'''<br>{{{discharge1_min|}}}{{#if:{{isnumeric|{{{discharge1_min}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge1_avg|}}}|
* '''Average rate:'''<br>{{{discharge1_avg|}}}{{#if:{{isnumeric|{{{discharge1_avg}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge1_max|}}}|
* '''Maximum rate:'''<br>{{{discharge1_max|}}}{{#if:{{isnumeric|{{{discharge1_max}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}}}
}}
 
| data29 = {{Infobox river/discharge|discharge={{{discharge2|}}}|loc={{{discharge2_location|}}}|min={{{discharge2_min|}}}|avg={{{discharge2_avg|}}}|max={{{discharge2_max|}}}}}
| label20 = Discharge<br>(location 2)
| data20 = {{#if:{{{discharge2_location|}}}{{{discharge2_min|}}}{{{discharge2_avg|}}}{{{discharge2_max|}}}|{{plainlist|{{#if:{{{discharge2_location|}}}|
* '''Location:'''<br>{{{discharge2_location|}}}}}{{#if:{{{discharge2_min|}}}|
* '''Minimum rate:'''<br>{{{discharge2_min|}}}{{#if:{{isnumeric|{{{discharge2_min}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge2_avg|}}}|
* '''Average rate:'''<br>{{{discharge2_avg|}}}{{#if:{{isnumeric|{{{discharge2_avg}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge2_max|}}}|
* '''Maximum rate:'''<br>{{{discharge2_max|}}}{{#if:{{isnumeric|{{{discharge2_max}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}}}
}}
 
| data30 = {{Infobox river/discharge|discharge={{{discharge3|}}}|loc={{{discharge3_location|}}}|min={{{discharge3_min|}}}|avg={{{discharge3_avg|}}}|max={{{discharge3_max|}}}}}
| label21 = Discharge<br>(location 3)
| data21 = {{#if:{{{discharge3_location|}}}{{{discharge3_min|}}}{{{discharge3_avg|}}}{{{discharge3_max|}}}|{{plainlist|{{#if:{{{discharge3_location|}}}|
* '''Location:'''<br>{{{discharge3_location|}}}}}{{#if:{{{discharge3_min|}}}|
* '''Minimum rate:'''<br>{{{discharge3_min|}}}{{#if:{{isnumeric|{{{discharge3_min}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge3_avg|}}}|
* '''Average rate:'''<br>{{{discharge3_avg|}}}{{#if:{{isnumeric|{{{discharge3_avg}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge3_max|}}}|
* '''Maximum rate:'''<br>{{{discharge3_max|}}}{{#if:{{isnumeric|{{{discharge3_max}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}}}
}}
 
| data31 = {{Infobox river/discharge|discharge={{{discharge4|}}}|loc={{{discharge4_location|}}}|min={{{discharge4_min|}}}|avg={{{discharge4_avg|}}}|max={{{discharge4_max|}}}}}
| label22 = Discharge<br>(location 4)
| data22 = {{#if:{{{discharge4_location|}}}{{{discharge4_min|}}}{{{discharge4_avg|}}}{{{discharge4_max|}}}|{{plainlist|{{#if:{{{discharge4_location|}}}|
* '''Location:'''<br>{{{discharge4_location|}}}}}{{#if:{{{discharge4_min|}}}|
* '''Minimum rate:'''<br>{{{discharge4_min|}}}{{#if:{{isnumeric|{{{discharge4_min}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge4_avg|}}}|
* '''Average rate:'''<br>{{{discharge4_avg|}}}{{#if:{{isnumeric|{{{discharge4_avg}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge4_max|}}}|
* '''Maximum rate:'''<br>{{{discharge4_max|}}}{{#if:{{isnumeric|{{{discharge4_max}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}}}
}}
 
| data32 = {{Infobox river/discharge|discharge={{{discharge5|}}}|loc={{{discharge5_location|}}}|min={{{discharge5_min|}}}|avg={{{discharge5_avg|}}}|max={{{discharge5_max|}}}}}
| label23 = Discharge<br>(location 5)
 
| data23 = {{#if:{{{discharge5_location|}}}{{{discharge5_min|}}}{{{discharge5_avg|}}}{{{discharge5_max|}}}|{{plainlist|{{#if:{{{discharge5_location|}}}|
| header33 = {{#if:{{{progression|}}}{{{river_system|}}}{{{basin_size|}}}{{{basin_landmarks|}}}{{{basin_population|}}}{{{tributaries_left|}}}{{{tributaries_right|}}}{{{waterbodies|}}}{{{waterfalls|}}}{{{bridges|}}}{{{ports|}}}{{{custom_data|}}}|Basin features}}
* '''Location:'''<br>{{{discharge5_location|}}}}}{{#if:{{{discharge5_min|}}}|
* '''Minimum rate:'''<br>{{{discharge5_min|}}}{{#if:{{isnumeric|{{{discharge5_min}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge5_avg|}}}|
* '''Average rate:'''<br>{{{discharge5_avg|}}}{{#if:{{isnumeric|{{{discharge5_avg}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}{{#if:{{{discharge5_max|}}}|
* '''Maximum rate:'''<br>{{{discharge5_max|}}}{{#if:{{isnumeric|{{{discharge5_max}}}}}|{{main other|&nbsp;{{error|units?}}}}}}}}}}
}}
 
| label34 = Progression
| header24 = {{#if:{{{progression|}}}{{{river_system|}}}{{{basin_size|}}}{{{basin_landmarks|}}}{{{basin_population|}}}{{{tributaries_left|}}}{{{tributaries_right|}}}{{{waterbodies|}}}{{{waterfalls|}}}{{{bridges|}}}{{{ports|}}}{{{custom_data|}}}|Basin features}}
| data34 = {{{progression|}}}
 
| label35 = {{nowrap|[[Drainage basin|River system]]}}
| label25 = Progression
| data25data35 = {{{progressionriver_system|{{{parent|}}}}}}
 
| label36 = Basin size
| label26 = [[Drainage basin|River system]]
| data36 = {{{basin_size|}}}{{#if:{{{basin_size|}}}|{{#if:{{isnumeric|{{{basin_size}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
| data26 = {{{river_system|}}}
 
| label27label37 = Basin sizeLandmarks
| data37 = {{{basin_landmarks|{{{landmark|}}}}}}
| data27 = {{{basin_size|}}}{{#if:{{{basin_size|}}}|{{#if:{{isnumeric|{{{basin_size}}}}}|{{main other|&nbsp;{{error|units?}}}}}} }}
 
| label28label38 = LandmarksCities
| data28data38 = {{{basin_landmarkscities|{{{city|}}}}}}
 
| label29label39 = Population
| data29data39 = {{{basin_population|}}}
 
| label30label40 = Tributaries
| data30data40 = {{#if:{{{tributaries_left|}}}{{{tributaries_right|}}}|{{plainlist|&nbsp;}}
| label41 = <span style="font-weight:normal">&nbsp;-&nbsp;left</span>
{{#if:{{{tributaries_left|}}}|
*| data41 = '''Left:'''<br>{{{tributaries_left|}}}
| label42 = <span style="font-weight:normal">&nbsp;-&nbsp;right</span>
}}{{#if:{{{tributaries_right|}}}|
*| data42 = '''Right:'''<br>{{{tributaries_right|}}}
}} }} }}
 
| label31label43 = Waterbodies
| data31data43 = {{{waterbodies|}}}
 
| label32label44 = Waterfalls
| data32data44 = {{{waterfalls|}}}
 
| label33label45 = Bridges
| data33data45 = {{{bridges|}}}
 
| label34label46 = [[Inland port]]s
| data34data46 = {{{ports|}}}
 
| label35label47 = {{{custom_label|}}}
| data35data47 = {{{custom_data|}}}
 
| below = {{{extra|}}}
 
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox river with unsupported parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox river]] with unknown parameter "_VALUE_"|ignoreblank=y
| basin_landmarks | basin_population | basin_size | bridges | city | country | country_type | custom_data | custom_label | depth_avg | depth_max | depth_min | discharge1 | discharge2 | discharge3 | discharge4 | discharge5 | discharge1_avg | discharge1_location | discharge1_max | discharge1_min | discharge2_avg | discharge2_location | discharge2_max | discharge2_min | discharge3_avg | discharge3_location | discharge3_max | discharge3_min | discharge4_avg | discharge4_location | discharge4_max | discharge4_min | discharge5_avg | discharge5_location | discharge5_max | discharge5_min | district | district_type | embed | etymology | extra | image | image_alt | image_caption | image_size | landmark | length | length_metric | length_imperial | map | map_alt | map_caption | map_size | mouth | mouth_coord_ref | mouth_coordinates | mouth_elevation | mouth_elevation_metric | mouth_elevation_imperial | mouth_location | municipality | municipality_type | name | name_etymology | name_native | name_native_lang | name_other | native_name | parent | ports | progression | pushpin_map | pushpin_map_alt | pushpin_map_caption | pushpin_map_size | pushpin_mapsize | pushpin_relief | region | region_type | river_system | source1 | source1_coord_ref | source1_coordinates | source1_elevation | source1_location | source2 | source2_coord_ref | source2_coordinates | source2_elevation | source2_location | source3 | source3_coord_ref | source3_coordinates | source3_elevation | source3_location | source4 | source4_coord_ref | source4_coordinates | source4_elevation | source4_location | source5 | source5_coord_ref | source5_coordinates | source5_elevation | 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 | tributaries_left | tributaries_right | waterbodies | waterfalls | width_avg | width_avg_metric | width_avg_imperial | width_max | width_max_metric | width_max_imperial | width_min_metric | width_min_imperial | width_min
}}<noinclude>
{{Documentation}}
</noinclude>