Jump to content

Template talk:Infobox pipeline

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Caption

[edit]

If the capture text is too long to fit in one line and it will be placed in two lines, the space between the lines is not adequate (e.g. see MEGAL pipeline). It needs a larger line spacing. Chancing center alignment to the left alignment somehow fixed this problem. If there is any other way to fix this problem, please help to do this. Beagel (talk) 07:39, 12 July 2009 (UTC)[reply]

The reason .7em line-height was added was to reduce empty space around the caption; I didn't think about multi-line captions. I just edited the infobox to use regular line-height and added "padding:0px" to the caption to achieve the same effect. Thanks for pointing that out! --Dudemanfellabra (talk) 07:54, 12 July 2009 (UTC)[reply]

Automatic categorization

[edit]

I temporarily disabled the autocategorization, which adds the Category:Pipelines. The reason is that oil and gas pipelines have more subcategorized system and adding general Pipeline category would be overcategorization. Any idea what to do with this? Beagel (talk) 07:39, 12 July 2009 (UTC)[reply]

There's gotta be some way we could tie it into the pipeline type category. JKBrooks85 (talk) 07:48, 12 July 2009 (UTC)[reply]
The code that calls the category could be set up to use the #switch parser function and rely on the "type" parameter to choose categories. Something like:
{{#switch:{{{type|}}}|gas=[[Category:Natural gas pipelines]]|oil=[[Category:Oil pipelines]]|water=[[Category:Water pipelines]]
 |[[Category:Pipelines]]}}
This code would default to Category:Pipelines, but if a type was specified, the article would be put into a more narrow category. --Dudemanfellabra (talk) 08:05, 12 July 2009 (UTC)[reply]
It solves the problem for water pipelines, and for most of oil pipelines (there are not so much subcategories under Category:Oil pipelines yet. This is not suitable for gas pipelines as because of the large number of pipelines they were categorized by continents, and in some cases also by countries. Maybe just to exclude gas pipelines and to use this function only for other types of pipelines? Beagel (talk) 08:12, 12 July 2009 (UTC)[reply]
With automatic categorization, you can only get so specific. If any further categorization is to be done, it must be manual. Since there are only like a hundred(ish) articles in these categories, why not just remove the auto-cat feature altogether and manually categorize the articles? --Dudemanfellabra (talk) 17:40, 12 July 2009 (UTC)[reply]

MEtric!!!!

[edit]

The data MUST be given FIRST in metric units, except rare cases of pipelines regarding US or UK which are the SOLE countries in the world this using such primitives units of measure. Also, the automatic conversion declared in the infobox pages doesn't work. --'''Attilios''' (talk) 20:57, 15 July 2009 (UTC)[reply]

I see your point. I just edited the template to default to metric first but still allow an editor to display English first by using "length_mi" instead of "length". --Dudemanfellabra (talk) 21:12, 15 July 2009 (UTC)[reply]

Cost

[edit]

I believe it would be useful to add a (construction) cost parameter. If ok, where would this go in the infobox? Alaney2k (talk) 22:31, 13 February 2020 (UTC)[reply]