Template talk:Infobox church/Archive 4

Latest comment: 13 years ago by Scrivener-uki in topic Header colour and lettering

Infobox with pushpin map: please test

I have created a version of the infobox at {{Infobox church/sandbox}} which allows for the optional insertion of a pushpin map. Examples of the sandboxed template in use can be seen at {{Infobox church/testcases}}. As you can see, I've tried to solve the problem we're having with the |coordinates= parameter by removing the parameter title "Coordinates" and centering the co-ordinates in the infobox. Thus, the sandboxed template is now compatible with the |display=inline,title, |display=inline and |display=title parameters of {{coord}}, and also with {{oscoor}}.

However, you will notice from the examples that if |display=title is used with {{coord}} and <br> is used to separate {{coord}} and {{oscoor}}, this creates a blank line in the infobox. The easiest solution is to inform editors that if they wish to use |display=title with {{coord}} as well as {{oscoor}}, they should type {{coord}} and {{oscoor}} with no space in between (i.e., "{{coord|...|display=title}}{{oscoor|...}}" – the third example on the test page) or separate {{coord}} and {{oscoor}} with a space, and under no circumstances use <br>. Anyway, please try out the sandboxed template and let me have your feedback on it. The parameters for the pushpin map are listed at {{Infobox settlement#Maps, Coordinates}} under the subheading "Pushpin map(s), Coordinates". — Cheers, JackLee talk 16:20, 20 October 2009 (UTC)

Judging by the test cases you provide that seems to work. Nice job. -Arb. (talk) 22:52, 20 October 2009 (UTC)
I guess the OS reference should have a title of OS Grid Ref with link to British national grid reference system when present so that people know what it is. Keith D (talk) 23:55, 20 October 2009 (UTC)
OK, I've added a new parameter |osgridref=. Have a look at {{Infobox church/testcases}}. — Cheers, JackLee talk 14:06, 21 October 2009 (UTC)
Looks OK to me. Keith D (talk) 16:23, 21 October 2009 (UTC)
More than a week has passed and there are no highlighted issues or other comments, so I've gone ahead to make the sandboxed template live. Enjoy! — Cheers, JackLee talk 22:08, 31 October 2009 (UTC)

I noticed and so just fixed a bug with this: one underscore wasn't removed at the same time as the others so it would not display without an extra parameter (see the history of St Mary and St Cuthbert, Chester-le-Street for details). It now seems to work and matches the documentation so no need to update that. --JohnBlackburnewordsdeeds 21:29, 23 February 2010 (UTC)

Just noticed an article with an infobox and map, Our Lady of Mount Carmel Parish (Wyandotte, Michigan), which was broken as it did not have coordinates. I've fixed it but there may be more, with maps that editors have added but not finished as they were not working. The bare minimum needed seems to be latd and longd, so I added those from the page coordinates. Is there any easy way to now find the (probably very few) articles which have this infobox with a map ?--JohnBlackburnewordsdeeds 21:40, 23 February 2010 (UTC)
Checked about 100, found and fixed another, Basilica of St. Hyacinth, in same corner of the US which is suggestive. Need to do other things now but at least it doesn't seem like a major problem.--JohnBlackburnewordsdeeds 21:50, 23 February 2010 (UTC)
Worked out a little easier way to do it: I added a category inside the #if so churches with pushpins were listed (in Category:Images of churches) then checked each. Seemed to be mostly Polish American churches in Chicago, and I was able to fix all of them except St. Joseph's Basilica, Edmonton as there are no coords to use.--JohnBlackburnewordsdeeds 10:07, 24 February 2010 (UTC)
Great. Thanks for your help! — Cheers, JackLee talk 14:39, 24 February 2010 (UTC)

Template:Infobox religious building

The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Please continue the discussion at "Infobox with pushpin map: please test".

Are you all aware of this one? It has both map capability and in the infobox coords. Eg Westwood Moravian Church. -Arb. (talk) 22:29, 15 October 2009 (UTC)

Yes. The purpose of {{Infobox church}} is to allow both information about the architecture of a church building and about its administration to be presented in a single template. But I will have a look at {{Infobox religious building}} to see where it presents the location map. — Cheers, JackLee talk 12:12, 16 October 2009 (UTC)
(Copied from above for continuity) If there is already an image, the map looks better at or near the bottom of the infobox. An example of how this works in the Historic Site Infobox is here. Peter I. Vardy (talk) 14:17, 16 October 2009 (UTC)
The discussion above is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.

Alt text for images

Is it possible to add alt text for the image? It seems to be a requirement now for taking articles to higher levels (GA, FA)?--Peter I. Vardy (talk) 10:07, 23 March 2010 (UTC)

Yes, go ahead and do so. The images appear at the subpage "Template:Infobox church/denomination". — Cheers, JackLee talk 11:24, 23 March 2010 (UTC)
Sorry, don't understand. Do we not need a new field, say "image alt", similar to "pushpin map alt"?--Peter I. Vardy (talk) 13:43, 23 March 2010 (UTC)
I got completely mixed up with another template that I sometimes work on. Sorry about that! OK, I've created a sandboxed template at "Template:Infobox church/sandbox" with the new parameters |imagelink= and |imagealt=, and a sample infobox at "Template:Infobox church/testcases" (although I'm not sure how to check that it's working since alt text is not usually visible. — Cheers, JackLee talk 14:58, 23 March 2010 (UTC)
I've pinched a "toolbox" from elsewhere, modified it and added it to "Template:Infobox church/testcases". If you click on "alt text" it seems to show it works, I think. Do you agree?--Peter I. Vardy (talk) 16:17, 23 March 2010 (UTC)
I noticed it missing when messing with the pushpin map the other day, but was too intent on that to pay any attention, but now you've fixed it I've added alt text to St Mary and St Cuthbert, Chester-le-Street and it seems to be working fine.--JohnBlackburnewordsdeeds 17:04, 23 March 2010 (UTC)
  Done. I've added the new parameters. Do we need an alt text parameter for the logo as well? — Cheers, JackLee talk 17:08, 23 March 2010 (UTC)
I added |logolink= and |logoalt= for the logo image as well. Thought we might as well be consistent. — Cheers, JackLee talk 04:51, 26 March 2010 (UTC)

Imagelink

The imagelink parameter should default to the image description page. Otherwise it is not possible for most people to find the information about the image. /90.229.128.74 (talk) 17:03, 25 March 2010 (UTC)

Ah. So the image does not automatically link to the image description page if no parameter is specified for |imagelink=? — Cheers, JackLee talk 18:28, 25 March 2010 (UTC)
No, it doesn't, it doesn't link anywhere. I think this needs to be fixed, as practically all users interested in the image will want to look at the larger file on the image description page. Hohenloh + 19:21, 25 March 2010 (UTC)
OK,   Done. Let me know if it works properly. — Cheers, JackLee talk 19:29, 25 March 2010 (UTC)
Yes, works for me, (though I had to purge the page first). --JohnBlackburnewordsdeeds 19:35, 25 March 2010 (UTC)
Yes, seems to be OK now - thanks! Hohenloh + 02:16, 26 March 2010 (UTC)

Protected?

Why has this template been protected? I wasn't aware that it was being abused...

- Alvincura (talk) 22:15, 13 September 2010 (UTC)

Pushpin label text

Where does the pushpin label text come from for this template? I have looked at a few articles, non of which has a pushpin label. I was wondering if pushpin label was broken or being used incorrectly in the few I examined? St James' Church, Stretham, St George's Church, Little Thetford, Saint Saviour's, Branston, Church of the Resurrection, Hurley, Baxterley Church and St. Mary the Virgin Church, Uttoxeter. When I compare other articles, using say {{Infobox UK place}}, there is a label which I suspect comes from the parameter <| official_name=>. Articles such as Stretham, Little Thetford, Ely and Littleport --Senra (Talk) 21:02, 27 September 2010 (UTC)

It's working here: St Mary and St Cuthbert, Chester-le-Street – the name of the field is "map caption".--JohnBlackburnewordsdeeds 21:34, 27 September 2010 (UTC)
Am I missing something? Perhaps it is a browser issue. I use Firefox and I do not see a pushpin label in St Mary and St Cuthbert, Chester-le-Street but I do see a "| map caption = Location of church in County Durham" which indeed shows as a caption to the map. It does not show on the map alongside the red pushpin --Senra (Talk) 23:45, 27 September 2010 (UTC)
I'm using Mozilla FireFox 3.6.10, and can see the red pushpin at "St Mary and St Cuthbert, Chester-le-Street". However, you are right that there is no label beside the pushpin, only a caption at the bottom of the map. Am rather busy at the moment; perhaps someone who is knowledgeable about templates can attempt a fix. — Cheers, JackLee talk 07:56, 28 September 2010 (UTC)
Yes, sorry, I misunderstood the original question. Looking at the template and a quick test it seems if you supply the parameter "name" that's used as the pushpin label. It looks like it should default to 'PAGENAME' otherwise, but that's clearly not happening, I'm not sure why. Also the label works less well with the new more detailed maps.--JohnBlackburnewordsdeeds 08:19, 28 September 2010 (UTC) Ah, seems I was looking at it just fixed by Jacklee: PAGENAME is working too, though you may have to purge a page to see it.--JohnBlackburnewordsdeeds 08:23, 28 September 2010 (UTC)
I noticed that the recent issue had been caused by a recent change by another editor so I reverted it, but the template may not be working as intended yet. Perhaps someone can set out more clearly what the desired behaviour of the template should be. — Cheers, JackLee talk 08:57, 28 September 2010 (UTC)
Seems to be working for me now. At least the ones I checked: St James' Church, Stretham, St George's Church, Little Thetford, Saint Saviour's, Branston, Church of the Resurrection, Hurley, Baxterley Church and St. Mary the Virgin Church, Uttoxeter so thank you. As a side issue, those using this template may have to use both |name= and |fullname= as many of these church article names are long and look crowded on the map. I have fixed all the ones I listed as examples --Senra (Talk) 10:29, 28 September 2010 (UTC)

Header colour and lettering

The lettering in the navy blue headings are difficult to read. Is it possible to have the lettering changed from black to white, or have the headers changed to a lighter colour? 15:26, 22 October 2010 (UTC)

Which of the header colours at {{Infobox church/denomination}} are you referring to? I don't see any navy blue one. — Cheers, JackLee talk 18:35, 22 October 2010 (UTC)
They were black on black for a while as some interwiki links added today were being included and breaking both the denomination and font color templates. I moved them so they were not causing problems, though I don't know if they should be removed altogether.--JohnBlackburnewordsdeeds 18:46, 22 October 2010 (UTC)
Oh, I see. — Cheers, JackLee talk 19:54, 22 October 2010 (UTC)
Ah, I see from my watchlist you've been fixing it properly. I did not realise iw links should be on doc pages but it makes sense, thanks.--JohnBlackburnewordsdeeds 18:47, 22 October 2010 (UTC)
No worries! — Cheers, JackLee talk 19:54, 22 October 2010 (UTC)
The problem has been fixed now. Beforehand, when I looked at some church pages, the coloured band was navy blue, which made the lettering in the band difficult to read. It has been sorted out, thanks everyone. Scrivener-uki (talk) 10:31, 24 October 2010 (UTC)