Template talk:PoIgb

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Microformats
PoIgb is part of, or of interest to, WikiProject Microformats, which encourages the deployment of microformats in Wikipedia, and documents them in the article space. If you would like to participate, visit the project page.

Firefox issue[edit]

I have noticed an obscure bug when using this template with Firefox. I noticed it on Dorset and Somerset Canal, where the template is defaulted to collapsed mode. The 'show' button has to be clicked twice, giving the impression on first click that it is broken altogether.

It starts off looking like this:

 Point     [show]

after the first click it looks like this:

     [show]
 Point

Clicking it now will display the table, and thereafter clicking works fine. There seems to be no problem in Explorer and Opera. I feel that it has something to do with the way the 'show' link flips from one line to another.Derek Andrews (talk) 11:19, 26 March 2008 (UTC)[reply]

Title coordinates not shown[edit]

The example in the template docs shows a problematic case where one of the PoIgb templates has display=title set. This will cause the title coordinates in teh top right of the article to only show up when the POI table is in the unfolded state (not by default). This is unintuitive and confusing. There is no apparent reason to the user why the coordinates at the top of the page should be connected to a foldable list at the botton of an article. --Dschwen 17:36, 14 May 2012 (UTC)[reply]

This behaviour had me puzzled for a long time. If noone can suggest a technical solution I will have to remove that functionallity. Oosoom Talk 13:08, 15 May 2012 (UTC)[reply]
I doubt there is a technical solution. The title coordinate is a part of the DOM subtree that gets display:none. AFAIF there is no way to display subelements of a hidden DOM subtree. I know it is a bit counterintuitive, because the coordinate is not visibly in that table, but it is syntactically. --Dschwen 14:03, 15 May 2012 (UTC) P.S.: best would be to run a bot over all articles and copy the coordinate with display=title to outside of the table (using {{coord}}). --Dschwen 14:04, 15 May 2012 (UTC)[reply]
The only technical solution I could offer is adding a piece of javascript to my WikiMIniAtlas code to move the title coordinate object out of the table and have it displayed at all times. --Dschwen 14:07, 15 May 2012 (UTC)[reply]
With only two dozen articles using the parameter I might as well edit them manually. Thanks for your comments. Oosoom Talk 18:15, 16 May 2012 (UTC)[reply]

feature type?[edit]

Using the coord template it is possible to give a type for each geocode (city/landmark/forest/edu/railwaystation etc). Is it also possible to do that using this template? If it can then could it be explained on the description page? PeterEastern (talk) 08:04, 1 June 2012 (UTC)[reply]