Jump to content

Wikipedia talk:Route diagram template: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Line 73: Line 73:
:::Can you capture a screenshot of the blue background map? You can upload the screenshot to [[Wikimedia Commons]] using the CC-by-sa 3.0 license after cropping out the browser interface. This will help everyone greatly to understand your issue. -- [[User:Sameboat|Sameboat - 同舟]] ([[User talk:Sameboat|talk]]) 14:02, 29 December 2011 (UTC)
:::Can you capture a screenshot of the blue background map? You can upload the screenshot to [[Wikimedia Commons]] using the CC-by-sa 3.0 license after cropping out the browser interface. This will help everyone greatly to understand your issue. -- [[User:Sameboat|Sameboat - 同舟]] ([[User talk:Sameboat|talk]]) 14:02, 29 December 2011 (UTC)
::::Here's an illustration of the problem. Concerning the French case, you must know that there are two types of templates: those that use the original names (such as BHF or STR) and those that use translated names (so for the exact same icons the names GARE and VOIE) &ndash; the first appear under the names <tt>BS</tt>, <tt>BS2</tt>, <tt>BS3</tt>, etc, while the second use the names <tt>BSbis</tt>, <tt>BS2bis</tt>, <tt>BS3bis</tt>, etc. When a line of the diagramme uses a template that uses the translated French name for icons (such as {{tl2|LANG=fr:|BS3bis}}) the blue background doesn't appear, and when a line of the diagramme uses a template that uses the original names (such as {{tl2|LANG=fr:|BS}}) the blue background does appear. [[Special:Contributions/86.200.212.64|86.200.212.64]] ([[User talk:86.200.212.64|talk]]) 23:05, 29 December 2011 (UTC)
::::Here's an illustration of the problem. Concerning the French case, you must know that there are two types of templates: those that use the original names (such as BHF or STR) and those that use translated names (so for the exact same icons the names GARE and VOIE) &ndash; the first appear under the names <tt>BS</tt>, <tt>BS2</tt>, <tt>BS3</tt>, etc, while the second use the names <tt>BSbis</tt>, <tt>BS2bis</tt>, <tt>BS3bis</tt>, etc. When a line of the diagramme uses a template that uses the translated French name for icons (such as {{tl2|LANG=fr:|BS3bis}}) the blue background doesn't appear, and when a line of the diagramme uses a template that uses the original names (such as {{tl2|LANG=fr:|BS}}) the blue background does appear. [[Special:Contributions/86.200.212.64|86.200.212.64]] ([[User talk:86.200.212.64|talk]]) 23:05, 29 December 2011 (UTC)
::::{{hidden begin|title=File:BS-table problems in Opera 11.60.png|titlestyle = background:lightgrey; text-align:center;}}[[File:BS-table problems in Opera 11.60.png|thumb|1000px]]{{hidden end}}
::::{{hidden begin|title=File:BS-table problems in Opera 11.60.png|titlestyle = background:lightgrey; text-align:center;}}[[File:BS-table problems in Opera 11.60.png|thumb|1000px]]{{hidden end}}<br />


{| border="1" align="right"
|-
| align="center" |
{{bs-map
{{bs-map
|map={{BS|STR||row 1|bg=transparent}}
|map={{BS|STR||row 1|bg=transparent}}
Line 80: Line 83:
|map3={{BS|STR||row 3|bg=red}}
|map3={{BS|STR||row 3|bg=red}}
}}
}}
| align="center" | [[File:More BS-table problems in Opera 11.60.png]]
|-
| Original BS-table
| BS-table in Opera
|}

Can you tell how the right map looks like? I suspect the issue is related to the default entry of background color, but want your confirmation. -- [[User:Sameboat|Sameboat - 同舟]] ([[User talk:Sameboat|talk]]) 01:00, 30 December 2011 (UTC)
Can you tell how the right map looks like? I suspect the issue is related to the default entry of background color, but want your confirmation. -- [[User:Sameboat|Sameboat - 同舟]] ([[User talk:Sameboat|talk]]) 01:00, 30 December 2011 (UTC)

This is what I see - I think you're on to something. [[Special:Contributions/86.200.212.64|86.200.212.64]] ([[User talk:86.200.212.64|talk]]) 11:14, 30 December 2011 (UTC)

Revision as of 11:14, 30 December 2011


File:BSicon INTACCe.svg
Before making icon requests, please check Rail Icons as it might already exist. If the required icons are not available, please make your request at the icon catalog's talk page. File:BSicon uKBFa.svg

Chrisbot is no longer running.

Template:Archive box collapsible

RDT in mobile view

I was looking at several RDT in mobile view (smart phone) over the past day. I have noticed that when various BS templates are used in an RDT, for example {{Glasgow Central}} which uses BS-5, BS-7 and BS-9 vertical alignment is lost, hence the vertical lines through the template are lost. Looking at a template which has a constant BS - {{Dalry and North Johnstone Line}} which only has BS-3 the vertical line through the template is maintained. Mobile view also was showing white space between each line, however this was not too much of a viewing issue.

Thoughts? --Stewart (talk | edits) 11:24, 15 August 2011 (UTC)[reply]

