Cithakan:Infobox River/Doc
Saka Wikipédia, Ènsiklopédhi Bébas ing basa Jawa / Saking Wikipédia, Bauwarna Mardika mawi basa Jawi
Usage is transcluded fom Template:Infobox River/Doc
Bab lan Paragraf |
[sunting] Usage
[sunting] 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 = | asal = | mouth = | basin_countries = | length = | elevation = | mouth_elevation = | discharge = | watershed = }} <!-- End Infobox template table -->
[sunting] 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 = {{convert|3690|km|mi|0|lk=on|abbr=on}} | elevation = {{convert|225|m|ft|0|lk=on}} | mouth_elevation = 0 | discharge = 8000 m³/s (282,500 cu ft/s) | watershed = {{convert|1380000|sqkm|sqmi|0|lk=on|abbr=on}} }}
[sunting] 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 = CUBIC METERS m³/s (CUBIC FEET cu ft/s) | watershed = SQUARE KILOMETERS km² (SQUARE MILES sq mi) }} <!-- End Infobox template table -->
- Be sure to replace all of the all-caps words.
- Use {{convert}} for unit conversions (or the equivalent {{m to ft}}/{{ft to m}} and {{km to mi}}/{{mi to km}}).
- 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.
[sunting] 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 the United States 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 = CUBIC FEET cu ft/s (CUBIC METERS m³/s) | watershed = SQUARE MILES sq mi (SQUARE 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 = CUBIC FEET cu ft/s | watershed = SQUARE MILES sq mi }} <!-- End Infobox template table -->