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

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
m (sync w/template)
imported>Funandtrvl
m (sync w/template)
Line 86: Line 86:
 
| name            = NAME
 
| name            = NAME
 
| image_name      = IMAGE_FILE_NAME
 
| image_name      = IMAGE_FILE_NAME
 +
| image_size      =
 
| image_alt      =
 
| image_alt      =
 
| caption        = CAPTION
 
| caption        = CAPTION
 
| image_map      = MAP_FILE_NAME
 
| image_map      = MAP_FILE_NAME
 +
| map_size        =
 
| map_alt        =
 
| map_alt        =
 
| map_caption    = MAP_CAPTION
 
| map_caption    = MAP_CAPTION
 
| origin          = ORIGIN
 
| origin          = ORIGIN
 
| mouth          = MOUTH
 
| mouth          = MOUTH
 +
| progression    = ROUTE TO THE SEA
 
| basin_countries = BASIN_COUNTRIES
 
| basin_countries = BASIN_COUNTRIES
| progression    = ROUTE TO THE SEA
+
| location        =  
 
| length          = KILOMETERS km (MILES mi)
 
| length          = KILOMETERS km (MILES mi)
 
| elevation      = METERS m (FEET ft)
 
| elevation      = METERS m (FEET ft)
Line 147: Line 150:
 
| name              =  
 
| name              =  
 
| image_name        =  
 
| image_name        =  
| image_alt       =
+
| image_alt         =
 
| caption            =  
 
| caption            =  
 
| image_map          =
 
| image_map          =
| map_alt         =
+
| map_alt           =
 
| map_caption        =
 
| map_caption        =
 
| origin            =  
 
| origin            =  
 
| mouth              =  
 
| mouth              =  
 +
| progression        =
 
| basin_countries    =  
 
| basin_countries    =  
| progression        =  
+
| location          =  
 
| length_km          =  
 
| length_km          =  
 
| length            =  
 
| length            =  
Line 190: Line 194:
 
| origin            = ORIGIN
 
| origin            = ORIGIN
 
| mouth              = MOUTH
 
| mouth              = MOUTH
 +
| progression        = ROUTE TO THE SEA
 +
| location          =
 
| basin_countries    = BASIN_COUNTRIES
 
| basin_countries    = BASIN_COUNTRIES
| progression        = ROUTE TO THE SEA
 
 
| length_km          = KILOMETERS          <!-- must be a numerical expression -->
 
| length_km          = KILOMETERS          <!-- must be a numerical expression -->
 
| length            = REFERENCES/DETAILS  
 
| length            = REFERENCES/DETAILS  
Line 249: Line 254:
 
| name              =  
 
| name              =  
 
| image_name        =  
 
| image_name        =  
| image_alt       =
+
| image_alt         =
 
| caption            =  
 
| caption            =  
 
| image_map          =
 
| image_map          =
| map_alt         =
+
| map_alt           =
 
| map_caption        =
 
| map_caption        =
 
| origin            =  
 
| origin            =  
 
| mouth              =  
 
| mouth              =  
 +
| progression        =
 
| basin_countries    =   
 
| basin_countries    =   
| progression        =  
+
| location          =
 
| length_mi          =  
 
| length_mi          =  
 
| length            =  
 
| length            =  
Line 292: Line 298:
 
| origin            = ORIGIN
 
| origin            = ORIGIN
 
| mouth              = MOUTH
 
| mouth              = MOUTH
 +
| progression        = ROUTE TO THE SEA
 
| basin_countries    = BASIN_COUNTRIES
 
| basin_countries    = BASIN_COUNTRIES
| progression        = ROUTE TO THE SEA
+
| location          =
 
| length_mi          = MILES              <!-- must be a numerical expression -->
 
| length_mi          = MILES              <!-- must be a numerical expression -->
 
| length            = REFERENCES/DETAILS  
 
| length            = REFERENCES/DETAILS  
Line 352: Line 359:
 
| name              =  
 
| name              =  
 
| image_name        =  
 
| image_name        =  
| image_alt       =
+
| image_alt         =
 
| caption            =  
 
| caption            =  
 
| image_map          =
 
| image_map          =
| map_alt         =
+
| map_alt           =
 
| map_caption        =
 
| map_caption        =
 
| origin            =  
 
| origin            =  
 
| mouth              =  
 
| mouth              =  
 +
| progression        =
 
| basin_countries    =  
 
| basin_countries    =  
| progression        =  
+
| location          =
 
| length_km          =  
 
| length_km          =  
 
| length_mi          =  
 
| length_mi          =  
Line 380: Line 388:
 
| right_tribs        =
 
| right_tribs        =
 
}}
 
}}
 
 
<!-- End Infobox template table -->
 
<!-- End Infobox template table -->
 
</pre>
 
</pre>
Line 394: Line 401:
 
| name              = NAME
 
| name              = NAME
 
| image_name        = IMAGE_FILE_NAME
 
| image_name        = IMAGE_FILE_NAME
| image_alt       =
+
| image_alt         =
 
| caption            = CAPTION
 
| caption            = CAPTION
 
| image_map          = MAP_FILE_NAME
 