I don't use mobile to browse website. Can you capture the screenshots from your phone so we can get a better idea? -- Sameboat - 同舟 (talk) 01:03, 16 August 2011 (UTC)[reply]
Going to have to work out how to get screenshots from the mobile - may have to revert to a digital camera. In the meantime have a look at "mobile view of Template:Glasgow Central". and "mobile view of Template:Dalry and North Johnstone Line".. This is not exactly the same as the mobile, but illustrates the issue. You might like to pick up the "mobile view" option at the bottom of any page. --Stewart (talk | edits) 22:09, 17 August 2011 (UTC)[reply]
If the mobile view option on a "standard" computer browser is close to the actual rendering on the mobile phone, I would say this is unfortunately incurable, UNLESS our mobile staff modify the global css of mobile view. Seemingly the primaily cause of the breakings is that the width and height of the table cell are stretched greater of equal precentage (which is not intended by the RDT project.) This is better reported to meta staff m:Mobile Projects, but I doubt they would take this issue too seriously. -- Sameboat - 同舟 (talk) 01:17, 18 August 2011 (UTC)[reply]
The rendering via the mobile view on a "standard" copmputer browser illustrates the main display features on a smartphone. So I guess it is off to Mobile Projects. It does raise an interesting point in my mind with respect to the increased use of mobile devices - Android, Blackberry and iPhone - and also tables for example the iPad and (if the copyright issues are sorted) the Samsung Galaxy tablet, as the latter two have a lot of similarities with thier respective assocaited smartphones. Incidentally it is a Galaxy SII that I have recently been trialling. --Stewart (talk | edits) 11:37, 18 August 2011 (UTC)[reply]

New replacement bot?

moved to Commons:Talk:BSicon#New replacement bot?

Local files

moved to Commons:Talk:BSicon#Local files

Hover2Discover

Can I ask for opinions on my Hover2Discover RDT, shown on my user subpage SubShuttle?
I am not saying that it should always be credited to me, but would it work on a mass scale?
--by Xsanda (visit my talk page) 16:12, 16 October 2011 (UTC)[reply]

OK then.
  • It is far too big: we draw RDTs up and down the page, rather than across, because we don't know how wide the user's monitor is.
  • A few visible location names should be provided: expecting the user to mouseover to see them could violate WP:ACCESSIBILITY.
  • Putting your name in there could be seen as a violation of WP:OWN.
  • I recognised the area straight away (I used to work in Newbury), but I'm not aware of any scheme called "sub shuttle". What is this?
--Redrose64 (talk) 16:54, 16 October 2011 (UTC)[reply]
This is not a diagram, this is a full-blown map built with the RDT templates. It would be more useful to start with a screenshot from OpenStreetMap and trace over what you want to show (as in, e.g. File:Holstebro - Vejle railway.png), then use something like {{Overlay}} or the various templates providing similar functionalities to label it. Circéus (talk) 17:57, 16 October 2011 (UTC)[reply]

Opera as a browser

In Opera the BS icons always have a blue background when in a BS-table. Does anyone know why, and more importantly can they fix it? 90.37.123.194 (talk) 09:49, 28 December 2011 (UTC)[reply]

Template:BS-headerTemplate:BS-tableTemplate:BSTemplate:BS

|}

Curious - I've not seen this before. I shall check when next on a machine with Opera installed (currently away from home - not my PC to install software on). One thing I do know is that BS icons are set up with a transparent background - that is why the overlay feature works (the horizontal blue line on Station B at right is an overlay) - and so when displayed in an RDT, the icon background should match the RDT's background. This is inherited from the XHTML class="toccolours" specified by the {{Railway line header}} template (this class is defined as .toccolours{border:1px solid #aaa;background-color:#f9f9f9;padding:5px;font-size:95%}, #f9f9f9 being a very pale grey -  ), and may be partially or wholly overridden by adding a parameter to that template, as at right. So, when looking at my mini-RDT, do you see a consistent yellow, or does the background also take a blue tint at the icon positions? --Redrose64 (talk) 15:19, 28 December 2011 (UTC)[reply]
There is still the mystery blue background for the icons, and yellow in the rest of the box. I have also posted a message on Opera's forums (here). In the French version (check here) the French language template (where it says en mode francophone) doesn't show the blue background while the Original/German language template does (en mode internationale). Their source codes are very different however. 86.200.212.64 (talk) 13:18, 29 December 2011 (UTC) (different IP, same guy)[reply]
Can you capture a screenshot of the blue background map? You can upload the screenshot to Wikimedia Commons using the CC-by-sa 3.0 license after cropping out the browser interface. This will help everyone greatly to understand your issue. -- Sameboat - 同舟 (talk) 14:02, 29 December 2011 (UTC)[reply]
Here's an illustration of the problem. Concerning the French case, you must know that there are two types of templates: those that use the original names (such as BHF or STR) and those that use translated names (so for the exact same icons the names GARE and VOIE) – the first appear under the names BS, BS2, BS3, etc, while the second use the names BSbis, BS2bis, BS3bis, etc. When a line of the diagramme uses a template that uses the translated French name for icons (such as {{BS3bis}}) the blue background doesn't appear, and when a line of the diagramme uses a template that uses the original names (such as {{BS}}) the blue background does appear. 86.200.212.64 (talk) 23:05, 29 December 2011 (UTC)[reply]
File:BS-table problems in Opera 11.60.png

Template:Bs-map

Original BS-table BS-table in Opera

Can you tell how the right map looks like? I suspect the issue is related to the default entry of background color, but want your confirmation. -- Sameboat - 同舟 (talk) 01:00, 30 December 2011 (UTC)[reply]

This is what I see - I think you're on to something. 86.200.212.64 (talk) 11:14, 30 December 2011 (UTC)[reply]