Template:Infobox river/doc
This is a documentation subpage for Template:Infobox river. It contains usage information, categories and other content that is not part of the original template page. |
Empty syntax
Copy this syntax block if you prefer to cut and paste into an empty template.
<!-- 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 = <!--Optional; defaults to 288 px--> | caption = | origin = | mouth = | basin_countries = | length = | elevation = | mouth_elevation = | discharge = | watershed = }} <!-- End Infobox template table -->
Example
The wikicode below will create the Infobox at right:
{{Infobox_river | river_name = Volga River (Example) | image_name = Russia_River_Volga.jpg | caption = Volga in [[Yaroslavl]] (autumn morning) | origin = [[Valdai Hills]] | mouth = [[Caspian Sea]] | basin_countries = [[Russia]] | length = 3,690 km (2,293 mi) | elevation = 225 m (738 ft) | mouth_elevation = 0 | discharge = 8,000 m³/s (282,517 ft³/s) | watershed = 1,380,000 km² (532,821 mi²) }}
Using the Template
{{Infobox_river | river_name = NAME | image_name = IMAGE_FILE_NAME | caption = CAPTION | origin = ORIGIN | mouth = MOUTH | basin_countries = BASIN_COUNTRIES | length = KILOMETERS km (MILES mi) | elevation = METERS m (FEET ft) | mouth_elevation = METERS m (FEET ft) | discharge = METERS m³/s (FEET ft³/s) | watershed = KILOMETERS km² (MILES mi²) }} <!-- End Infobox template table -->
- Be sure to replace all of the all-caps words.
- Any of the items above can be safely left blank. Note that you may include an image with no caption, but a caption will not be shown if there is no image.
- Wiki links are fine in any of the Infobox fields.
- 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.
Alternate Units of Measurement
The following alternate empty syntax blocks are for use where you only have data in either metric or in Imperial units, or where the subject of your article calls for a different order. For example, the Mississippi River in America probably ought to use Imperial (metric) syntax, while the Canadian Mississippi would more appropriately use metric (Imperial).
Imperial (metric)
<!-- The following few lines create the "Infobox" table template. Please scroll down to edit the main content of the article. --> {{Infobox_river | river_name = RIVER_NAME | image_name = IMAGE_NAME | caption = CAPTION | origin = ORIGIN | mouth = MOUTH | basin_countries = BASIN_COUNTRIES | length = MILES mi (KILOMETERS km) | elevation = FEET ft (METERS m) | mouth_elevation = FEET ft (METERS m) | discharge = FEET ft³/s (METERS m³/s) | watershed = MILES mi² (KILOMETERS km²) }} <!-- End Infobox template table -->
Metric Only
<!-- The following few lines create the "Infobox" table template. Please scroll down to edit the main content of the article. --> {{Infobox_river | river_name = RIVER_NAME | image_name = IMAGE_NAME | caption = CAPTION | origin = ORIGIN | mouth = MOUTH | basin_countries = BASIN_COUNTRIES | length = KILOMETERS km | elevation = METERS m | mouth_elevation = METERS m | discharge = METERS m³/s | watershed = KILOMETERS km² }} <!-- End Infobox template table -->
Imperial Only
<!-- The following few lines create the "Infobox" table template. Please scroll down to edit the main content of the article. --> {{Infobox_river | river_name = RIVER_NAME | image_name = IMAGE_NAME | caption = CAPTION | origin = ORIGIN | mouth = MOUTH | basin_countries = BASIN_COUNTRIES | length = MILES mi | elevation = FEET ft | mouth_elevation = FEET ft | discharge = FEET ft³/s | watershed = MILES mi² }} <!-- End Infobox template table -->