| image_map          = MAP_FILE_NAME
| map_alt         =
+
| map_alt           =
 
| map_caption        = MAP CAPTION
 
| map_caption        = MAP CAPTION
 
| origin            = ORIGIN
 
| origin            = ORIGIN
 
| mouth              = MOUTH
 
| mouth              = MOUTH
 +
| progression        = ROUTE TO THE SEA
 
| basin_countries    = BASIN_COUNTRIES
 
| basin_countries    = BASIN_COUNTRIES
| progression        = ROUTE TO THE SEA
+
| location          =
 
| length_km          = KILOMETERS
 
| length_km          = KILOMETERS
 
| length_mi          = MILES
 
| length_mi          = MILES

Revision as of 22:11, 24 June 2011

Volga River (Example)
Physical characteristics
MouthCaspian Sea
 • elevation
0 m (0 ft)
Lengthapprox. 3,690 km (2,290 mi)

This template is part of the Rivers WikiProject.

Usage

Notes

  • All parameters are optional.
    • No caption will be shown if there is no image.
    • The default image size is 288 px
  • Unit conversions can either be entered directly or done automatically.
    • See below for details on automatic conversion parameters.
    • {{Convert}} can be used for directly entered conversions.
    • Where imperial/US customary are auto-converted, these units will be displayed first.
    • Please refer to WP:UNITS to decide which units should be put first.
  • There are two different types of parameter.
    • Auto-conversion parameters require a numerical input (without commas).
    • Other parameters will accept any normal wikitext including links.
    • Details are noted in the pale green Details boxes below.
  • Copy the appropriate syntax block if you prefer to cut and paste into an empty template.
  • Include the HTML comments before and following the template; they help inexperienced editors.
  • Please spend some time at the Rivers WikiProject article and its talk page for standards on presenting names and other data.
  • The progression parameter (not needed on the Volga examples below) can be seen in use on River Penk, and is to describe the path (in that case: SowTrentHumberNorth Sea) taken by the waters of a river which is a tributary of one or more other rivers, and does not empty directly into a sea or lake.

Simple version

<!-- The following few lines create the "Infobox" table template.
     Please scroll down to edit the main content of the article. -->
{{Infobox river 
| name            = 
| image_name      = 
| image_size      = 
| image_alt       =
| caption         = 
| image_map       = 
| map_size        = 
| map_alt         =
| map_caption     = 
| origin          = 
| mouth           = 
| progression     = 
| basin_countries = 
| location        =
| length          = 
| elevation       = 
| mouth_elevation = 
| discharge       = 
| watershed       = 
| river_system    =
| left_tribs      =
| right_tribs     =
}}
<!-- End Infobox template table -->

Automatic conversion from SI to imperial/US customary

Note
The SI measurement will be displayed first.
<!-- The following few lines create the "Infobox" table template.
     Please scroll down to edit the main content of the article. -->
{{Infobox river 
| name               = 
| image_name         = 
| image_alt          =
| caption            = 
| image_map          =
| map_alt            =
| map_caption        =
| origin             = 
| mouth              = 
| progression        =
| basin_countries    = 
| location           = 
| length_km          = 
| length             = 
| elevation_m        = 
| elevation          = 
| mouth_elevation_m  = 
| mouth_elevation    = 
| discharge_m3/s     = 
| discharge          = 
| watershed_km2      = 
| watershed          = 
| river_system       =
| left_tribs         =
| right_tribs        =
}}
<!-- End Infobox template table -->

Automatic conversion from imperial/US customary to SI

Note
The imperial/US customary measurement will be displayed first.
<!-- The following few lines create the "Infobox" table template.
     Please scroll down to edit the main content of the article. -->
{{Infobox river
| name               = 
| image_name         = 
| image_alt          =
| caption            = 
| image_map          =
| map_alt            =
| map_caption        =
| origin             = 
| mouth              = 
| progression        = 
| basin_countries    =  
| location           =
| length_mi          = 
| length             = 
| elevation_ft       = 
| elevation          = 
| mouth_elevation_ft = 
| mouth_elevation    = 
| discharge_cuft/s   = 
| discharge          =  
| watershed_sqmi     = 
| watershed          = 
| river_system       =
| left_tribs         =
| right_tribs        =
}}
<!-- End Infobox template table -->

Entering both SI and imperial/US customary

Note
The SI measurement will be displayed first.
<!-- The following few lines create the "Infobox" table template.
     Please scroll down to edit the main content of the article. -->
{{Infobox river 
| name               = 
| image_name         = 
| image_alt          =
| caption            = 
| image_map          =
| map_alt            =
| map_caption        =
| origin             = 
| mouth              = 
| progression        = 
| basin_countries    = 
| location           =
| length_km          = 
| length_mi          = 
| length             = 
| elevation_m        = 
| elevation_ft       = 
| elevation          = 
| mouth_elevation_m  = 
| mouth_elevation_ft = 
| mouth_elevation    = 
| discharge_m3/s     = 
| discharge_cuft/s   = 
| discharge          = 
| watershed_km2      = 
| watershed_sqmi     = 
| watershed          = 
| river_system       =
| left_tribs         =
| right_tribs        =
}}
<!-- End Infobox template table -->