Templat:Infobox Dam
{{{name}}} | |
[[Image:{{{image}}}|270px|{{{dam_name}}}]] | |
Nama rasmi | {{{official_name}}} |
---|---|
Menakung | {{{crosses}}} |
Lokasi | {{{locale}}} |
Panjang | {{{length}}} |
Tinggi | {{{height}}} |
Tinggi | {{{hydraulic_head}}} |
Lebar (di dasar) | {{{width}}} |
Tarikh dibina | {{{began}}} |
Tarikh dibuka | {{{open}}} |
Tarikh dimusnahkan | {{{closed}}} |
Kos pembinaan | {{{cost}}} |
Maklumat takungan | |
Dicipta | {{{reservoir}}} |
Kapasiti | {{{reservoir_capacity}}} |
Kawasan tadahan | {{{reservoir_catchment}}} |
Luas permukaan | {{{reservoir_surface}}} |
Power generation information | |
Turbin | {{{turbines}}} |
Kapasiti pemasangan | {{{installed_capacity}}} |
Kapasiti maksima | {{{max_capacity}}} |
Penjanaan tahunan | {{{annual_generation}}} |
Maklumat jambatan | |
Laluan | {{{bridge_carries}}} |
Lebar | {{{bridge_width}}} |
Kelegaan menegak (tinggi kenderaan) |
{{{bridge_clearance}}} |
Trafik harian purata tahunan | {{{bridge_traffic}}} |
Tol | {{{bridge_toll}}} |
ID number | {{{bridge_id}}} |
Data geografi | |
{{{map_cue}}} {{{map_text}}} |
[[Image:{{{map_image}}}|{{{map_width}}}|]] |
Koordinat | {{{coordinates}}} |
Diselenggara oleh | {{{maint}}} |
Tapak web | {{{url}}} |
{{{extra}}} |
Usage
[sunting sumber]Copy and paste the template below:
{{Infobox_Dam | dam_name = | image = | caption = | official_name = | crosses = | reservoir = | locale = | maint = | length = | height = | hydraulic_head = | width = | began = | open = | closed = | cost = | reservoir_capacity = | reservoir_catchment = | reservoir_surface = | turbines = | installed_capacity = | max_capacity = | annual_generation = | bridge_carries = | bridge_width = | bridge_clearance = | bridge_traffic = | bridge_toll = | bridge_id = | map_cue = | map_image = | map_text = | map_width = | coordinates = {{coord|0.00000|0.00000|type:landmark_region:US|display=inline}} | lat = | long = | extra = | website = }}
Parameter descriptions
[sunting sumber]- dam_name= Name of dam
- image= Filename of image of the dam
- image_size= override default 250px (avoid using)
- caption= Text for caption beneath image
- official_name= Official name
- crosses= Body of river or stream below dam
- reservoir= Name of upstream body of water, if different than "crosses"
- locale= General area where located (Aswan, Indiana-Kentucky State Line)
- maint= Maintaining Entity (Hydro-Quebec, California Department of Transportation)
- length= Length of dam crown, w/ metric conversions
- height= Height over foundation bed, w/ metric conversions
- width= Width at base of dam, w/ metric conversions
- began= Date construction began
- open= Opening date
- closed= Closing date
- cost=
- reservoir_capacity = Capacity of reservoir, i.e. megalitres
- reservoir_catchment = Area of catchment for reservoir
- reservoir_surface = Surface area (top water level) of reservoir
- turbines= Number of turbines, and make if known. See Steam turbine or Wind turbine
- installed_capacity= Installed generation capacity, measured in megawatts (MW). See Capacity
- max_capacity= Maximum generation capacity in megawatts, if different from installed capacity. (e.g. The 850 MW Manapouri Power Station in New Zealand is restricted to 730 MW due to resource consent conditions.)
- annual_generation= Average annual generation, measured in gigawatt-hours (GWh)
- bridge_carries= If Dam is also a bridge: traffic type and route number (e.g. "2 lanes of [[Route 1]]", "foot traffic"). Required to display other bridge_ values
- bridge_width= width of bridge surface
- bridge_clearance= Vertical Clearance for traffic on top of the bridge, if obstructed
- bridge_traffic= Average Daily Traffic value
- bridge_toll= Price of the toll (if a toll bridge)
- bridge_id= National Bridge ID#, if available
- map_cue=
- map_image= Filename of map image of dam
- map_text= Caption beneath map image of dam
- map_width= Map width in a standard value (pixels, for example)
- coordinates= Latitude and longitude in {{coord}} format with display=inline,title, see also Wikipedia:WikiProject Geographical coordinates#Parameters
(use either coordinates= or lat= long=, but not both)
- lat= Latitude long= Longitude
- extras= free form, spans both columns, use sparingly
- website=Raw wikitext representing a website. Use [brackets] where appropriate
Microformat
[sunting sumber]Penanda HTML yang dihasilkan oleh templat ini termasuklah mikroformat hCard, yang menjadikan nama tempat dan lokasi boleh dihuraikan oleh komputer, sama adan bertindak secara automatik untuk mengkatalogkan rencana merentasi Wikipedia atau melalui alat pelayar yang dikendalikan oleh orang, contohnya untuk menambah subjek pada buku alamat. Di dalam hCard terdapat mikroformat Geo, yang membolehkan koordinat (garis lintang dan bujur) dihuraikan, supaya ia boleh mencari peta atau memuat turun unit GPS.
Subtemplat
[sunting sumber]Jika suatu tempat itu mempunyai medan "diasaskan", "ditubuhkan", "dibuka atau yang serupa, gunakan templat {{Tarikh mula}}. Jika ia mempunyai URL, gunakan templat {{URL}}.
Harap tidak membuang contoh-contoh subtemplat ini.
Kelas
[sunting sumber]hCard menggunakan kelas-kelas HTML termasuklah:
- adr
- agent
- category
- county-name
- extended-address
- fn
- label
- locality
- nickname
- note
- org
- region
- street-address
- url
- vcard
Geo dihasilkan dengan memanggil {{Koord}}, dan menggunakan kelas-kelas HTML:
- geo
- latitude
- longitude
Jangan menamakan semula atau membuang kelas-kelas ini, atau meruntuhkan unsur-unsur bersarang yang menggunakannya.
Ketepatan
[sunting sumber]Apabila menggunakan koordinat, sila gunakan tahap ketepatan yang bersesuaian. Jangan gunakan parameter |name=
pada {{Koord}}.
Pendokumenan di atas ditransklusikan daripada Templat:Infobox Dam/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |