Template:Infobox waterfall/doc

From The Democratikan Wiki

This Infobox template can be used in any article about a waterfall.

Usage

Most commonly used parameters:

{{{name}}}
{{{alt_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}}
[[File:{{{map_image}}}|{{{map_size}}}|alt={{{map_alt}}}]]
{{{map_caption}}}
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
Location{{{location}}}
OS grid{{{grid_ref_UK}}}
OSI/OSNI grid{{{grid_ref_Ireland}}}
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.{{{coords_ref}}}
Type{{{type}}}
Elevation{{{elevation}}}
Total height{{{height}}}
Number of drops{{{number_drops}}}
Longest drop{{{height_longest}}}
Total width{{{width}}}
Average width{{{average_width}}}
Run{{{run}}}
Watercourse{{{watercourse}}}
Average
flow rate
{{{average_flow}}}
World height ranking{{{world_rank}}}
{{{embedded}}}

<syntaxhighlight lang="wikitext" style="overflow: auto;">

Infobox waterfall/doc
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).

</syntaxhighlight>

Parameter descriptions

This table describes all parameters which can be used in building an waterfall infobox. Only the name parameter must be assigned a value. Use the {{convert}} template for units. A glossary of waterfall related terms can be found at the World Waterfall Database.

Field name Description
name Required. The name of the waterfall. It will be displayed at the top of the infobox. In most cases this should be the same as the article name less any disambiguation. For example, if the article title is Selfoss (waterfall) then name=Selfoss.
alt_name If there is a common English name for the waterfall use it for the name parameter. This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. Italics should not be used. See MOS:ITALIC.
image The name of an image file to be displayed. No special formatting is needed.
image_size Used to change the display width of the image. The default and maximum value is 275 pixels. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) may need to be adjusted to 180 or 220. For example, photo_width=200 and not photo_width=200px.
alt Alt text for the photo, for visually impaired readers. See WP:ALT.
caption The caption that will appear below the image if one is required.
Map related parameters
map_image or map The name of the map to be displayed. See Map display methods.
map_size or map_width Used to change the display width of the map. The default width is 240 pixels, and the maximum width is 275 pixels. See image_size above.
map_alt Alt text for the map. See WP:ALT.
map_caption The caption that appears below the map if one is required.
map_label A text message that will be displayed next to the mark. Works with label_position below. This is not functional when using the XY coordinates method for map display.
map_label_position Specifies the position of a label with respect to the mark. Valid values are left, right, top and bottom. See label above.
relief Selects a relief map when assigned any value. This option is only available for a small number of location map templates and is not functional when using the XY coordinates method. See Map display methods.
mark The image used for the mark on a map. The default is Red pog.svg. See Template:Location map for other images.
Coordinate related parameters
grid_ref_UK If the waterfall is in Great Britain, the British grid reference. For waterfalls outside of Great Britain, this field is inapplicable.
grid_ref_Ireland If the waterfall is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. For waterfalls outside Ireland, this field is inapplicable.
coordinates Use the {{Coord}} template. Will generate a location mark if a map template is used. The recommended values for {{Coord}} are type:waterbody and display=inline,title.
coords_ref Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
map The area covered by a location map template.
map_caption Caption displayed below the map if necessary.
label A text message that will be displayed next to the marker. Works with label_position below. Seldom used.
label_position Specifies the position of a label with respect to the marker. Valid values are left, right, top and bottom. See label above.
mark The image to use for the marker. The default is Red pog.svg. See Template:Location map for more information.
marker_size The display width of the marker image in pixels. The default is 8.
Other parameters
location The location of the waterfall. Don't be too precise. County, state and country are good in the USA. If the waterfall is within a city specify the city, state and country. If the waterfall is in multiple counties just list the state and country. For areas in other countries adjust accordingly.
type The type of waterfall (e.g. horsetail, tiered). See this list.
elevation Elevation of the waterfall if it is noteworthy.
height The elevation of the crest to the base of the lowest drop.
height_longest The height of the longest drop.
number_drops The number of drops or vertical segments.
width The width of the waterfall measured at the crest.
average_width The width of the waterfall at average flow. Measured at the crest
run The length of the waterfall run
watercourse The name of the river, stream, creek, etc. that the falls interrupts.
average_flow The average flow rate of the watercourse.
world_rank Rank in the world by height. This should be reliably sourced.
child Used to embed this template in another. See below.
embedded Used to embed another template in this one. See below.

