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

From blackwiki
Jump to navigation Jump to search
imported>Zackmann08
(adding 3rd testcase)
imported>Jonesey95
m (Fix empty citation, unnamed or unsupported parameter, or invalid parameter value using AutoEd; see Help:CS1 errors)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Testcases notice <!--|toc=on-->}}
 
{{Testcases notice <!--|toc=on-->}}
 
+
== Test 1==
{{Testcase table|
+
{{Testcase table
| _template3 = Infobox river/sandbox2
+
| name               = Amazon River (dummy data)
| name               = Amazon River (dummy data)
+
| name_native         = Amazonia
| name_native       = Amazonia
+
| name_native_lang   =  
| name_native_lang   =  
+
| name_other         = Apurímac, Ene, Tambo, Ucayali, Amazonas, Solimões
| name_other         = Apurímac, Ene, Tambo, Ucayali, Amazonas, Solimões
+
| etymology           = (to be discussed)
| etymology         = (to be discussed)
+
| image               = Aerial view of the Amazon Rainforest.jpg
| image             = Aerial view of the Amazon Rainforest.jpg
+
| image_size         = 300px
| image_size         = 300px
+
| image_caption       = Aerial view of the Amazon River
| image_caption     = Aerial view of the Amazon River
+
| image_alt           = Alt text for image
| image_alt         = Alt text for image
+
| map                 = Amazonrivermap.svg
| map               = Amazonrivermap.svg
+
| map_size           = 300px
| map_size           = 300px
+
| map_caption         = Map of the Amazon basin
| map_caption       = Map of the Amazon basin
+
| map_alt             = Alt text for map
| map_alt           = Alt text for map
+
| subdivision_type1   = Countries
| subdivision_type1 = Countries
+
| subdivision_name1   = [[Brazil]], [[Colombia]], [[Peru]], [[Ecuador]]
| subdivision_name1 = [[Brazil]], [[Colombia]], [[Peru]], [[Ecuador]]
+
| subdivision_type2   = States
| subdivision_type2 = States
+
| subdivision_name2   = [[Loreto Region|Loreto]] (Peru);<br />[[Amazonas Department|Amazonas]] (Columbia);<br />[[North Region, Brazil|North Region]] (Brazil)
| subdivision_name2 = [[Loreto Region|Loreto]] (Peru);<br />[[Amazonas Department|Amazonas]] (Columbia);<br />[[North Region, Brazil|North Region]] (Brazil)
+
| subdivision_type3   = Cities
| subdivision_type3 = Cities
+
| subdivision_name3   = [[Iquitos]] (Peru); [[Leticia, Amazonas|Leticia]] (Colombia);<br /> [[Tabatinga]] (Brazil); [[Tefé]] (Brazil);<br /> [[Itacoatiara, Amazonas|Itacoatiara]] (Brazil); [[Parintins]] (Brazil);<br /> [[Óbidos, Pará|Óbidos]] (Brazil); [[Santarém, Pará|Santarém]] (Brazil);<br /> [[Almeirim, Pará|Almeirim]] (Brazil); [[Macapá]] (Brazil)
| subdivision_name3 = [[Iquitos]] (Peru); [[Leticia, Amazonas|Leticia]] (Colombia);<br /> [[Tabatinga]] (Brazil); [[Tefé]] (Brazil);<br /> [[Itacoatiara, Amazonas|Itacoatiara]] (Brazil); [[Parintins]] (Brazil);<br /> [[Óbidos, Pará|Óbidos]] (Brazil); [[Santarém, Pará|Santarém]] (Brazil);<br /> [[Almeirim, Pará|Almeirim]] (Brazil); [[Macapá]] (Brazil)
 
 
<!---------------------- BASIN -->
 
<!---------------------- BASIN -->
| source1_location   = [[Nevado Mismi]], [[Peru]]
+
| source1            = Name of source 1
 +
| source1_location   = [[Nevado Mismi]], [[Peru]]
 
| source1_coordinates = {{coord|15|31|05|S|71|45|55|W|region:PE}}
 
| source1_coordinates = {{coord|15|31|05|S|71|45|55|W|region:PE}}
| source1_elevation = {{Convert|5170|m|ft|abbr=on}}
+
| source1_elevation   = {{Convert|5170|m|ft|abbr=on}}
| source2_location   = Source 2 test
+
| source2            = Name of source 2
 +
| source2_location   = Source 2 location
 
| source2_coordinates = {{coord|1|2|5|S|1|2|3|W|region:PE}}
 
| source2_coordinates = {{coord|1|2|5|S|1|2|3|W|region:PE}}
| source2_elevation = {{Convert|1234|m|ft|abbr=on}}
+
| source2_elevation   = {{Convert|1234|m|ft|abbr=on}}
 
+
| source_confluence  = River1 & River 2
| mouth_location     = [[Atlantic Ocean]]
+
| source_confluence_location = Some location
| mouth_coordinates = {{coord|00|42|28|S|50|05|22|W|region:BR}}
+
| source_confluence_coordinates = {{coord|1|5|6|S|1|9|9|W|region:PE}}
| mouth_elevation   = {{Convert|0|m|ft|abbr=on}}
+
| source_confluence_elevation  = {{Convert|9999|m|ft|abbr=on}}
| progression       = [[Apurímac River|Apurímac]]—[[Solimões River|Solimões]]—[[Marañón River|Marañón]]
+
| mouth              = Name of River Mouth
| river_system       = [[Amazon Basin]]
+
| mouth_location     = [[Atlantic Ocean]]
| basin_size         = {{Convert|7050000|km2|mi2|abbr=on}}
+
| mouth_coordinates   = {{coord|00|42|28|S|50|05|22|W|region:BR}}
| basin_landmarks   = [[Arena da Amazônia|Amazon Arena]]
+
| mouth_elevation     = {{Convert|0|m|ft|abbr=on}}
| basin_population   = 1,234,567
+
| progression         = [[Apurímac River|Apurímac]]—[[Solimões River|Solimões]]—[[Marañón River|Marañón]]
 +
| river_system       = [[Amazon Basin]]
 +
| basin_size         = {{Convert|7050000|km2|mi2|abbr=on}}
 +
| basin_landmarks     = [[Arena da Amazônia|Amazon Arena]]
 +
| basin_population   = 1,234,567
 
<!---------------------- PHYSICAL CHARACTERISTICS -->
 
<!---------------------- PHYSICAL CHARACTERISTICS -->
| length             = {{Convert|6992|km|mi|abbr=on}}
+
| length             = {{Convert|6992|km|mi|abbr=on}}
| width_min         = {{Convert|4|km|mi|abbr=on}}
+
| width_min           = {{Convert|4|km|mi|abbr=on}}
| width_avg         = {{Convert|6|km|mi|abbr=on}}
+
| width_avg           = {{Convert|6|km|mi|abbr=on}}
| width_max         = {{Convert|8|km|mi|abbr=on}}
+
| width_max           = {{Convert|8|km|mi|abbr=on}}
| depth_min         = {{Convert|3|m|ft|abbr=on}}
+
| depth_min           = {{Convert|3|m|ft|abbr=on}}
| depth_avg         = {{Convert|15|m|ft|abbr=on}}
+
| depth_avg           = {{Convert|15|m|ft|abbr=on}}
| depth_max         = {{Convert|30|m|ft|abbr=on}}
+
| depth_max           = {{Convert|30|m|ft|abbr=on}}
| discharge1_location= [[Santarém, Pará]]
+
| discharge1          = Some River
| discharge1_min     = {{Convert|109000|m3/s|ft3/s|abbr=on}}
+
| discharge1_location = [[Santarém, Pará]]
| discharge1_avg     = {{Convert|209000|m3/s|ft3/s|abbr=on}}
+
| discharge1_min     = {{Convert|109000|m3/s|ft3/s|abbr=on}}
| discharge1_max     = {{Convert|309000|m3/s|ft3/s|abbr=on}}
+
| discharge1_avg     = {{Convert|209000|m3/s|ft3/s|abbr=on}}
 +
| discharge1_max     = {{Convert|309000|m3/s|ft3/s|abbr=on}}
 
<!---------------------- FEATURES -->
 
<!---------------------- FEATURES -->
| tributaries_left   = {{hlist|[[Marañón River|Marañón]]|[[Japurá River|Japurá]]|[[Rio Negro (Amazon)|Rio Negro]]|[[Putumayo River|Putumayo]]}}
+
| tributaries_left   = {{hlist|[[Marañón River|Marañón]]|[[Japurá River|Japurá]]|[[Rio Negro (Amazon)|Rio Negro]]|[[Putumayo River|Putumayo]]}}
| tributaries_right = {{hlist|[[Ucayali River|Ucayali]]|[[Purus River|Purus]]|[[Madeira River|Madeira]]|[[Tapajós]]|[[Xingu River|Xingu]]}}
+
| tributaries_right   = {{hlist|[[Ucayali River|Ucayali]]|[[Purus River|Purus]]|[[Madeira River|Madeira]]|[[Tapajós]]|[[Xingu River|Xingu]]}}
| waterbodies       = [[Lawriqucha|Lake Lawriqucha]]
+
| waterbodies         = [[Lawriqucha|Lake Lawriqucha]]
| waterfalls         = [[Noel Kempff Mercado National Park|Ahlfeld Waterfall]]
+
| waterfalls         = [[Noel Kempff Mercado National Park|Ahlfeld Waterfall]]
| bridges           = [[Manaus–Iranduba Bridge]]
+
| bridges             = [[Manaus–Iranduba Bridge]]
| ports             = [[Port of Manaus]]
+
| ports               = [[Port of Manaus]]
| custom_label       = '''''Custom label'''''
+
| custom_label       = '''''Custom label'''''
| custom_data       = ''Custom data''
+
| custom_data         = ''Custom data''
| extra             = ''(optional content at the bottom - centred)''
+
| extra               = ''(optional content at the bottom - centred)''
 
}}
 
}}
 
