Template:Infobox River/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox River (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This template is part of the Rivers WikiProject.

Contents

[edit] Usage

  • 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.

[edit] Simple version

<!-- The following few lines create the "Infobox" table template.
     Please scroll down to edit the main content of the article. -->

{{Infobox_River 
  | river_name      = 
  | image_name      = 
  | image_size      =
  | caption         = 
  | origin          = 
  | mouth           = 
  | basin_countries = 
  | length          = 
  | elevation       = 
  | mouth_elevation = 
  | discharge       = 
  | watershed       = 
}}

<!-- End Infobox template table -->

[edit] 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 
  | river_name         = 
  | image_name         = 
  | image_size         =
  | caption            = 
  | origin             = 
  | mouth              = 
  | basin_countries    = 
  | length_km          = 
  | length             = 
  | elevation_m        = 
  | elevation          = 
  | mouth_elevation_m  = 
  | mouth_elevation    = 
  | discharge_m3/s     = 
  | discharge          = 
  | watershed_km2      = 
  | watershed          = 
}}

<!-- End Infobox template table -->

[edit] 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 
  | river_name         = 
  | image_name         = 
  | image_size         =
  | caption            = 
  | origin             = 
  | mouth              = 
  | basin_countries    =  
  | length_mi          = 
  | length             = 
  | elevation_ft       = 
  | elevation          = 
  | mouth_elevation_ft = 
  | mouth_elevation    = 
  | discharge_cuft/s   = 
  | discharge          =  
  | watershed_sqmi     = 
  | watershed          = 
}}

<!-- End Infobox template table -->

[edit] 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 
  | river_name         = 
  | image_name         = 
  | image_size         =
  | caption            = 
  | origin             = 
  | mouth              = 
  | basin_countries    = 
  | 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          = 
}}

<!-- End Infobox template table -->