Template talk:Infobox swimming pool
Infoboxes | ||||
|
Swimming Template‑class | |||||||
|
This template was considered for deletion on 1 October 2013. The result of the discussion was "no consensus". |
Creation[edit]
This template has been created as part of a collaboration on Category:Lidos, your suggestions for corrections or improvements are welcome.—Speedoguy (talk) 09:53, 16 November 2009 (UTC)
Comments - Did you use the Template:Infobox meta-template?[edit]
Just wondering why the text is so large? Did you use the Template:Infobox meta-template to create this infobox? It will ensure standard layout and styling across infoboxes on WP - i.e. standard text size, left-aligned labels and data etc. Yboy83 (talk) 10:34, 16 November 2009 (UTC)
- Thanks for the tip, I was basing the style on {{Infobox Sports Centre}}, but I'll re-work it and adopt the meta-template classes as the text size is a poor layout for the article.—Speedoguy (talk) 11:04, 16 November 2009 (UTC)
- Reworked, the style is now similar to {{Infobox_artist}} and consequently takes up rather less space on the page.—Speedoguy (talk) 11:41, 16 November 2009 (UTC)
Problems with blank fields[edit]
Not a show stopper but a niggle -- I've had difficulty with the script properly handling blank fields. Where a parameter is declared (such as image_width=) but with no data, the entire line needs to be deleted before the parameter is treated as undefined. I guess this is because it is treated as an empty string rather than a null value. Anyone want to tip me how to get an #if statement to handle this more neatly?—Speedoguy (talk) 13:21, 17 November 2009 (UTC)
- Got a work-around by using {{str len}}, so to check pool_name and use the article name if unset or the parameter is not entered:
{{#ifexpr:{{str len|{{{pool_name|x}}} }}>2|{{{pool_name}}}|{{PAGENAME}} }}
. If someone has a less clumsy solution I'd be glad to know about it.—Speedoguy (talk) 13:46, 17 November 2009 (UTC)
Delete[edit]
This template should get deleted, it is nonsense. --5.43.74.120 (talk) 11:44, 24 January 2022 (UTC)
Same as templates for infoboxes for airport, factory, hospital, observatory, restaurant, school, shopping mall, station; artwork, fishery, pier, pipeline, power transmission line (probably), roller coaster (probably), room, transmitter, tunnel, water ride should be deleted. --5.43.74.120 (talk) 11:56, 24 January 2022 (UTC)