Difference between revisions of "Template:Infobox river/doc"
Jump to navigation
Jump to search
imported>Markussep (not superseded, way forward to be discussed at WP:RIVERS) |
imported>Jens Lehmann |
||
| Line 420: | Line 420: | ||
</pre> | </pre> | ||
|} | |} | ||
| + | |||
| + | == DBpedia Template Annotation == | ||
| + | {{DBpedia Template | ||
| + | | relatesToClass = River | ||
| + | | mapping = | ||
| + | {{DBpedia Attribute | city | parseHint = links}} | ||
| + | {{DBpedia Attribute | city1 | city | links}} | ||
| + | {{DBpedia Attribute | country | parseHint = links}} | ||
| + | {{DBpedia Attribute | country1 | country | links}} | ||
| + | {{DBpedia Attribute | discharge}} | ||
| + | {{DBpedia Attribute | discharge | maximumdischarge}} | ||
| + | {{DBpedia Attribute | discharge_cuft/s | discharge | ft3/s}} | ||
| + | {{DBpedia Attribute | discharge_imperial | maximumdischarge}} | ||
| + | {{DBpedia Attribute | discharge_m3/s | discharge}} | ||
| + | {{DBpedia Attribute | discharge_max | maximumdischarge}} | ||
| + | {{DBpedia Attribute | discharge_max_imperial | maximumdischarge}} | ||
| + | {{DBpedia Attribute | discharge_min | minimumdischarge}} | ||
| + | {{DBpedia Attribute | discharge_min_imperial | minimumdischarge}} | ||
| + | {{DBpedia Attribute | district | parseHint = links}} | ||
| + | {{DBpedia Attribute | district1 | district | links}} | ||
| + | {{DBpedia Attribute | elevation | parseHint = m}} | ||
| + | {{DBpedia Attribute | elevation_ft | elevation | ft}} | ||
| + | {{DBpedia Attribute | elevation_m | elevation | m}} | ||
| + | {{DBpedia Attribute | length_km | length | km}} | ||
| + | {{DBpedia Attribute | length_mi | length | mi}} | ||
| + | {{DBpedia Attribute | mouth | parseHint = links}} | ||
| + | {{DBpedia Attribute | mouth_country | mouthcountry | links}} | ||
| + | {{DBpedia Attribute | mouth_district | mouthdistrict | links}} | ||
| + | {{DBpedia Attribute | mouth_elevation | mouthelevation | m}} | ||
| + | {{DBpedia Attribute | mouth_elevation_ft | mouthelevation | ft}} | ||
| + | {{DBpedia Attribute | mouth_elevation_m | mouthelevation | m}} | ||
| + | {{DBpedia Attribute | mouth_location | mouthmountain | links}} | ||
| + | {{DBpedia Attribute | mouth_location | mouthplace | links}} | ||
| + | {{DBpedia Attribute | mouth_region | mouthregion | links}} | ||
| + | {{DBpedia Attribute | mouth_state | mouthstate | links}} | ||
| + | {{DBpedia Attribute | name | parseHint = links}} | ||
| + | {{DBpedia Attribute | native_name | nativename}} | ||
| + | {{DBpedia Attribute | other_name | othername}} | ||
| + | {{DBpedia Attribute | other_name1 | othername}} | ||
| + | {{DBpedia Attribute | region | parseHint = links}} | ||
| + | {{DBpedia Attribute | region1 | region | links}} | ||
| + | {{DBpedia Attribute | river_name | name | links}} | ||
| + | {{DBpedia Attribute | source_country | sourcecountry | links}} | ||
| + | {{DBpedia Attribute | source_district | sourcedistrict | links}} | ||
| + | {{DBpedia Attribute | source_location | sourcemountain | links}} | ||
| + | {{DBpedia Attribute | source_location | sourceplace | links}} | ||
| + | {{DBpedia Attribute | source_region | sourceregion | links}} | ||
| + | {{DBpedia Attribute | source_state | sourcestate | links}} | ||
| + | {{DBpedia Attribute | state | parseHint = links}} | ||
| + | {{DBpedia Attribute | state1 | state | links}} | ||
| + | {{DBpedia Attribute | watershed | parseHint = km2}} | ||
| + | {{DBpedia Attribute | watershed_imperial | watershed | mi2}} | ||
| + | {{DBpedia Attribute | watershed_km2 | watershed | km2}} | ||
| + | {{DBpedia Attribute | watershed_sqmi | watershed | mi2}} | ||
| + | }} | ||
| + | |||
<includeonly> | <includeonly> | ||
Revision as of 13:51, 7 November 2009
| File:Edit-copy green.svg | 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. |
This template is part of the Rivers WikiProject.
Contents
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.
- 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
progressionparameter (not needed on the Volga examples below) can be seen in use on River Penk, and is to describe the path (in that case: Sow—Trent—Humber—North 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 -->
| Details |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{Infobox_River
| river_name = NAME
| image_name = IMAGE_FILE_NAME
| caption = CAPTION
| origin = ORIGIN
| mouth = MOUTH
| basin_countries = BASIN_COUNTRIES
| progression = ROUTE TO THE SEA
| 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)
| river_system = RIVER SYSTEM
| left_tribs = LEFT TRIBUTARIES
| right_tribs = RIGHT TRIBUTARIES
}}
<!-- End Infobox template table -->
|
| Example |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{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 = approx. {{convert|3690|km|abbr=on}}
| elevation = {{convert|225|m|abbr=on}}
| mouth_elevation = 0 m (0 ft)
| discharge = Annual average:
:{{convert|8000|m3/s|abbr=on|lk=on}}
June:
:{{convert|9000|m3/s|abbr=on}}
December:
:{{convert|7000|m3/s|abbr=on}}
| watershed = {{convert|1380000|km2|abbr=on}}
| river_system =
| left_tribs =
| right_tribs =
}}
|
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 -->
| Details |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{Infobox_River
| river_name = NAME
| image_name = IMAGE_FILE_NAME
| caption = CAPTION
| origin = ORIGIN
| mouth = MOUTH
| basin_countries = BASIN_COUNTRIES
| progression = ROUTE TO THE SEA
| length_km = KILOMETERS <!-- must be a numerical expression -->
| length = REFERENCES/DETAILS
| elevation_m = METERS <!-- must be a numerical expression -->
| elevation = REFERENCES/DETAILS
| mouth_elevation_m = METERS <!-- must be a numerical expression -->
| mouth_elevation = REFERENCES/DETAILS
| discharge_m3/s = CUBIC METERS <!-- must be a numerical expression -->
| discharge = REFERENCES/DETAILS
| watershed_km2 = SQUARE KILOMETERS <!-- must be a numerical expression -->
| watershed = REFERENCES/DETAILS
| river_system = REFERENCES/DETAILS
| left_tribs = REFERENCES/DETAILS
| right_tribs = REFERENCES/DETAILS
}}
<!-- End Infobox template table -->
|
| Example |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{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_km = 3690
| length = <ref name=volga>[www.volga.com Volga]</ref>
| elevation_m = 225
| elevation = above sea level
| mouth_elevation_m = 0
| mouth_elevation =
| discharge_m3/s = 8000
| discharge = <ref name=volga/>
| watershed_km2 = 1380000
| watershed =
| river_system =
| left_tribs =
| right_tribs =
}}
|
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 -->
| Details |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{Infobox_River
| river_name = NAME
| image_name = IMAGE_FILE_NAME
| caption = CAPTION
| origin = ORIGIN
| mouth = MOUTH
| basin_countries = BASIN_COUNTRIES
| progression = ROUTE TO THE SEA
| length_mi = MILES <!-- must be a numerical expression -->
| length = REFERENCES/DETAILS
| elevation_ft = FEET <!-- must be a numerical expression -->
| elevation = REFERENCES/DETAILS
| mouth_elevation_ft = FEET <!-- must be a numerical expression -->
| mouth_elevation = REFERENCES/DETAILS
| discharge_cuft/s = CUBIC FEET <!-- must be a numerical expression -->
| discharge = REFERENCES/DETAILS
| watershed_sqmi = SQUARE MILES <!-- must be a numerical expression -->
| watershed = REFERENCES/DETAILS
| river_system = REFERENCES/DETAILS
| left_tribs = REFERENCES/DETAILS
| right_tribs = REFERENCES/DETAILS
}}
<!-- End Infobox template table -->
|
| Example |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{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_mi = 2290
| length = <ref name=volga>[www.volga.com Volga]</ref>
| elevation_ft = 740
| elevation = above sea level
| mouth_elevation_ft = 0
| mouth_elevation =
| discharge_cuft/s = 280000
| discharge = <ref name=volga/>
| watershed_sqmi = 530000
| watershed =
| river_system =
| left_tribs =
| right_tribs =
}}
|
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 -->
| Details |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{Infobox_River
| river_name = NAME
| image_name = IMAGE_FILE_NAME
| caption = CAPTION
| origin = ORIGIN
| mouth = MOUTH
| basin_countries = BASIN_COUNTRIES
| progression = ROUTE TO THE SEA
| length_km = KILOMETERS
| length_mi = MILES
| length = REFERENCES/DETAILS
| elevation_m = METERS
| elevation_ft = FEET
| elevation = REFERENCES/DETAILS
| mouth_elevation_m = METERS
| mouth_elevation_ft = FEET
| mouth_elevation = REFERENCES/DETAILS
| discharge_m3/s = CUBIC METERS
| discharge_cuft/s = CUBIC FEET
| discharge = REFERENCES/DETAILS
| watershed_km2 = SQUARE KILOMETERS
| watershed_sqmi = SQUARE MILES
| watershed = REFERENCES/DETAILS
| river_system = REFERENCES/DETAILS
| left_tribs = REFERENCES/DETAILS
| right_tribs = REFERENCES/DETAILS
}}
<!-- End Infobox template table -->
|
| Aquamarine |
|---|
<!-- The following few lines create the "Infobox" table template.
Please scroll down to edit the main content of the article. -->
{{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_km = 3690
| length_mi = 2290
| length = <ref name=volga>[www.volga.com Volga]</ref>
| elevation_m = 225
| elevation_ft = 740
| elevation = above sea level
| mouth_elevation_m = 0
| mouth_elevation_ft = 0
| mouth_elevation =
| discharge_m3/s = 8000
| discharge_cuft/s = 280000
| discharge = <ref name=volga/>
| watershed_km2 = 1380000
| watershed_sqmi = 530000
| watershed =
| river_system =
| left_tribs =
| right_tribs =
}}
|
DBpedia Template Annotation