Examples

Kerepakupai Merú

Kerepakupai Merú
Angel Falls
Kerepakupai Vená
File:Salto Angel Dry Season.jpg
Angel Falls, Bolívar State, Venezuela
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationAuyantepui, Canaima National Park, Venezuela
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
TypeSegmented Plunges
Elevation4,878 ft (1,487 m)
Total height3,212 ft (979 m)
Number of drops2
Longest drop2,648 ft (807 m)
Average width350 ft (107 m)
WatercourseRío Gauja
Average
flow rate
500 cu ft/s (14 m3/s)
World height ranking1st

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Kerepakupai Merú
Angel Falls
Kerepakupai Vená
File:Salto Angel Dry Season.jpg
Angel Falls, Bolívar State, Venezuela
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationAuyantepui, Canaima National Park, Venezuela
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
TypeSegmented Plunges
Elevation4,878 ft (1,487 m)
Total height3,212 ft (979 m)
Number of drops2
Longest drop2,648 ft (807 m)
Average width350 ft (110 m)
WatercourseRío Gauja
Average
flow rate
500 cu ft/s (14 m3/s)
World height ranking1st

</syntaxhighlight>

Kjelfossen

Kjelfossen
File:Kjelfossen.jpg
Kjelfossen (photo Alfred Diem)
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationGudvangen, Norway
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
TypeSegmented
Total height755 m (2,477 ft)
Longest drop149 m (489 ft)
WatercourseKjelfossgrovi
World height ranking18th

<syntaxhighlight lang="wikitext" style="overflow:auto;">

Kjelfossen
File:Kjelfossen.jpg
Kjelfossen (photo Alfred Diem)
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
LocationGudvangen, Norway
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
TypeSegmented
Total height755 m (2,477 ft)
Longest drop149 m (489 ft)
WatercourseKjelfossgrovi
World height ranking18th

</syntaxhighlight>

Map display methods

Display a marker on a map using a template and geographic coordinates

A marker can be superimposed on a map using one of a set of special map templates. To display a marker, the geographic coordinates must be specified using the {{Coord}} template inside the |coordinates= parameter. See the documentation for {{Location map}}. The parameters for this template map to a subset of the parameters used by {{Location map}}. A map template can be found using these sources:

List of templates – Many of the listed items are redirects and a few templates may not function as expected.
Category:Location map templates - templates sorted by category.
Special:WhatLinksHere/Template:Location map/Info – a search that might help.
Special:PrefixIndex/Module:Location map/data/ – another search that might help.
Special:Prefixindex/Template:Location map – another search that might help.

All of the names begin with the words "Location map" followed by the area covered. The value you need to specify is the area name. The map template for Canada is Location map/data/Canada. In this case specify |map=Canada.

Four Corners, Canada
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.

<syntaxhighlight lang="wikitext">

Four Corners, Canada
Lua error in Module:Location_map at line 411: Malformed coordinates value.
Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value).
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.

</syntaxhighlight>

By default, {{Coord}} displays in the infobox only in the page title. Parameter |display=inline,title can be added to make the coordinates display at the top of the page as well.

Template embedding

This template can be embedding in another infobox template by adding the code |child=yes. To embed another template in this one use |embedded={{Infobox ....

Microformats

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. For more information about the use of microformats on Wikipedia, please see the microformat project.

If the place or venue has an "established", "founded", "opened" or similar date that is specific to the day, use {{start date}} unless the date is before 1583 CE. If it has a URL, use {{URL}}.

hCard uses HTML classes including:

  • adr
  • category
  • country-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • street-address
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

Tracking category