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

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(→‎Usage: progression)
imported>Bermicourt
m
Line 39: Line 39:
 
   | discharge      =  
 
   | discharge      =  
 
   | watershed      =  
 
   | watershed      =  
 +
  | river_system    =
 +
  | left_tribs      =
 +
  | right_tribs    =
 
}}
 
}}
  
Line 65: Line 68:
 
   | discharge      = CUBIC METERS m³/s (CUBIC FEET cu ft/s)
 
   | discharge      = CUBIC METERS m³/s (CUBIC FEET cu ft/s)
 
   | watershed      = SQUARE KILOMETERS km² (SQUARE MILES sq mi)
 
   | watershed      = SQUARE KILOMETERS km² (SQUARE MILES sq mi)
 +
  | river_system    = RIVER SYSTEM
 +
  | left_tribs      = LEFT TRIBUTARIES
 +
  | right_tribs    = RIGHT TRIBUTARIES
 
}}
 
}}
  
Line 95: Line 101:
 
:{{convert|7000|m3/s|abbr=on}}
 
:{{convert|7000|m3/s|abbr=on}}
 
   | watershed      = {{convert|1380000|km2|abbr=on}}
 
   | watershed      = {{convert|1380000|km2|abbr=on}}
 +
  | river_system    =
 +
  | left_tribs      =
 +
  | right_tribs    =
 
}}
 
}}
 
</pre>
 
</pre>
Line 124: Line 133:
 
   | watershed_km2      =  
 
   | watershed_km2      =  
 
   | watershed          =  
 
   | watershed          =  
 +
  | river_system      =
 +
  | left_tribs        =
 +
  | right_tribs        =
 
}}
 
}}
  
Line 155: Line 167:
 
   | watershed_km2      = SQUARE KILOMETERS    <!-- must be a numerical expression -->
 
   | watershed_km2      = SQUARE KILOMETERS    <!-- must be a numerical expression -->
 
   | watershed          = REFERENCES/DETAILS
 
   | watershed          = REFERENCES/DETAILS
 +
  | river_system      = REFERENCES/DETAILS
 +
  | left_tribs        = REFERENCES/DETAILS
 +
  | right_tribs        = REFERENCES/DETAILS
 
}}
 
}}
  
Line 185: Line 200:
 
   | watershed_km2      = 1380000
 
   | watershed_km2      = 1380000
 
   | watershed          =  
 
   | watershed          =  
 +
  | river_system      =
 +
  | left_tribs        =
 +
  | right_tribs        =
 
}}
 
}}
 
</pre>
 
</pre>
Line 214: Line 232:
 
   | watershed_sqmi    =  
 
   | watershed_sqmi    =  
 
   | watershed          =  
 
   | watershed          =  
 +
  | river_system      =
 +
  | left_tribs        =
 +
  | right_tribs        =
 
}}
 
}}
  
Line 245: Line 266:
 
   | watershed_sqmi    = SQUARE MILES        <!-- must be a numerical expression -->
 
   | watershed_sqmi    = SQUARE MILES        <!-- must be a numerical expression -->
 
   | watershed          = REFERENCES/DETAILS
 
   | watershed          = REFERENCES/DETAILS
 +
  | river_system      = REFERENCES/DETAILS
 +
  | left_tribs        = REFERENCES/DETAILS
 +
  | right_tribs        = REFERENCES/DETAILS
 
}}
 
}}
  
Line 275: Line 299:
 
   | watershed_sqmi    = 530000  
 
   | watershed_sqmi    = 530000  
 
   | watershed          =  
 
   | watershed          =  
 +
  | river_system      =
 +
  | left_tribs        =
 +
  | right_tribs        =
 
}}
 
}}
 
</pre>
 
</pre>
Line 310: Line 337:
 
   | watershed_sqmi    =  
 
   | watershed_sqmi    =  
 
   | watershed          =  
 
   | watershed          =  
 +
  | river_system      =
 +
  | left_tribs        =
 +
  | right_tribs        =
 
}}
 
}}
  
Line 346: Line 376:
 
   | watershed_sqmi    = SQUARE MILES  
 
   | watershed_sqmi    = SQUARE MILES  
 
   | watershed          = REFERENCES/DETAILS
 
   | watershed          = REFERENCES/DETAILS
 +
  | river_system      = REFERENCES/DETAILS
 +
  | left_tribs        = REFERENCES/DETAILS
 +
  | right_tribs        = REFERENCES/DETAILS
 
}}
 
}}
  
Line 381: Line 414:
 
   | watershed_sqmi    = 530000  
 
   | watershed_sqmi    = 530000  
 
   | watershed          =  
 
   | watershed          =  
 +
  | river_system      =
 +
  | left_tribs        =
 +
  | right_tribs        =
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 12:21, 6 October 2009

This template is part of the Rivers WikiProject.

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.
  • 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 
  | river_name      = 
  | image_name      = 
  | image_size      = 
  | caption         = 
  | origin          = 
  | mouth           = 
  | basin_countries = 
  | progression     = 
  | 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 
  | river_name         = 
  | image_name         = 
  | image_size         =
  | caption            = 
  | origin             = 
  | mouth              = 
  | basin_countries    = 
  | progression        = 
  | 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 
  | river_name         = 
  | image_name         = 
  | image_size         =
  | caption            = 
  | origin             = 
  | mouth              = 
  | basin_countries    =  
  | progression        = 
  | 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 
  | river_name         = 
  | image_name         = 
  | image_size         =
  | caption            = 
  | origin             = 
  | mouth              = 
  | basin_countries    = 
  | progression        = 
  | 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 -->