Share to: share facebook share twitter share wa share telegram print page

Template talk:Infobox dam

Edit request

The link for label52 needs to just be Dam#Types. The "of dams" part was removed from the section name over a year ago. lukini (talk | contribs) 18:36, 4 September 2024 (UTC)[reply]

 Done, thanks for the suggestion — Martin (MSGJ · talk) 20:55, 4 September 2024 (UTC)[reply]

Pushpin map marker lacks text

Hi, for example in W. A. C. Bennett Dam and Longhorn Dam, the pushpin maps can have title text nearby its locator in the map, lacking now. Please inspect. It should become something like pushpin map of Template:Infobox body of water template in the article E.V. Spence Reservoir. Thanks, Hooman Mallahzadeh (talk) 16:36, 12 April 2025 (UTC)[reply]

Support. It would be good if the pushpin label field from location map was added to this template. SnowyRiver28 (talk) 09:24, 12 September 2025 (UTC)[reply]
@SnowyRiver28 Sandboxed here, and tested successfully. Hooman Mallahzadeh (talk) 12:40, 12 September 2025 (UTC)[reply]

@Joy: Hi, please apply these two changes:

| image2        = {{#if:{{both|{{{location_map|}}}|{{{coordinates|}}}{{#property:P625}}}}|{{Location map|{{{location_map}}}
| relief        = {{yesno|{{{location_map_relief|{{{relief|yes}}}}}}|no=|def=yes}}
| coordinates   = {{{coordinates|}}}
| float         = center
| border        = infobox
| width         = {{{location_map_size|}}}
| default_width = 235
| alt           = {{{location_map_alt|}}}
| caption       = {{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|Location of {{{name|{{PAGENAMEBASE}}}}} in {{#invoke:Location map|data|{{{location_map|}}}|name}}}} 
|label = {{#ifeq: {{lc: {{{pushpin_label_position|}}} }} | none | | {{if empty|{{{pushpin_label|}}}|{{{name|}}}|{{PAGENAMEBASE}} }} }}
}}
}}

| image3      = {{ifeq|{{{ShowMap|}}}|yes| 
{{#invoke:Infobox mapframe|auto|onByDefault={{#if:{{{pushpin_map|}}}{{{map_type|}}}{{{image_map|}}}|no|yes}}|mapframe-width=250|mapframe-frame-width=250|mapframe-marker=dam|mapframe-wikidata = yes | mapframe-zoom = 13}}
}}

Thanks alot, Hooman Mallahzadeh (talk) 12:47, 12 September 2025 (UTC)[reply]

@Paine Ellsworth Hi and sorry for taking your time. I don't know why this request is still not done. I will appreciate you if you apply that. Thanks, Hooman Mallahzadeh (talk) 08:18, 27 September 2025 (UTC)[reply]

Child

Please add child to the list of valid parameters in Check for unknown parameters — it is an alias for embedGhostInTheMachine talk to me 10:00, 31 July 2025 (UTC)[reply]

 Completed. P.I. Ellsworth , ed. – welcome! – 19:12, 12 September 2025 (UTC)[reply]

Dam and spillways

Dam and spillways section should have parameter "dam_name" (say, above "dam_type").

},
"dam_name": {
  "lable": "Dam name",
"description": "Name of dam. If name of dam is different from name of power plant; sometimes dam and power plant are far apart,  located in different locations with different names.",
"type": "string"
       },

As I explained in above description, the name of a dam is often different from the name of a power plant, because they are often far apart, located in different locations with different names. There are even case where the names are different even though dam and power plant are literally next to each other (like Gorica Dam (forms Gorica Lake) and Trebinje-2 hydroelectrical power station; same is with Grnčarevo Dam with Trebinje-2 hydroelectrical power station.) ౪ Santa ౪99° 00:16, 4 October 2025 (UTC)[reply]

Makes sense. Would you be able to sandbox your proposal? — Martin (MSGJ · talk) 10:52, 4 October 2025 (UTC)[reply]
I am not sure, I can try. If I fail, I will leave the message here. ౪ Santa ౪99° 12:45, 4 October 2025 (UTC)[reply]
No idea how to do that. I tried, but I am not even sure I understand what should I do. I tried to change Template in a sandbox, but it still gives me usual Preview warning: Page using Template:Infobox dam with unknown parameter "dam_name" and in the Template data Unexpected property "params.dam_name.lable". Same for the second parameter inclusion concerning lower_dam_name ౪ Santa ౪99° 13:18, 4 October 2025 (UTC)[reply]
Prefix: a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9

Portal di Ensiklopedia Dunia

Kembali kehalaman sebelumnya