+
==Test 2==
 
+
{{Testcase table
{{Testcase table|
+
| name               = Amazon River (dummy data)
 
+
| name_native         = Amazonia
 
+
| name_native_lang   =  
| name               = Amazon River (dummy data)
+
| name_other         = Apurímac, Ene, Tambo, Ucayali, Amazonas, Solimões
| name_native       = Amazonia
+
| etymology           = (to be discussed)
| name_native_lang   =  
+
| image               = Aerial view of the Amazon Rainforest.jpg
| name_other         = Apurímac, Ene, Tambo, Ucayali, Amazonas, Solimões
+
| image_size         = 300px
| etymology         = (to be discussed)
+
| image_caption       = Aerial view of the Amazon River
| image             = Aerial view of the Amazon Rainforest.jpg
+
| image_alt           = Alt text for image
| image_size         = 300px
+
| map                 = Amazonrivermap.svg
| image_caption     = Aerial view of the Amazon River
+
| map_size           = 300px
| image_alt         = Alt text for image
+
| map_caption         = Map of the Amazon basin
| map               = Amazonrivermap.svg
+
| map_alt             = Alt text for map
| map_size           = 300px
+
| subdivision_type1   = Countries
| map_caption       = Map of the Amazon basin
+
| subdivision_name1   = [[Brazil]], [[Colombia]], [[Peru]], [[Ecuador]]
| map_alt           = Alt text for map
+
| subdivision_type2   = States
| subdivision_type1 = Countries
+
| subdivision_name2   = [[Loreto Region|Loreto]] (Peru);<br />[[Amazonas Department|Amazonas]] (Columbia);<br />[[North Region, Brazil|North Region]] (Brazil)
| subdivision_name1 = [[Brazil]], [[Colombia]], [[Peru]], [[Ecuador]]
+
| subdivision_type3   = Cities
| subdivision_type2 = States
+
| subdivision_name3   = [[Iquitos]] (Peru); [[Leticia, Amazonas|Leticia]] (Colombia);<br /> [[Tabatinga]] (Brazil); [[Tefé]] (Brazil);<br /> [[Itacoatiara, Amazonas|Itacoatiara]] (Brazil); [[Parintins]] (Brazil);<br /> [[Óbidos, Pará|Óbidos]] (Brazil); [[Santarém, Pará|Santarém]] (Brazil);<br /> [[Almeirim, Pará|Almeirim]] (Brazil); [[Macapá]] (Brazil)
| subdivision_name2 = [[Loreto Region|Loreto]] (Peru);<br />[[Amazonas Department|Amazonas]] (Columbia);<br />[[North Region, Brazil|North Region]] (Brazil)
 
| subdivision_type3 = Cities
 
| subdivision_name3 = [[Iquitos]] (Peru); [[Leticia, Amazonas|Leticia]] (Colombia);<br /> [[Tabatinga]] (Brazil); [[Tefé]] (Brazil);<br /> [[Itacoatiara, Amazonas|Itacoatiara]] (Brazil); [[Parintins]] (Brazil);<br /> [[Óbidos, Pará|Óbidos]] (Brazil); [[Santarém, Pará|Santarém]] (Brazil);<br /> [[Almeirim, Pará|Almeirim]] (Brazil); [[Macapá]] (Brazil)
 
 
<!---------------------- BASIN -->
 
<!---------------------- BASIN -->
| source1_location   = [[Nevado Mismi]], [[Peru]]
+
| source1            = Name of source 1
 +
| source1_location   = [[Nevado Mismi]], [[Peru]]
 
| source1_coordinates = {{coord|15|31|05|S|71|45|55|W}}
 
| source1_coordinates = {{coord|15|31|05|S|71|45|55|W}}
| source1_elevation = {{Convert|5170|m|ft|abbr=on}}
+
| source1_elevation   = {{Convert|5170|m|ft|abbr=on}}
| mouth_location     = [[Atlantic Ocean]]
+
| mouth_location     = [[Atlantic Ocean]]
| mouth_coordinates = {{coord|00|42|28|S|50|05|22|W}}
+
| mouth_coordinates   = {{coord|00|42|28|S|50|05|22|W}}
| mouth_elevation   = {{Convert|0|m|ft|abbr=on}}
+
| mouth_elevation     = {{Convert|0|m|ft|abbr=on}}
| altitude_difference= {{Convert|1234|m|ft|abbr=on}}
+
| progression         = [[Apurímac River|Apurímac]]—[[Solimões River|Solimões]]—[[Marañón River|Marañón]]
| progression       = [[Apurímac River|Apurímac]]—[[Solimões River|Solimões]]—[[Marañón River|Marañón]]
+
| river_system       = [[Amazon Basin]]
| river_system       = [[Amazon Basin]]
+
| basin_size         = {{Convert|7050000|km2|mi2|abbr=on}}
| basin_size         = {{Convert|7050000|km2|mi2|abbr=on}}
+
| basin_landmarks     = [[Arena da Amazônia|Amazon Arena]]
| basin_landmarks   = [[Arena da Amazônia|Amazon Arena]]
+
| basin_population   = 1,234,567
| basin_population   = 1,234,567
 
 
<!---------------------- PHYSICAL CHARACTERISTICS -->
 
<!---------------------- PHYSICAL CHARACTERISTICS -->
| length             = {{Convert|6992|km|mi|abbr=on}}
+
| length             = {{Convert|6992|km|mi|abbr=on}}
| width_min         = {{Convert|4|km|mi|abbr=on}}
+
| width_min           = {{Convert|4|km|mi|abbr=on}}
| width_avg         = {{Convert|6|km|mi|abbr=on}}
+
| width_avg           = {{Convert|6|km|mi|abbr=on}}
| width_max         = {{Convert|8|km|mi|abbr=on}}
+
| width_max           = {{Convert|8|km|mi|abbr=on}}
| depth_min         = {{Convert|3|m|ft|abbr=on}}
+
| depth_min           = {{Convert|3|m|ft|abbr=on}}
| depth_avg         = {{Convert|15|m|ft|abbr=on}}
+
| depth_avg           = {{Convert|15|m|ft|abbr=on}}
| depth_max         = {{Convert|30|m|ft|abbr=on}}
+
| depth_max           = {{Convert|30|m|ft|abbr=on}}
| discharge1_location= [[Santarém, Pará]]
+
| discharge1          = Name of discharge 1
| discharge1_min     = {{Convert|109000|m3/s|ft3/s|abbr=on}}
+
| discharge1_location = [[Santarém, Pará]]
| discharge1_avg     = {{Convert|209000|m3/s|ft3/s|abbr=on}}
+
| discharge1_min     = {{Convert|109000|m3/s|ft3/s|abbr=on}}
| discharge1_max     = {{Convert|309000|m3/s|ft3/s|abbr=on}}
+
| discharge1_avg     = {{Convert|209000|m3/s|ft3/s|abbr=on}}
 +
| discharge1_max     = {{Convert|309000|m3/s|ft3/s|abbr=on}}
 
<!---------------------- FEATURES -->
 
<!---------------------- FEATURES -->
| tributaries_left   = {{hlist|[[Marañón River|Marañón]]|[[Japurá River|Japurá]]|[[Rio Negro (Amazon)|Rio Negro]]|[[Putumayo River|Putumayo]]}}
+
| tributaries_left   = {{hlist|[[Marañón River|Marañón]]|[[Japurá River|Japurá]]|[[Rio Negro (Amazon)|Rio Negro]]|[[Putumayo River|Putumayo]]}}
| tributaries_right = {{hlist|[[Ucayali River|Ucayali]]|[[Purus River|Purus]]|[[Madeira River|Madeira]]|[[Tapajós]]|[[Xingu River|Xingu]]}}
+
| tributaries_right   = {{hlist|[[Ucayali River|Ucayali]]|[[Purus River|Purus]]|[[Madeira River|Madeira]]|[[Tapajós]]|[[Xingu River|Xingu]]}}
| waterbodies       = [[Lawriqucha|Lake Lawriqucha]]
+
| waterbodies         = [[Lawriqucha|Lake Lawriqucha]]
| waterfalls         = [[Noel Kempff Mercado National Park|Ahlfeld Waterfall]]
+
| waterfalls         = [[Noel Kempff Mercado National Park|Ahlfeld Waterfall]]
| bridges           = [[Manaus–Iranduba Bridge]]
+
| bridges             = [[Manaus–Iranduba Bridge]]
| ports             = [[Port of Manaus]]
+
| ports               = [[Port of Manaus]]
| custom_label       = '''''Custom label'''''
+
| custom_label       = '''''Custom label'''''
| custom_data       = ''Custom data''
+
| custom_data         = ''Custom data''
| extra             = ''(optional content at the bottom - centred)''
+
| extra               = ''(optional content at the bottom - centred)''
 
 
 
}}
 
}}
 +
== Test 3 ==
 +
{{Testcase table
 +
| name              = Mill Creek
 +
| name_native        =
 +
| name_native_lang  =
 +
| name_other        =
 +
| name_etymology    =
 +
<!---------------------- IMAGE & MAP -->
 +
| image              = Mill Creek Ripley.jpg
 +
| image_size        = 300
 +
| image_caption      = Mill Creek in [[Ripley, West Virginia|Ripley]] in 2007
 +
| map                = Mill Creek (western WV) map.png
 +
| map_size          = 300
 +
| map_caption        = Map of Mill Creek and its watershed
 +
| pushpin_map        =
 +
| pushpin_map_size  = 300
 +
| pushpin_map_caption= Location of the [[river mouth]] in West Virginia
 +
<!---------------------- LOCATION -->
 +
| subdivision_type1  = Country
 +
| subdivision_name1  = [[United States]]
 +
| subdivision_type2  = State
 +
| subdivision_name2  = [[West Virginia]]
 +
| subdivision_type3  =
 +
| subdivision_name3  =
 +
| subdivision_type4  =
 +
| subdivision_name4  =
 +
| subdivision_type5  =
 +
| subdivision_name5  =
 +
<!---------------------- PHYSICAL CHARACTERISTICS -->
 +
| length            = {{convert|29.4|mi|km|abbr=on}}
 +
| width_min          =
 +
| width_avg          =
 +
| width_max          =
 +
| depth_min          =
 +
| depth_avg          =
 +
| depth_max          =
 +
| discharge1_location=
 +
| discharge1_min    =
 +
| discharge1_avg    =
 +
| discharge1_max    =
 +
<!---------------------- BASIN FEATURES -->
 +
| source1            = Elk Fork
 +
| source1_location  = western [[Roane County, West Virginia|Roane County]]
 +
| source1_coordinates= {{coord|38|45|18|N|81|28|55|W|display=inline}}<ref name=GNISef>{{cite web |url={{Gnis3|1538623}} |title=Geographic Names Information System entry for Elk Fork (Feature ID #1538623) |author=Geographic Names Information System |authorlink=Geographic Names Information System|accessdate=2007-03-27}}</ref>
 +
| source1_length    = {{cvt|15.4|mi|km}}<ref name=EPA>{{cite web |url=http://iaspub.epa.gov/waters10/attains_watershed.control?p_state=WV&p_huc=05030202&p_cycle=2008&p_report_type= |title=Watershed Assessment, Tracking & Environmental Results: Assessment Summary for Reporting Year 2008, West Virginia, Upper Ohio-Shade Watershed |author=United States Environmental Protection Agency |authorlink=United States Environmental Protection Agency |archiveurl=https://www.webcitation.org/62PyXjw2t?url=http://iaspub.epa.gov/waters10/attains_watershed.control?p_state=WV&p_huc=05030202&p_cycle=2008&p_report_type= |archivedate=2011-10-14 |accessdate=2011-10-13 |url-status=dead |df= }}</ref>
 +
| source1_elevation  = {{convert|1021|ft|abbr=on}}<ref name=GE>[[Google Earth]] elevation for [[GNIS]] source coordinates.  Retrieved on 2007-03-22.</ref>
 +
| source2            = Little Mill Creek
 +
| source2_location  = northwestern [[Roane County, West Virginia|Roane County]]
 +
| source2_length    = {{cvt|11.1|mi|km}}<ref name=EPA/>
 +
| source2_coordinates= {{coord|38|49|15|N|81|29|36|W|display=inline}}<ref name=GNISlmc>{{cite web |url={{Gnis3|1542173}} |title=Geographic Names Information System entry for Little Mill Creek (Feature ID #1542173) |author=Geographic Names Information System |authorlink=Geographic Names Information System|accessdate=2007-03-27}}</ref>
 +
| source2_elevation  = {{convert|976|ft|abbr=on}}<ref name=GE/>
 +
| source_confluence            =
 +
| source_confluence_location  = east of [[Ripley, West Virginia|Ripley]]
 +
| source_confluence_coordinates= {{coord|38|48|18|N|81|38|19|W|display=inline}}<ref name=GNIS>{{cite web |url={{Gnis3|1543321}} |title=Geographic Names Information System entry for Mill Creek (Feature ID #1543321) |author=Geographic Names Information System |authorlink=Geographic Names Information System|accessdate=2007-03-27}}</ref>
 +
| source_confluence_elevation  = {{convert|610|ft|abbr=on}}<ref name=GNISlmc/>
 +
| mouth              = [[Ohio River]]
 +
| mouth_location    = [[Millwood, West Virginia|Millwood]]
 +
| mouth_coordinates  = {{coord|38|53|04|N|81|51|43|W|display=inline,title}}<ref name=GNIS/>
 +
| mouth_elevation    = {{convert|554|ft|abbr=on}}<ref name=GNIS/>
 +
| progression        =
 +
| river_system      =
 +
| basin_size        = {{convert|234|sqmi|abbr=on}}
 +
| tributaries_left  = Tug Fork
 +
| tributaries_right  =
 +
| custom_label      =
 +
| custom_data        =
 +
| extra              =
 +
}}{{reflist}}

Latest revision as of 16:57, 9 September 2019

Test 1

Template:Testcase table

Test 2

Template:Testcase table

Test 3

Template:Testcase table