Template:Wwdb name/doc

This template can be used to insert a link to a waterfall's page at the World Waterfall Database.

The URL of a waterfall information page at the database looks like this:

http://www.worldwaterfalldatabase.com/waterfall/Waterfall-Name-ID/

where Waterfall-Name is the name of the waterfall, as it appears in the database (with any spaces replaced by hyphens “-”, and possibly other text manipulations for characters that are not allowed in URLs), and ID is a numerical code. For example, the information page for Niagara Falls has the following URL:

http://www.worldwaterfalldatabase.com/waterfall/Niagara-Falls-106/

This template will substitute Wikipedia article name for Waterfall-Name, after stripping any disambiguating term(s) in parentheses and then replacing any spaces by hyphens. If this would generate an incorrect URL, then a correct Waterfall-Name can be provided using name in url parameter (see below).