Template:Infobox body of water/Bookmarklet

The following bookmarklet adds infobox body of water in preview mode after prompting you for:
 * name (prefilled with article title)
 * basin countries
 * location
 * lake type

javascript:with(document.forms[0]){void(nt=prompt('Name ',wgTitle));void(ta=prompt('Basin countries ',));void(loca=prompt('Location ',));void(typ=prompt('Type ',''));void(wpSummary.value+='+infobox (see description of fields, WikiProject Lakes');void(wpTextbox1.value='\n'+wpTextbox1.value);void(wpPreview.click)}