Template:Infobox waterlock/doc

From blackwiki
< Template:Infobox waterlock
Revision as of 13:05, 3 March 2017 by imported>Zyxw (add {{Parameter names example}}, add missing parameters to blank template, add actual example and code)
Jump to navigation Jump to search

Usage

Template:Parameter names example

Copy and paste the template below:

{{Infobox waterlock
| name          = 
| native_name   = 
| image         = 
| image_upright = 
| alt           = 
| caption       = 
| waterway      = 
| country       = 
| province      = 
| state         = 
| county        = 
| maint         = 
| operation     = 
| first         = 
| latest        = 
| length        = 
| width         = 
| fall          = 
| sealevel      = 
| enda          = 
| distenda      = 
| endb          = 
| distendb      = 
| heritage      = 
| map_image     = 
| map_width     = 
| map_alt       = 
| map_text      = 
| coordinates   = 
| extra         = 
}}

Parameter descriptions

name 
Name of lock
native_name 
image 
Filename of image
image_upright 
alt 
alternative text for the image
caption 
Text for caption beneath image
waterway 
Waterway on which the lock is situated
country 
Country
province 
state 
State or province
county 
Location of lock
maint
Maintaining Entity
operation 
Type of operation - e.g. manual or hydraulic
first 
Date when lock was originally built
latest 
Date of latest reconstruction of lock
length
Length of lock with units
width
Width of the lock with units
fall
Depth of fall of water in the lock with units
sealevel 
Height of top water level above sea level
enda 
One relevant end point of waterway
distenda 
distance to above
endb 
the other relevant end point of waterway
distendb 
distance to above
heritage 
Heritage status
map_image
Filename of map image
map_width
Map width in a standard value (pixels, for example)
map_alt 
alternative text for the map image
map_text
Caption beneath map image
coordinates
Latitude and longitude using {{coord}} with display:inline,title.
extras
free form, spans both columns, use sparingly

Example

Script error: No such module "If empty".
TeddLock.JPG
Teddington Lock undergoing maintenance. From left to right – rollers, skiff lock, launch lock and barge lock
WaterwayRiver Thames
CountryEngland
CountyGreater London
Maintained byEnvironment Agency
Operation
  • Launch Hydraulic
  • Skiff Manual
  • Barge Hydraulic
First built
  • Launch 1811
  • Skiff 1858
Barge 1904
Length
  • Launch 54.22 m (177 ft 11 in)
  • Skiff 15.08 m (49 ft 6 in)
  • Barge 198.12 m (650 ft 0 in)
Width
  • Launch 7.41 m (24 ft 4 in)
  • Skiff 1.77 m (5 ft 10 in)
  • Barge 7.54 m (24 ft 9 in)
Fall2.68 m (8 ft 10 in)
Above sea level14 feet (4.3 m)
CoordinatesLua error: callParserFunction: function "#coordinates" was not found.
Teddington is normally manned 24 hours
{{Infobox waterlock
| name          = Teddington Lock
| image         = TeddLock.JPG
| caption       = Teddington Lock undergoing maintenance. From left to right – rollers, skiff lock, launch lock and barge lock
| waterway      = [[River Thames]]
| country       = England
| county        = [[Greater London]]
| maint         = [[Environment Agency]]
| operation     = {{unbulleted list
  | Launch Hydraulic
  | Skiff Manual
  | Barge Hydraulic
  }}
| first         = {{unbulleted list
  | Launch 1811
  | Skiff 1858
  }} Barge 1904
| length        = {{unbulleted list
  | Launch {{convert|54.22|m|ftin|abbr=on}}
  | Skiff  {{convert|15.08|m|ftin|abbr=on}}
  | Barge  {{convert|198.12|m|ftin|abbr=on}}
  }}
| width         = {{unbulleted list
  | Launch {{convert|7.41|m|ftin|abbr=on}}
  | Skiff  {{convert|1.77|m|ftin|abbr=on}}
  | Barge {{convert|7.54|m|ftin|abbr=on}}
  }}
| fall          = {{convert|2.68|m|ftin|abbr=on}}
| sealevel      = {{convert|14|ft|m}}
| map_image     = 
| coordinates   = {{Coord|51|25|54|N|0|19|26|W|type:landmark_region:GB|display=inline,title}}
| extra         = Teddington is normally manned 24 hours
}}

Tracking category