Template talk:Infobox bus station

Latest comment: 11 years ago by Dr Greg in topic Add a map

Comments edit

There are a couple of minor problems with this:

  • Should probably be named "Infobox UK bus station" - not just England and not plural (it's only one station).
  • "Place" (locale) might be better as "Address" with at least the street name to locate it within the town/city.
  • What is so special about National Express? It's just another bus company.
  • The "image" parameter displays code if there is no entry.

Overall it was something that was badly needed. Thank you. -Secondarywaltz (talk) 05:45, 19 April 2009 (UTC)Reply

Co-ordinates edit

I have added co-ordinates & OS reference to the template as per the {{Infobox UK railway station}} template. Keith D (talk) 23:26, 18 June 2009 (UTC)Reply

Proposal: Add postcode parameter edit

Given the increasing importance of postcodes for navigation, I would like to propose that we add a postcode parameter to this table. This is surely at least as important as the OSGR. It would improve the usefulness of Wikipedia for people trying to get to the bus station in a hurry, who have mapping/navigation facilities on their mobiles. --John Maynard Friedman (talk) 16:11, 10 March 2011 (UTC)Reply

Add a map edit

I'd like to add a map, consistent with other infoboxes. I'm already testing this in a sandbox, and these are the parameters I propose to add:

| map_type     = name of a map, as listed under Category:United Kingdom location map templates (omitting "Location map ")
| map_caption  = caption for map (defaults to "Location within (name of map area)") 
| map_alt      = 'alt' text for map (defaults to "(map_dot_label) is located in (name of map area)") 
| map_dot_label= label for red dot on map (defaults to "Bus station") 
| map_size     = width of map; usually omit this and use the default 

For example, typically you'd add

|map_type=United Kingdom Sheffield
|map_dot_label=Sheffield Interchange

to a template usage.

I've copied and pasted the relevant code from {{Infobox building}}, but use only the existing latitude and longitude parameters, i.e. I don't support latd, latm, lats, etc, nor gridref.

Does anyone object to this, or require further explanation, or would prefer different behaviour? -- Dr Greg  talk  21:20, 7 February 2013 (UTC)Reply

I think that you need a label position parameter so that you can place the on map text at some position other than right of the dot as that may not be suitable depending on the map content. Keith D (talk) 22:36, 7 February 2013 (UTC)Reply
Thanks, I'll add that. It will be
     | label_position= override default location of label, can be bottom, left, right, top
The default behaviour will be decided by {{Location map}}, left or right depending on where the dot is within the map. -- Dr Greg  talk  00:06, 8 February 2013 (UTC)Reply
I have now gone live with this. You can see it in action both in the example within the documentation and at Preston bus station. -- Dr Greg  talk  20:56, 11 February 2013 (UTC)Reply