User talk:Frietjes

From Wikipedia, the free encyclopedia
Jump to: navigation, search


Barnstar for you![edit]

Nomination for deletion of Template:Location map Kingdom of Hungary[edit]

From my talk page back in september.

Bugger bugger bugger, I saw a map in the transport museum in budapest we went the other week and it had the lat and long but in pretty much a mercator projection. My missus was more interested with the toy trains so I didn't get a chance to take the measures off it. If it's wrong (as it is) it should be deleted but I am still trying to get the measures right. The thing is it's specifically Kingdom of Hungary, but the more atlases (atli? :) I look at the more different lats and longs I get. And anything one does on Hungarian articles is rather contentious, so it is probably really better deleted. Because people whose great grandfathers were part of the Kingdom of Hungary will say no that's Croatia or Slovakia or Slovenia or Yugoslavia or Jugoslavia or The People's Republic of East Kebab. Since Hungarian politics is very contentious and goes on racist grounds in far more than would be allowed in where I come from, this is better off deleted. (Hint: say Treaty of Trianon to a Hungarian and await results.) Si Trew (talk) 09:36, 15 December 2014 (UTC)

Hungary ethic groups.jpg
I never did get round to this. I took the coords off of file at right, which is very high quality but seems to have an odd idea of where 0 longitude is (it suggests it is east of Paris, but that didn't seem to work). As you suggested, I tried to take well-known points at the edges of the map: Fiume, for example, at south-west. I took very good readings after printing out this map at A0 size and using ruler and compass, my trig is quite good, but I could never get it to fit. Si Trew (talk) 06:02, 19 January 2015 (UTC)
.Oh, Template:Location_map_Kingdom_of_Hungary/test might help you. You see, Fiume's in the right place but Budapest is a bit too far left and the rest are well out. Si Trew (talk) 06:09, 19 January 2015 (UTC)
That map uses the Paris meridian. It's not a Mercator projection, the lines of latitude aren't quite parallel. Maproom (talk) 20:09, 18 October 2016 (UTC)
Maproom, thanks for the tip. I have written code for generating coefficients for nonlinear projections if I know the functional form. but, the code requires at least as many reference points as there are coefficients. basically a nonlinear least-squares algorithm. the problem here is that other than the reference markings on the side of the map, it's tough to get reference points in the middle. Frietjes (talk) 21:18, 18 October 2016 (UTC)
Si Trew, should we just give up on Template:Location map Kingdom of Hungary and have it deleted? Frietjes (talk) 21:20, 18 October 2016 (UTC)
How many do you need in the middle? You get get a reference point near each corner by specifying where the nearest line of (Paris) longitude would cross the nearest line of latitude, and use towns like Szolnok (which Google Earth says is 47ยฐ10'N 20ยฐ11'E Greenwich) in the middle. Maproom (talk) 21:37, 18 October 2016 (UTC)
Maproom, now that I look at it again, I think we have enough with the two interior intersection points and the points along the edges. the original question was about the image in Template:Location map Kingdom of Hungary which is less clear. for File:Hungary-ethnic_groups.jpg, I think we can make a working location map. thank you again. Frietjes (talk) 21:42, 18 October 2016 (UTC)
Just a thought, maybe not very coherent at this time of night. Using an ethnographic map as a location map may, as Si Trew pointed out, be contentious. Will it help if instead I upload to Commons this map? It uses a Ferro meridian, which is no worse than Paris, and shows enough towns such as Szolnok for central reference points. Maproom (talk) 22:02, 18 October 2016 (UTC)
Maproom, that may help. let's see what Si Trew says. my main focus is turning map images into working location maps. I don't really have a strong feeling about the particular map image, so long as it is created with a well-defined projection. Frietjes (talk) 22:06, 18 October 2016 (UTC)
Just asking out of curiosity โ€“ how do you "turn a map image into a location map"? Do you warp it into the Mercator projection that the template requires? Or do you supply the template with a transform function? Maproom (talk) 07:24, 19 October 2016 (UTC)
Maproom, supply the transformation function. see, for example, module:Location map/data/Canada. if I know the functional form and a sufficient number of reference points, I can numerically solve for the coefficients. Frietjes (talk) 12:40, 19 October 2016 (UTC)
Thank you. It's reassuring to see that things are done in such a sensible and comprehensible way. Incidentally โ€“ if you ever find a map image at that you could use in Wikipedia, please let me know and I'll put it on Commons. Maproom (talk) 09:46, 20 October 2016 (UTC)
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ Thanks for pinging me in on this. I know it was a long time ago. User:Maproom, yes I did guess it was the Paris Meridian all that time ago, but that didn't seem quite to fit either. Since then I took something and with Inkscape made a four-colour map (five if you include Lake Balaton as a fifth colour, blue, but could have been made a fourth colour as those that surround it are all in three other colours, it is just more pleasant to have it in blue but not mathematically necessary) and split out all the layers and borders and so on into separate layers on the SVG. I seem to recall I called it Template:Location Map Hungary2 or something โ€“ and I emphasise this is not the Kingdom of Hungary but the modern-day Hungary. All I had left to do was get the text labelling right. Searching for "a new look for an old map" was something roughly want some commenter said, may well have been User:Frietjes here but may not have been (a long time ago, just going from memory: and those exact words are what was printed on the front of the first H C Beck fold-up London Underground Diagram (often called "Map"; Beck himself never called it a map: I have good references for this from publications of the London Transport Museum in woodware) of 1933, so I am probably confusing those words with the same sentiment expressed. This is all such a long time ago, I give as hints for those who can search better than I.
On the plus side, by pure coincidence (these are not common around here in Budapest) my local pub has a nice 1898ish German (I think) map of Austria-Hungary; certainly pre-Treaty of Trianon. This is a five or six colour map and I am pretty sure it is in German but I am going from memory, I don't think it's in Hungarian. It would be about 40 by 25 inches (1,020 mm ร— 640 mm) and I daresay somehow I could get it scanned in, in one of the largescale printers in the town (who I happen to be also on good terms with, for various other reasons) or just take four A3 scans and stitch them with photoshop, assuming that my scanner doesn't distort too much. I am on good terms with the landlord as I have given him my British registration plates and various other British pub memorablia, it is that kind of pub, very much a "local", so I can ask to borrow the map (it's framed) or just go in on a quiet afternoon with a straightedge etc and try to get some measures off that. I think it is not the same as the image is here, though quite similar. As a start shall I get the maker etc, would that help at all, before I do the trig etc off it? I have a very good straightedge and fifty quids worth of setsquare adjustable protractor that I use for technical drawing on my A0 drawing board, it's about 25 inches (640 mm) long on its hypotenuese, which should be enough to measure angles and distances with some kinda veracity, I am not sure of the projection without looking again. Is it worth me taking a look and reporting back, probably will be about UTC+2 Friday tomorrow, else Monday? If you give me some nice trig points "in the middle" I will do my best to give you the readings off of them. These won't be 100% accuracy but will be within a second of arc or two through the distortion of the glass in the frame, I would imagine. Si Trew (talk) 16:05, 20 October 2016 (UTC)
I understand if it is WP:COPYVIO etc but if I check the maker first, it may very well turn out not to be because of the date and also various other "things that have happened since", could well be PD or fair use. I think I check the maker first, that is clear enough in top right corner but don't remember offhand. Would that be of any use, at least to confirm or deny if it's the same as this one? It reminded me of this one, when I first saw it, but I think it is different but of about the same time. Si Trew (talk) 16:40, 20 October 2016 (UTC)
File:Hungary_location_map.svg is the one I made the four-colour svg version of. It just needs tidying on the text labels layer if I remember right, I can't remember its name. The computer it was on is long gone. File:Hungary location map2.svg? Something like that. We have File:Hungary location map-2.jpg on Commons, but that's not it, cos it's not four-colour and has labels in Cyrillic, is a jpg not an svg. Perhaps unfortunately it got deleted as unused. I'd need to ask an admin to dredge from about 2009 onwards. Users working on it would have been mostly me and perhaps occasionally the missus, no longer editing at Wikipedia for many a year due to very harsh and undeserved comments after excellent translations of English articles about the Tudors into HU:WP (something she is an expert in, more than I know and I'm bloody English): Her username was/is User:Monkap. Si Trew (talk) 16:51, 20 October 2016 (UTC)
OK, the map you included wrongfooted me, this is exactly the map that is nominated (duh!) I was looking at the map you included on the right. No, don't give up on it, I'll try to fix it. It is nearly OK, all the coords and borders and counties etc are done on separate labels and I think it is much better than the boring brown map transcluded via {{Infobox Hungarian settlement}}. We just need to fix the edges and fix the text-label layer for some reason the font doesn't scale properly, I never did work out why, I shall try again. One reason to separate into different layers in a good GIS fashion is so that with a flick of the wrist one can turn off all the labels, turn off e.g. the county borders, make all the counties brown and just fill one particular county in a different colour (for Hungarian county articles) etc etc etc. I hand-edited the XML for the SVG to make it all nice, it's much much nicer than its predecessor for putting into a GIS etc because each county edge and county border and county name etc is labeleed in a very consistent fashion. The underlying SVG is File:Kingdom_of_Hungary_counties-2.svg. The polygons for the borders go actually in a kinda "cogwheel" order so that some going anticlockwise have their boundaries against the others going clockwise, rather in a toothed gearwheel manner, but that was just my pedantry; each county actually has its own borders as it did on the original, but on the original the borders for e.g Budapest to Pest County were a bit different from the borders of Pest County to Budapest, i.e. there was a gap or overlap, which now there is not in "my" version, they have all the coordinates bang on, as I did them all in hand in the XML not with some "snap it roughly to where it looks right" tool. All the bordering points have the same coords but the opposite directions (clockwise or widdershins) which helps the SVG polygon fill get it right without overlap or gap.
I think we should keep it and try to fix the labels and the "fix" coordinates for it. I suppose this was a labour of love but I think it does make it better than what is used in the infobox, it scales except for the text labels and the old one has errors in the border coords that leave gaps or overlaps, it just doesn't seem so at the scale used in infoboxes, as the rendering of the borders and the pushpins for the places are far larger than the errors, at even a large-screen resolution scale. If you blow it up and print it onto A0 (paper size) is is noticeable. Si Trew (talk) 17:05, 20 October 2016 (UTC)
The text labels are fine on my I think 1972 across screen in full view. When I made this I think I had a 1024x768 screen. It's when the labels are all squished they don't scale down properly, and get all scrunched up, I have never quite worked out why. There is a style that governs it, and I tried all sorts of things but none worked. Si Trew (talk) 21:04, 20 October 2016 (UTC)

Needs help[edit]

I like charts, mostly pie but also bar, and I really like shades of grey best - for normal purposes physically printing is just blackโ€‘andโ€‘white (and shades of grey). But this really allow only ten shades of grey. I would like just a few options to make up to 15-ish. I think to extend to texture would do the trick. And I see that these days CSS backgroundโ€‘image can be specified. These are lots of different things can be made, but for use here I would just what two textures, and just left top to right bottom or the other way, and narrow chevron or wider.

left right
It be easiest to make just one colour :

So Frietjes, I won't if you could help. I want to enhance module:chart (bar and pie). The module have been written by the user-with-a-Hebrew-name, (name is ืงื™ืคื•ื“ื ื—ืฉ), s/he doesn't seem to be online very often. It seems easy enough, but the module code is a closed book as far as I can see. Do you be able to help?

Just all one or two colours, with direction 'left' or 'right', and 'thin' or 'thick'. I know this OK with IE, I don't know any browser.

โ€“ Unbuttered parsnip (talk) mytime= Mon 08:02, wikitime= 00:02, 23 November 2015 (UTC)

User:Unbuttered Parsnip, yes, the author is probably kipod (see history and talk for module:chessboard). we have interacted before, extremely nice and helpful editor. I can take a look, but probably not for a week due to backlog. Frietjes (talk) 00:07, 23 November 2015 (UTC)
Frietjes (talk) I'll be going on holiday for three weeks, so I won't look into it until new year. I don't think anything difficult, just backgroundโ€‘image:repeating-linear-gradient by CSS. I just need it into module:Chart โ€“ Unbuttered parsnip (talk) mytime= Wed 05:09, wikitime= 21:09, 1 December 2015 (UTC)


Dear user, I saw that you contributed in Template:Photomontage and Module:Photo montage, so I got a question: is it possible to make this Template automatically adjust the heigh of images by cropping the highest to the level of lowest one? I primaly use this template to make rich city-related collages. This template tries to render all images with equal width of all images in row. Sometimes aspect ratio of different images is not the same and as a Result I got an empty space around the lower image which makes the whole collage not so attractive as it could be.--Orange-kun (talk) 19:24, 11 March 2016 (UTC)

Huanchaco.jpg IndependenciaPlazaDeTrujillo.jpg Pont Triana.jpg

That's what I mean. --Orange-kun (talk) 19:33, 11 March 2016 (UTC)

Single wing[edit]

Single Wing Formation.svg

Hi there Frietjes (Freet-yes?), thanks for your recent edits on the All-Southern teams. Are you the code wizard able to help me fix the single wing diagrams? If so, I could feel good about nominating 1921 Centre, 1925 Alabama, 1926 Alabama, &c for GA. How can I move the row containing QB and RHB over one space to the right, like the picture at right?

Cheers. Cake (talk) 13:25, 25 October 2016 (UTC)

Cake, vertical-align:top usually helps keep things aligned within the row. are you asking for less of a vertical gap between the rows, or for the LHB to be further up? Frietjes (talk) 22:30, 25 October 2016 (UTC)
I'm asking for the "QB" and "RHB" cells - the second horizontal row, to move over a unit to the right. Like the picture. Never could figure it out. Cake (talk) 01:06, 26 October 2016 (UTC)
Cake, there are other ways to do it (for example, this hack), but the modified version above is probably the most robust. another option would be doing something like {{football squad on pitch}}. Frietjes (talk) 21:55, 27 October 2016 (UTC)
would it be useful to merge this with Template:CFB Team Depth Chart or make a new template for this formation? Frietjes (talk) 22:05, 27 October 2016 (UTC)
Well I didn't need to move the fullback at all, but you did manage to get the wingback (RHB) to work, which I found so difficult, and thank you. I didn't know there was a template either - cool. I've managed to sufficiently mimic the short punt (say here) and the T (say here) and the jump shift (say here). Other articles already had the I (say here). Cake (talk) 03:13, 28 October 2016 (UTC)
Note the similarity to the picture with my minor change. Well done. Cake (talk) 03:30, 28 October 2016 (UTC)
Long way to say yes, I think it would help to have these as options just like pro-set or I on that template. Need to try my hand at making a 7-2-2 defense. Also, apparently switching the spot of the QB with the LHB or TB was common, but as we have it above was even more common. Cake (talk)

Okay, so I am getting closer...[edit]

If you can tell me whether it should be space or no space in the body part names, that's one of two issues we can solve, then hopefully I am out of your hair, as I do not want to be a pest.

The second issue is maybe easier. If you look at Scouts Australia, the boy renders smaller than the girls do. Most countries will want to show both boys and girls side by side... can we fix the feet space and head space? I mean the background of each image.. they have not only different sizes but also "float" in different positions inside the template (my graphist friend explained usually defined as x points from left, y points from top)

She is not good with creating templates, but says that if I find someone to do the code writing, she can help create the images.--Kintetsubuffalo (talk) 14:28, 7 November 2016 (UTC)

Kintetsubuffalo, space or no space in the name are both okay. the point is that (1) they all have to use the exact same naming convention, and (2) they all have to be exactly the same size with the position within the image in the exact same place. otherwise, I will have to create a different positioning and file name for every single image, which would be total hell. Frietjes (talk) 14:31, 7 November 2016 (UTC)
She'll fix the sizing, no hell for you. :) I'll get the name requests in! Thanks!--Kintetsubuffalo (talk) 14:34, 7 November 2016 (UTC)
test image to be deleted once we have fixed the template coding problems
Okay, names are done, I chose no space (only 2 to fix, I think...) and my graphist friend LadyofHats made four basic test images for the template. changed a bit the names to not disturb the older ones until the template is done. the files are:

She sent me an svg with all pieces placed on top of each other and colored for you to see the intended position. Can I e-mail you this? And if you need a bitmap let me know.--Kintetsubuffalo (talk) 05:39, 8 November 2016 (UTC)
I just uploaded it to Commons to save time.--Kintetsubuffalo (talk) 05:47, 8 November 2016 (UTC)

Can we at least do skintones? Names are fixed, and it's really important. Thank you again for all your hard work.--Kintetsubuffalo (talk) 07:55, 5 December 2016 (UTC)

Kintetsubuffalo, I will work on it soon. if you can point me to an article and tell me the appropriate skin tone, I can make sure everything is working as expected. Frietjes (talk) 13:11, 5 December 2016 (UTC)
Kenya Girl Guides Association, and thanks!--Kintetsubuffalo (talk) 13:12, 5 December 2016 (UTC)
Kintetsubuffalo, should work now, try |skintone=M or |skintone=D. I will work on making it more robust shortly, but let me know if you see any problems. I believe you were also asking for the relative scaling between male and female to be normalized? that will require some extra clipping/scaling, but should be possible. Frietjes (talk) 13:51, 5 December 2016 (UTC)
You did it, thank you! I don't want to swamp you with sizes, that is a biggie. This is great! There are 3 more hats, I don't know if that is a separate issue...--Kintetsubuffalo (talk) 13:54, 5 December 2016 (UTC)
Kintetsubuffalo, additional hats, shirts, shorts, etc should automatically work so long as they use the same naming convention, positioning, scale. the only caveat is for images like "trousers" which don't have any skin tone. those I have to add to the switch to avoid using different images for different skin tones. Frietjes (talk) 13:57, 5 December 2016 (UTC)
I don't follow but I trust your judgement!--Kintetsubuffalo (talk) 13:58, 5 December 2016 (UTC)
Kintetsubuffalo, there is only one trousers image since no skin is showing. to make that work in the template I had to add a special case. if any new images are added without skin showing we will have to do something special. otherwise, it should work automatically. Frietjes (talk) 14:53, 5 December 2016 (UTC)
Thanks!--Kintetsubuffalo (talk) 14:55, 5 December 2016 (UTC)
Don't know why, but the bottom navigation bar refuses to show at Girl Scouts of the Philippines. These are working great, by the way, thank you!--Kintetsubuffalo (talk) 15:20, 5 December 2016 (UTC)
Kintetsubuffalo, fixed it for you. before the fix, "Asia" was not the same as "asia". seems reasonable that it should not be case sensitive. Frietjes (talk) 15:46, 5 December 2016 (UTC)

Broken comment/gallery tags[edit]

Number of pages with broken gallery tags increased. -- Magioladitis (talk) 07:57, 4 December 2016 (UTC)

Replacement of coordinates parameters in infoboxes[edit]

Hi, would you like to help out at Wikipedia:Coordinates in infoboxes? It's fine if you don't, but I'd like to take a wikibreak due to real-life commitments and currently there are only two other editors working on updating and fixing the infoboxes. Thanks, Jc86035 (talk) Use {{re|Jc86035}}
to reply to me
14:07, 24 November 2016 (UTC)

Thanks for un-mangling my attempts to archive[edit]

I very much appreciate your assistance with my archive coding misadventures! I'm dating myself, but my only formal programming training was in the sixties with FORTRAN using punchcards, then COBOL(which I hated) then LOGO when my kids began programming. So I am usually able to decipher and emulate wiki markup, but found myself in the tule reeds with the archive template code. Many thanks. Cheers! โ€” Grand'mere Eugene (talk) 18:50, 25 November 2016 (UTC)

Review of {{PH town table}}?[edit]

Hello. {{PH town table}} uses population parameters from Wikidata. Using the template itself is already complicated, but updating the figures on future censuses will make it even more since we will need to verify if the latest/preferred population are actually used. Will it not be simpler if the template uses raw data for the 2015 population just like in {{PH brgy table lite}}, which is much easier to add and/or (re-)organize in TSV format? โ€” Sanglahi86 (talk) 17:50, 29 November 2016 (UTC)

Commons in external links[edit]

Re: [25] - fair enough, although I quite liked how this approach meant that Commons links were auto-included in the articles where available, rather than them having to be manually added. Plus I still disagree that Commons is an external link, since it's an (internal) link to another part of the Wikimedia websites. But I won't revert - there's far too much to be done to Wikidata-ify the infoboxes anyway. :-) Thanks. Mike Peel (talk) 21:47, 30 November 2016 (UTC)

Mike Peel, it's too bad that these can't be automatically included in the articles without having to manually add the {{commons}} or {{commons category}} templates. and, if it were automatic, we could have a 'preferences' option to select the location for the link. Frietjes (talk) 21:50, 30 November 2016 (UTC)
Mike Peel, by the way, it would be great if you could comment at this related tfd. Frietjes (talk) 21:52, 30 November 2016 (UTC)
They are auto-included in the left-hand sidebar anyway now, near the Wikidata/language links, which is good, but they're not very noticeable in that location. In principle, we could auto-add the commons/commonscat templates, in the same way that the coordinates are auto-added to the top-right of the page through the infobox - but that would take a bit of juggling with stylesheets, and would probably need to be done systematically so that they aren't simultaneously auto-displayed and manually inserted in the page. Thanks. Mike Peel (talk) 21:55, 30 November 2016 (UTC)
Mike Peel, good point. I could write some javascript to move them from the left-hand sidebar to another location, but that would be an opt-in (user must install the javascript). it would be cool if the default location were, as you suggest, in a more noticeable place as part of the default skin. Frietjes (talk) 21:57, 30 November 2016 (UTC)
Javascript doesn't sound useful - the target audience I had in mind here is readers, not editors, so from that POV it's no use having something that's opt-in! Now looking at the TfD - it looks like a useful template! BTW, please don't remove this from the telesecope infobox (at least) for now, as it's a useful example there. :-) Thanks. Mike Peel (talk) 21:58, 30 November 2016 (UTC)
Mike Peel, yes, I agree it should be in the default skin, not an opt-in sort of thing. although a demo in javascript may be useful for demonstrating the resulting look. and, don't worry, I don't plan to remove the commons linking from any of the space/astro/telescope-based infoboxes. that community appears to be in favour of putting the commons link in the infobox. Frietjes (talk) 22:04, 30 November 2016 (UTC)

Head to head template[edit]

I like the idea of the head to head template, and have tried it out for the first five teams in NWC Prem.

I'm not too keen on the dates wrapping over to a second line, so have tried a couple options to keep them on one line.

Home \ Away 18N ABH DAR LVP ASH
1874 Northwich โ€” 2โ€“0 3โ€“0 1โ€“3 7 Jan
Abbey Hey 8 Apr โ€” tba 7 Jan 21 Jan
AFC Darwen 2 Apr 1โ€“3 โ€” 2โ€“2 0โ€“4
AFC Liverpool 17 Dec 1โ€“2 25 Mar โ€” 3โ€“1
Ashton Athletic 25 Mar tba 1โ€“3 22 Apr โ€”
Updated to match(es) played on 30 November 2016. Source: some source
Colours: Blue = home team win; Yellow = draw; Red = away team win.
Home \ Away 18N ABH DAR LVP ASH
1874 Northwich โ€” 2โ€“0 3โ€“0 1โ€“3 7/1
Abbey Hey 8/4 โ€” tba 7/1 21/1
AFC Darwen 2/4 1โ€“3 โ€” 2โ€“2 0โ€“4
AFC Liverpool 17/12 1โ€“2 25/3 โ€” 3โ€“1
Ashton Athletic 25/3 tba 1โ€“3 22/4 โ€”
Updated to match(es) played on 30 November 2016. Source: some source
Colours: Blue = home team win; Yellow = draw; Red = away team win.
Drawoh46, it would be trivial to make the contents of the cells nowrap by default. I will do that in a moment. Frietjes (talk) 22:31, 2 December 2016 (UTC)
Drawoh46, now updated. Frietjes (talk) 22:33, 2 December 2016 (UTC)
Frietjes Looking good! Now expanded to show full width. I like it! Will almost certainly adopt it for NWC. Drawoh46 (talk) 22:51, 2 December 2016 (UTC)
1874 Northwich โ€” 2โ€“0 3โ€“0 1โ€“3 7 Jan 15 Apr 4 Feb 2โ€“1 1 Apr 5โ€“0 1โ€“3 21 Jan 1โ€“1 tba 29 Apr 2โ€“1 28 Jan tba 10 Dec 11 Feb 4โ€“1 1โ€“3
Abbey Hey 8 Apr โ€” tba 7 Jan 21 Jan
AFC Darwen 2 Apr 1โ€“3 โ€” 2โ€“2 0โ€“4
AFC Liverpool 17 Dec 1โ€“2 25 Mar โ€” 3โ€“1
Ashton Athletic 25 Mar tba 1โ€“3 22 Apr โ€”
FFF โ€”
GGG โ€”
HHH โ€”
III โ€”
JJJ โ€”
KKK โ€”
LLL โ€”
MMM โ€”
NNN โ€”
OOO โ€”
PPP โ€”
QQQ โ€”
RRR โ€”
SSS โ€”
TTT โ€”
UUU โ€”
VVV โ€”
Updated to match(es) played on 30 November 2016. Source: some source
Colours: Blue = home team win; Yellow = draw; Red = away team win.

Frietjes Got it installed here. Any chance that the head to head module can have the V/T/E links, as does the sports table module? Drawoh46 (talk) 09:28, 3 December 2016 (UTC)

Drawoh46, yes will do. by the way, I was just informed of the existence of Module:Sports results, so this module may be replaced in the future, but the syntax should be nearly the same, so we can always convert any uses with little problem. Frietjes (talk) 12:56, 3 December 2016 (UTC)
Frietjes Thanks. I'll keep my eye on what's happening regarding Module:Head to head and Module:Sports results. Meanwhile, I'll keep the one template updated, but hold back on any others. Drawoh46 (talk) 13:11, 3 December 2016 (UTC)
Drawoh46, I started the merger discussion at Module talk:Sports results. thank you. Frietjes (talk) 14:01, 3 December 2016 (UTC)
Drawoh46, now merged. Frietjes (talk) 14:52, 5 December 2016 (UTC)
Frietjes. Well done. And thanks for making the few necessary changes to the one template I'd used to call the Module:Head to head. I'll try another one shortly. Drawoh46 (talk) 15:12, 5 December 2016 (UTC)
Frietjes. Just noticed that you'd changed my sandbox too. Thanks! Drawoh46 (talk) 15:16, 5 December 2016 (UTC)

TfD process[edit]

Your comment here contradicts your previous comment. Seems I'm wrong whichever path I take. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:12, 3 December 2016 (UTC)

Pigsonthewing, wow a comment that I made in 2016 is different from one that I made in 2014. shocking. if you want, I can strike my 2016 comment and say "keep" instead. Frietjes (talk) 15:15, 3 December 2016 (UTC)

Check for Unknown Params[edit]

Hello! First let me say that I absolutely LOVE your script User:Frietjes/addcheckforunknownparameters.js. I'm just started using it and it is AMAZING!!! Great work. I wanted to make one suggestion if I may... It would be nice to have a check in there to make sure that #invoke:Check for unknown parameters doesn't already appear in the code... Just a thought and my own little 2 cents on what might make a tiny improvement to an already awesome script! --Zackmann08 (Talk to me/What I been doing) 22:37, 3 December 2016 (UTC)

Zackmann08, done. if you ever see a warning about incomplete parsing, make sure to check that the list of parameters is correct. this warning is usually safe so long as there are no parameters in the junk presented in the warning. however, if you ever find a case where it doesn't get all the parameters, or does something else that's wrong, let me know. Frietjes (talk) 13:57, 4 December 2016 (UTC)

pname parameter in Speciesbox[edit]

Hi, I saw your edit to Human. The logic of the code relating to |pname= in {{Speciesbox}} seems incorrect to me. Presumably it's trying to detect cases when the template is used for a genus with a single species, so the page name will be the genus although the target of the taxobox is the species, But I don't see why the number of parents then displayed by default should be 2 whereas it should be 0 otherwise. However, as it's coded, it's wrong to set |pname=Homo since the page name would be "Homo sapiens" if not "Human", so this should be the value of the parameter. I favour removing the test altogether, and defaulting to 1 parent above the genus โ€“ as the HTML comment says is the case. Peter coxhead (talk) 22:24, 4 December 2016 (UTC)

Peter coxhead, fix it in whatever manner works. I was just trying to remove the transclusion of Template:Taxonomy/Human which was causing the page to appear in a database report for transclusions of deleted templates. Frietjes (talk) 13:58, 5 December 2016 (UTC)
Ok, I'll look again at {{Speciesbox}}. However, checking for taxonomy templates by attempting to transclude them is a frequent feature of the automated taxobox system, so it's likely such pages will appear in the database report again for other reasons. Peter coxhead (talk) 15:41, 5 December 2016 (UTC)
Peter coxhead, any way to stop this? seems odd that the link text parameter is generating transclusions, or from something else? it would be good to remove from Wikipedia:Database reports/Transclusions of deleted templates/1. Frietjes (talk) 00:07, 9 December 2016 (UTC)
Well, I can fix this report, and have done so, but the price to be paid is that the display of the section in the taxobox in articles which show Levenhookia sect. Coleostylis (such as Levenhookia chippendalei) isn't quite right โ€“ the "sect." should not be italicized. This is a known problem that has been raised at WP:PLANTS in the past. It's somewhere on my to-do list to try to fix, but at present I'm working on converting key parts of the automated taxobox system to Lua to prevent all the expansion depth errors that were occurring. Peter coxhead (talk) 07:10, 9 December 2016 (UTC)


This edit[26] and some others are incorrect usage of the template. The documentation shows how it works. -- GreenC 03:12, 5 December 2016 (UTC)

I fixed them for you. you discarded some information and introduced some incorrect dates which should have been archive dates. Frietjes (talk) 13:58, 5 December 2016 (UTC)

There are two ways to do citations with archives. Bare links + webarchive .. or CS1|2 templates such as {{web cite}} with the |archiveurl=. The later is recommended over the former if possible, as CS1|2 templates have many more features and options and are designed for use in citations. webarchive wasn't really designed for citations, rather for external links sections. But it gets used in citations mainly because link rot bots are unable to convert bare link style to CS1|2 which requires manual work. -- GreenC 15:30, 5 December 2016 (UTC)

..and I see that's what you just did :) (the |date= in webarchive is the archive date, they were correct). -- GreenC 15:34, 5 December 2016 (UTC)

Paris Metro lines[edit]

Hello Frietjes
Please see Template talk:Infobox Paris Metro line#Electrification and Talk:Paris Mรฉtro Line 1#Electrification. Peter Horn User talk 02:18, 6 December 2016 (UTC)

Template:Deafness navbox[edit]

Dude my box, I'm sorry I didn't put it anywhere, it wasn't done. Can I have the code back? I'll put it in my sandbox. Template:Deafness navbox Rue-chan (talk) 05:36, 7 December 2016 (UTC)

Rue-chan, ask the administrator who deleted it (Plastikspork). Frietjes (talk) 13:04, 8 December 2016 (UTC)
Thanks! Rue-chan (talk) 04:03, 9 December 2016 (UTC)

Geobox query[edit]

Hi Frietjes, thanks for adding the pushpin_map coding to the Geobox template, hence I can understand the TfDs for the now redundant Geobox locator maps. Can I enquire what prompted the changes to the Geobox, as I didnโ€™t notice anyone asking for this useful improvement?...Jokulhlaup (talk) 17:14, 8 December 2016 (UTC)

Jokulhlaup, there are many more {{location map}} templates compared to the old "geobox locator maps", and there is really no need to have duplicate templates that do the exact same thing. one advantage that the {{location map}} system has is that you don't need to specify the image. I found several which were using the "Texas" locator with a "Florida" map, or other such nonsense. Frietjes (talk) 17:18, 8 December 2016 (UTC)
Jokulhlaup, what originally prompted this was that I tried to add a location map to a geobox and found that there was no corresponding "geobox locator". instead of creating a new map just for geobox, I added the pushpin_map option to geobox. Frietjes (talk) 17:20, 8 December 2016 (UTC)
Thanks for the replies, all makes sense now - it certainly was a pain creating a locator map for just a few articles...Jokulhlaup (talk) 17:43, 8 December 2016 (UTC)
I've just added a comment to the Talk Page for Geobox about your conversion efforts (please correct anything I have follishly mischaracterized about your efforts), as well as a further comment at Wikipedia:Templates for discussion/Log/2016 December 8. Thanks for your efforts. --papageno (talk) 05:04, 10 December 2016 (UTC)
I presume you will turn your attention to converting instances of {{Geobox locator Ontario}} and {{Geobox locator Southern Ontario}} which I use a lot. Also, I presume you have automated the conversion? If so, I wonder if I might ask for one additional step: in early articles for Ontario rivers and using {{Geobox}}, I did not specify the Relief map, which is preferred over the political map. Could you populate the relief map parameter you've now introduced as non-blank for all instances of Geobox using Geobox locator Ontario or Geobox locator Southern Ontario that you're converting to {{Location map Canada Ontario}} and {{Location map Canada Southern Ontario}} during the conversion process? --papageno (talk) 05:04, 10 December 2016 (UTC)

A barnstar for you![edit]

Vitruvian Barnstar Hires.png The Technical Barnstar
For your continued assistance with modules and templates. Thank you for being such a joy to work with and for being so responsive to requests for assistance. Keep up the awesome work. Zackmann08 (Talk to me/What I been doing) 20:30, 8 December 2016 (UTC)

-moz- -webkit-[edit]

Detection of -moz- and -webkit- css properties is now running and can be found here. Daily, it will scan a subset of articles modified that day for problems. Once a month, a scan of a dump happens. Will add -o- and -ms-. It's also looking for crap the Content Transcrapulator puts out. Thankfully, that is more of a problem on other wikis. Bgwhite (talk) 08:03, 10 December 2016 (UTC)

(talk page stalker) Bgwhite, looks like it is matching those expressions in URLs as well? I fixed all but the three that were part of the URLs. Thanks! Plastikspork โ€•ล’(talk) 22:55, 11 December 2016 (UTC)

Template:Infobox oil refinery[edit]

Hi, Frietjes. After the bot converted coordinates, there is no more a location map in {{Infobox oil refinery}}. I tried to fix it but it seems that I messed it up. Could you please help to fix it? Beagel (talk) 20:04, 11 December 2016 (UTC)

(talk page stalker) Beagel, looks like this was fixed? Plastikspork โ€•ล’(talk) 20:22, 11 December 2016 (UTC)
Fixed. โ€“ Jonesey95 (talk) 04:42, 12 December 2016 (UTC)


Hey, great work with that. Can we please add a "v" instead of the empty space before a game is played? Kante4 (talk) 14:10, 12 December 2016 (UTC)

Kante4, so when score is blank, add a 'v' where the score goes? Frietjes (talk) 14:15, 12 December 2016 (UTC)
Yeah, like the footballbox or so. Would look better than nothing in my view. ;) Kante4 (talk) 14:20, 12 December 2016 (UTC)
Kante4, should work now. let me know if it's not as expected (and provide a link to an example). Frietjes (talk) 14:22, 12 December 2016 (UTC)
I see it. How about just the "v"? No "." or abbr explaining what it means. Like the {{Football box}} or here. Sorry if i cause any trouble or so. Kante4 (talk) 14:26, 12 December 2016 (UTC)
Nice, thank you. Kante4 (talk) 15:10, 12 December 2016 (UTC)

Up for a challenge??[edit]

So I'm thinking of trying to convert {{Infobox country}} to us {{infobox}}... At the very least I'm going to want a second set of eyes to look it over before I "push it live"... But would you have any interest in teaming up on this? pursuing a divide and concur? --Zackmann08 (Talk to me/What I been doing) 17:18, 15 December 2016 (UTC)

User:Zackmann08, have you already converted it? Frietjes (talk) 17:20, 15 December 2016 (UTC)
Lord no. I started looking at it and my head practically exploded. SUPER complex template.... --Zackmann08 (Talk to me/What I been doing) 17:22, 15 December 2016 (UTC)
User:Zackmann08, I could do it, but probably not until tomorrow. I'm the one who did the initial conversion of infobox settlement, back before we had the template editor permission, so the change was enacted through an edit request. Frietjes (talk) 17:26, 15 December 2016 (UTC)
if you want your head to explode, look at {{geobox}}. I have been working on that one over the past month. Frietjes (talk) 17:26, 15 December 2016 (UTC)
Please excuse me while I go vomit... Holy hell... Good luck with that one!!! No rush on {{infobox country}}. It has lasted this long, it can surely last a few more days or weeks. I was thinking we could split it up by section or something. I've found a really good appreach where in the sandbox page I put the two templates side by side so that as I make changes I can compare. For example, see Template:Infobox national korfball team/sandbox. Now the two are identical because the conversion is completed... But while I was working on it, each time I clicked show preview it would show me the side by side comparison of the two. On an unrelated note... Are you on IRC? --Zackmann08 (Talk to me/What I been doing) 17:30, 15 December 2016 (UTC)
So if you have a few moments I'd love your help fixing an issue. I'm in the process of converting {{Infobox song contest}} to use {{Infobox}}. I'm about 95% of the way there but I'm having some issues getting the Participation map to show up properly. Mind helping me out? O:-) --Zackmann08 (Talk to me/What I been doing) 02:15, 16 December 2016 (UTC)
User:Zackmann08 did you fix the problem? Frietjes (talk) 13:09, 16 December 2016 (UTC)
Not yet. If you have a chance... --Zackmann08 (Talk to me/What I been doing) 16:13, 16 December 2016 (UTC)
User:Zackmann08, the side-by-side looks the same to me, can you be more specific. Frietjes (talk) 16:14, 16 December 2016 (UTC)

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ That test case template is AWESOME! Thank you!!! Take a look now. That is the case that was messing up. BUT I now see that it is also a broken case for the current template so maybe not something I need to fix? Thoughts? --Zackmann08 (Talk to me/What I been doing) 16:26, 16 December 2016 (UTC)

User:Zackmann08, I see. it should use the first available (most specific) map instead. now fixed. Frietjes (talk)
You rock. Thanks!! Happy Friday. :-) --Zackmann08 (Talk to me/What I been doing) 16:59, 16 December 2016 (UTC)
you may be interested in Template:Infobox country/testcases. the infobox version is nearly finished. just need to test the myriad of different input permutations. Frietjes (talk) 19:03, 21 December 2016 (UTC)

Wakamatsu Shizuko[edit]

Hi, thank you to cleanup my translation at Wakamatsu Shizuko, and I appreciate your kind act very much (I admire your precise works on various translated articles :) ). You might notice the In use template I added at the top, (or I surely was not fast enough to add it,) and I am working on citation now. May I ask you to come back again later, and I wish you might feel like to correct additional errors I am not good at finding/taking care of? No hard feelings, arigatogozaimasu, --Omotecho (talk) 21:36, 15 December 2016 (UTC)

Omotecho, no problem, and I hope I didn't cause any problems for you. I will try to remember to leave that one alone for now, or at least wait until it hasn't been touched for over a day. thank you. Frietjes (talk) 22:38, 16 December 2016 (UTC)
Hi, Frietjes, it's all yours. I am leaving the article and go offline finding citation. Wish I did not made a mess... --Omotecho (talk) 23:45, 16 December 2016 (UTC)


I didn't expect anyone else to start editing at Draft:Parc_de_Versailles. I got a big edit conflict when I went to save. Thanks for the help but if we're going to collaborate we better do so sensibly rather than tread on each other's toes. Are you planning any other edits? Si Trew (talk) 15:22, 17 December 2016 (UTC)

Si Trew, no, not today. sorry for the trouble. Frietjes (talk) 15:33, 17 December 2016 (UTC)
No worries. I tend to translate "outside in" by doing the scaffolding first and translating the text last; I know other editors do it the other way around. So I was pretty much doing what you were doing, anyway., but I do it a bit differently e.g. by adding the trans-titles to the refs as I go along, so it takes me a bit longer than just a search/replace. Si Trew (talk) 15:49, 17 December 2016 (UTC)

Equation of the updraught speed in a cloud[edit]


thank you for converting the French unit templates. However, I am in the middle of translating this article and the first thing that I did was to convert the references which is painful. Then comes converting the hyperlinks, then translating the text and finally changing the units template, but keep them metric. I am not that far yet. This article is a scientific article and in Science, people only use the SI. Thus, converting 2 Pa into psi is highly improper. The same applies when converting an acceleration from m/s^2 into ft/s^2. All peer reviewed papers do use the metric system and even for wind speeds. By the way, I do not think that there exists a template where only SI is used and nothing else. If I am wrong, I would like to know. Thanks. Malosse (talk) 22:35, 17 December 2016 (UTC)

(talk page stalker) Malosse, you can choose the output units. For example, 50 kg (7.9 st). See the documentation for {{convert}}. You have to keep in mind that Wikipedia is not the same as a scientific article, so not all readers are familiar with the same units. If they were, then we wouldn't need to convert units. Thanks! Plastikspork โ€•ล’(talk) 00:19, 18 December 2016 (UTC)

Checking for an absence of parameters being passed to a template[edit]

Can you help? Module_talk:Check_for_unknown_parameters#Checking_for_only_known_parameters_.28or_no_parameters.29.3F. Thanks. Mike Peel (talk) 22:55, 18 December 2016 (UTC)

Bib Page[edit]

Hi there. I'm working in my namespace on a citation project. The edit you made, while I know it was well-intentioned, is interrupting the progress of this project. I had hoped that since the page is on my namespace that there would be little editing done. I would really appreciate if you could not make any edits. Thanks so much! -- Erika aka BrillLyle (talk) 20:49, 19 December 2016 (UTC)

BrillLyle, if you don't fix the duplicate parameter error (see my edit), your page will stay in Category:Pages using duplicate arguments in template calls and bots/editors will continue to try to fix the problem until it is fixed. Frietjes (talk) 20:50, 19 December 2016 (UTC)
Well I've been working on this for a week now and no bots have touched it yet. I don't want redlink errors, which your edit generated. Beside the fact that I'm trying to do a huge amount of work on these citations and would just ask human editors to not touch the page. I understand this is a problem but I need to be able to focus on input and not debate this. I am trying to make this consistent and there are quite a few European ISBNs that aren't converting to ISBN-13s in any of our Western systems.
Also, since it's on my namespace, isn't it sort of protected from scrutiny, even if it's just a convention? I would really appreciate if you could not make further edits. I'm having to stop the work now to debate this, when I am really under a time crunch. I hope you can understand this issue. Thanks -- Erika aka BrillLyle (talk) 20:54, 19 December 2016 (UTC)
BrillLyle, open the page in edit mode, and press "show preview". you will see the error. no bot touched your page yet because you just introduced the error about 4 hours ago. do you see how |volume= appears twice? I don't need to help you fix it, but as I said, a bot will within the next 24 hours. bots run on this category about once per day. Frietjes (talk) 21:03, 19 December 2016 (UTC)
Ah, I can see that error. I fixed it already, I think, right? --- Erika aka BrillLyle (talk) 21:36, 19 December 2016 (UTC)
BrillLyle, if your page is in Category:Pages using duplicate arguments in template calls, then no. Frietjes (talk) 21:37, 19 December 2016 (UTC)

Template:Current APEC Foreign Ministers[edit]

Would that be more better if the APEC Foreign Ministers be considered that these are not cruft and served with a important purpose as same with the G20 and the G8 in ministerial meetings? Likewise, it should be allowed to be recreated under condition that these is legitimate, had reliable sources (as evident in ministerial meeting along with the finance ministers) and should be allowed to be retained. Saiph121 (talk) 01:03, 21 December 2016 (UTC)


When I make a citation, I usually include a name for the website (i.e. "website=AllMusic"). However, I notice that sometimes the mentions of website name get removed. I was wondering if the way I've been doing it is wrong. I usually would rather err on the side of ding too much rather than too little. What would be the best thing for me to do in the instance of the AllMusic citations, say in a big article like Garage rock? โ€” Preceding unsigned comment added by Garagepunk66 (talk โ€ข contribs) 18:26, 21 December 2016 (UTC)

Garagepunk66, I am assuming you are talking about this edit? you added |website=AllMusic twice to the same citation, once before the URL and once after the title. we don't need duplicate parameters. Frietjes (talk) 18:32, 21 December 2016 (UTC)
Oh, I see. I had it mentioned twice. Thanks! โ€” Preceding unsigned comment added by Garagepunk66 (talk โ€ข contribs) 18:52, 21 December 2016 (UTC)

Infobox prev/next layouts[edit]

Heyo. So I've been noticing that there is really no consistency with how "previous" and "next" buttons are styled in infobox. This is mostly yearly events that point back/forward one year to the previous/next event. I was thinking of starting a discussion about getting a good firm style in place. Do you have any thoughts on the matter? I was just going to post on the village pump for starters... --Zackmann08 (Talk to me/What I been doing) 18:48, 21 December 2016 (UTC)

Zackmann08, my only comments right now are (1) these are typically given class=noprint since they are generally pointless in the print version, (2) I personally prefer non-table version, e.g., Template:Infobox film awards or Template:Infobox college football season or Template:Infobox television season and not Template:Infobox football club season (no real preference concerning the hlist markup), (3) I like โ† and โ†’ over < > or other pseudo arrows, (4) you may want to check with WP:ACCESSIBILITY to see if there are any ways to make it generally better from the accessibility standpoint, (5) it may be a good idea to template it to avoid code repetition and variation where not needed. Frietjes (talk) 19:01, 21 December 2016 (UTC)
Sounds great to me! I'll post at the village pump and see if we can't get a good consensus... Maybe it can be folded into {{infobox}} somehow.... or a {{infobox previous-next}} type thing. --Zackmann08 (Talk to me/What I been doing) 19:25, 21 December 2016 (UTC)

A barnstar for you![edit]

Vitruvian Barnstar Hires.png The Technical Barnstar
For your continued work on templates, particularly your dedication to templates that are insanely complicated, such as Template:Infobox country. Everyone wanted that template converted to use {{Infobox}}, but no one (including myself) wanted to put in the time and effort to make it happen. Way to step up and get it done! Keep up the amazing work. Zackmann08 (Talk to me/What I been doing) 18:35, 22 December 2016 (UTC)

Problem with Template:Convinfobox - "</noinclude>" is being rendered[edit]

Hi, I noticed a problem with another template (Template:Infobox mountain) where "</noinclude>" was appearing on the rendered template. I traced it back to Template:Convinfobox, which I notice you've been working on recently. Could you take a look and maybe revert it to a better working state? โ€”Keenan Pepper 16:33, 23 December 2016 (UTC)

Keenan Pepper, can you point me to a page where you see the </noinclude>? Frietjes (talk) 16:35, 23 December 2016 (UTC)
I'm seeing it on Sierra de la Ventana (mountains). I purged the page and it still shows </noinclude> in the elevation section. โ€”Keenan Pepper 16:46, 23 December 2016 (UTC)
Keenan Pepper, it was BU Rob13 who broke it with this edit, now fixed. Frietjes (talk) 16:49, 23 December 2016 (UTC)
Great, I knew you could probably fix it much faster than I could. =) I also notice that Template:Convinfobox/testcases isn't working properly but that's a much less urgent problem of course... Thanks! โ€”Keenan Pepper 16:52, 23 December 2016 (UTC)
Keenan Pepper, yes, the testcases page is fixed now as well. with 38k transclusions it will take some time for the cache to purge. Frietjes (talk) 16:54, 23 December 2016 (UTC)
That's a very odd Twinkle bug. I'll report it later today. ~ Rob13Talk 21:54, 23 December 2016 (UTC)


Hi Frietjes, I often see you pop up on my watchlist and I appreciate all of the maintenance and template work you do. Could I ask, why are you removing |coords_ref= from {{Infobox protected area}}, such as was done here? The parameter is not deprecated per the Infobox's documentation, and is actually "strongly recommended". I've been using it quite a bit lately, much preferred to the clunkiness of using |notes= in {{coords}}. Thanks again - Antepenultimate (talk) 17:27, 23 December 2016 (UTC)

Antepenultimate, you can place the reference directly after the coordinates. Frietjes (talk) 17:29, 23 December 2016 (UTC)
Huh, so you can. For some reason I seem to recall trying that a long time ago, and getting all sorts of locmap errors. Thanks again! - Antepenultimate (talk) 17:42, 23 December 2016 (UTC)
(talk page stalker) {{Location map}} was recently updated to support the {{Coord}} template. โ€“ Jonesey95 (talk) 18:32, 23 December 2016 (UTC)

Rikers Island[edit]

@Frietjes: I don't see the error you indicate on Rikers Island in the protected area template. It appears to make no visual difference in the display of the template, however it is a "strongly recommended" field for Template:Infobox protected area. โ€”DIY Editor (talk) 19:21, 24 December 2016 (UTC)

(talk page stalker) @DIY Editor: There is no |ucn_category= parameter. There is a |iucn_category= parameter, but adding that would require a source. Thanks! Plastikspork โ€•ล’(talk) 00:19, 25 December 2016 (UTC)

Merry, merry![edit]

From the icy Canajian north; to you and yours! FWiW Bzuk (talk) 18:51, 26 December 2016 (UTC) Lights ablaze.JPG

Help please?[edit]

So weird issue... I'm finding a number of templates that I've converted are still showing up in Category:Templates suitable for conversion to use Template:Infobox... For example, Template:Infobox NCAA Softball Tournament and Template:Infobox Iwi. Any idea what is causing them to still be categorized? --Zackmann08 (Talk to me/What I been doing) 17:18, 27 December 2016 (UTC)

Doing a null-edit on template page "fixes" the problem. You can search in some of latest VPT archives - there was related thread. --Edgars2007 (talk/contribs) 17:57, 27 December 2016 (UTC)

peer review[edit]

Heyo! Hope you are having a great holiday season. I wanted to see if I could get you to look over Template:Infobox NCAA Basketball Game/sandbox and give me some critique. I was going to nix the AP/Coaches boxes... But could certainly add those in if needed. Other than that, what do you think of the new layout? Any feedback/assistance is 100% welcome!!! Thanks in advance. --Zackmann08 (Talk to me/What I been doing) 18:02, 29 December 2016 (UTC)

Zackmann08, I made some changes. the testcases look good to me. typically, I avoid removing or significantly changing functionality in the conversion. it's better to do that in a separate step, with discussion on the talk page, to avoid backlash. Frietjes (talk) 14:58, 31 December 2016 (UTC)

Processing overhead[edit]

1 2
3 4
1 2
3 4

You used "reduce processing overhead from large numerical gaps" to justify this edit, which I've reverted. There is no processing overhead as Module:Infobox assembles a table of the numeric prefixes in lines 29โ€“40. It doesn't matter to Lua whether the numbers go from data1 to data28 in steps of 1 or from data1000 to data28000 in steps of 1000 - the processing using that algorithm is identical. Cheers --RexxS (talk) 22:44, 31 December 2016 (UTC)

RexxS, if large gaps do nothing, then explain what you see here. Frietjes (talk) 13:37, 1 January 2017 (UTC)
so you don't have to spend too much time reading the code for Module:Infobox. in order to have the references processed in the correct order, avoiding a backend server bug, the code actually goes through the numbers sequentially, starting from 1 (search for function preprocessArgs(prefixTable, step) in the module code). but, to try to avoid massive amounts of overhead from large gaps, it terminates if it finds a gap larger than a threshold (around 50 for the first gap). basically, going in batches of 50 and terminating if no parameters are found in the batch. Frietjes (talk) 14:01, 1 January 2017 (UTC)
Right - I can see that there's a problem when the numeric gap between numbered parameters like dataNN is greater than 50, although my edits didn't introduce any gap greater than 8. I'll strike my hyperbole. Nevertheless, I've read the code in function preprocessArgs(prefixTable, step) and I don't see any recognisable overhead. Line 318 creates an outer count-controlled loop which goes in steps of 50 when processing the labelNN and dataNN parameters, but the inner loop at line 319 uses the ipairs iterator which only traverses the existing elements of the prefixTable array. Regardless of the numeric gap (as long as it's less than 50, I agree), each element is processed no more than once and no processing is attempted on non-existent elements. Surely you're not concerned about the number of times the outer loop is performed? The overhead for loops like that are measured in sub-microsecond times on modern processors. No, I still maintain that in Template:Infobox horseracing personality: (1) the 28 label/data items are processed in the same time whether they are numbered 1 to 30 step 1, or 5 to 110 step (2 to 8) as I'd arranged it; and (2) there is no attempt in the code to process the non-existent parameters like data6, data7, etc. in the latter scheme. I'm at a loss to see where the "processing overhead from large numerical gaps" comes from in the actual case of your edit. Cheers --RexxS (talk) 15:41, 1 January 2017 (UTC)
RexxS, the larger the gaps, the more loops in the preprocessing. whether or not this is significant in terms of processing time is debatable. clearly the number 50 was selected to be large enough to allow for gaps, but not too large to add significant overhead. but if you can avoid the extra looping, I don't see why you wouldn't. clearly you have some reason for it. Frietjes (talk) 15:47, 1 January 2017 (UTC)
Indeed, if the parameter numbering goes from from 1 to 28, then the outer loop executes once, processing all 28. Whereas if the numbering is from 5 to 110 (with steps varying between 2 and 8), then the outer loop executes three times, processing 11, 13 and 4 parameters on successive passes. There are still 28 parameters processed either way. Although I do concede there actually is some overhead in the time taken to process the loop code, it really is negligible compared to the other processing and I'd be astonished if it couldn't be safely ignored. The reason why I choose to place gaps roughly of size 5 between the numbered data parameters in an infobox under development is to make life easier for the next person who needs to insert a new parameter (which might be me) โ€“ that's really my only consideration. I accept that a mature infobox that is unlikely to have new parameters added could conceivably squeeze a few microseconds of extra performance by renumbering the data/label/header parameters consecutively. I should say I appreciate your JavaScript that automates the task of creating a gap โ€“ it would be very useful to expedite adding a new parameter in the case of a stable infobox with consecutively numbered parameters. Cheers --RexxS (talk) 16:43, 1 January 2017 (UTC)

Playoff series score template[edit]

Heyoo. How's it going? Happy new year! Wanted to bounce an idea off of ya. I recently converted {{Infobox World Series}} over to use {{Infobox}}. One of the things I was thinking of adding to the template (as a separate addition) was a section that showed the scores of the games in the same style as {{Infobox Stanley Cup Finals}}. The Stanley cup template uses {{Infobox game score}} to achieve this. While that works... it is really designed for the score of a particular game, not of a series. I was thinking of creating a similar template that would be designed for a multi-game series. Most notably a playoff. Unlike {{Infobox game score}} there would be no need to have the total score at the end. Also, would be great to make the winning score for each game bold, and then an option to make the winning team bold. Wanted to see if you had any thoughts. I'll probably start working on the template soon as {{Infobox sports series scores}} (unless you have a recommendation for a better name). OPen to any thoughts! --Zackmann08 (Talk to me/What I been doing) 20:04, 2 January 2017 (UTC)

Oliveto Citra[edit]

Hi, is a a way you can make the communal map shrunk at default and a "click to view comune locator" option? It's pretty ugly that's all. All of the comunes of Italy ought to have a shrinkable locator built in now, but might be time consuming to do unless you can programme it into the template coding to display it, not sure if the file names are consistant enough to do that.โ™ฆ Dr. Blofeld 14:27, 4 January 2017 (UTC)

User:Dr. Blofeld, post a thread at Template talk:Infobox Italian comune and if there are no objections, I will work on it. Frietjes (talk) 14:29, 4 January 2017 (UTC)
OK, thanks. I did promote Cortina d'Ampezzo two years ago (how time flies) which also has a communcal map. Don't like the yellow maps, but they are useful and should be consistent across all of the comunes I think. Perhaps sometime they'll all be updaded with more aesthetically pleasing svgs.โ™ฆ Dr. Blofeld 14:32, 4 January 2017 (UTC)
User:Dr. Blofeld, if your only objection is the colour, you should ask one of the graphics experts to change the colour for you. it's very easy to change the colour of an svg, since it's encoded in plain text. Frietjes (talk) 14:36, 4 January 2017 (UTC)
I think they're mostly gifs though not svgs. I've left a request on the comune page, cheers.โ™ฆ Dr. Blofeld 14:37, 4 January 2017 (UTC)
User:Dr. Blofeld, I think there are svgs for all of them, looking at c:Category:Maps of municipalities of the province of Belluno and related categories. Frietjes (talk) 14:39, 4 January 2017 (UTC)

Not Salerno!โ™ฆ Dr. Blofeld 14:43, 4 January 2017 (UTC)

ice hockey box note[edit]

I am trying to add the occasional note for something unusual to game summaries in the ice hockey boxes, but am having a problem. if I just use "note=" then it does not collapse with the summary and if I call it "pnote=" if collapses but displays in duplicate. Is there some other way to do a note like in the 2016 IIHF World U18 Championship Division I Hungary/Ukraine game to explain Kreisz's assessed goal, in a tidier way?18abruce (talk) 18:05, 4 January 2017 (UTC)

18abruce, thank you for finding the pnote bug, I have no idea why I didn't see that before. maybe no one was using pnote? now fixed. Frietjes (talk) 18:13, 4 January 2017 (UTC)
Hey thanks, I just have to try to remember where else I have left notes like that.18abruce (talk) 18:17, 4 January 2017 (UTC)
18abruce, if it would help, I can create a temporary tracking category for you with all the pages using |note=. Frietjes (talk) 18:23, 4 January 2017 (UTC)
It is a very rare occurance, not sure it is worth your time. I fixed one other that I knew to be very peculiar and am satisfied with that for now.18abruce (talk) 18:27, 4 January 2017 (UTC)
18abruce, I added Category:Pages using icehockeybox with the note parameter, but it will take time for the server to fill the category. Frietjes (talk) 19:58, 4 January 2017 (UTC)

List of pages with empty tags[edit]

Wikipedia:CHECKWIKI/085 dump. I have not checked which could be easily fixed. I got vert busy today. you may want to have a look. Happy new year!! -- Magioladitis (talk) 20:32, 4 January 2017 (UTC)

Australian election candidates[edit]

Hey there. A bit late here, but - you changed a bunch of Australian election candidate tables' format back in November (e.g. Candidates of the Australian federal election, 1928), but not all of them (two elections later, Candidates of the Australian federal election, 1931 is unchanged, as are many many more at both federal and state level). What was the rationale behind this? I don't object, particularly, but I do wonder why it was done as I don't notice any particular improvement and it seems like a big undertaking. Either way, can you please either apply it to all of them or revert the changes you made? I and others spent a lot of time making these things consistent. Hope you had a lovely Christmas/New Year! Frickeg (talk) 06:03, 7 January 2017 (UTC)

Frickeg, it looks like it was while I was working on the party colour templates. I do like the simplified class="wikitable" better, but I understand the desire for uniformity. do you have a preference for one format over the other. I have reversed my change for now. even better would probably be to create a header template to make sure they are all completely consistent. thank you. Frietjes (talk) 14:02, 7 January 2017 (UTC)
Thanks for your response! I don't know that I really do have a preference one way or the other. The wikitable format does seem simpler and a little cleaner on the page, but I don't know that it would be worth the effort to roll it out over the hundreds and hundreds of these pages (unless there is some automated way to do it - I don't know much about that stuff). I'm not sure a header template would work as each election requires different columns for different parties. Frickeg (talk) 22:41, 7 January 2017 (UTC)
Frickeg, I'm probably leave it the way it is for now. the different columns aspect isn't that difficult to do, since you can just make the party names part of the input and count (see Template:Canadian politics/candlist header). the benefit would be complete uniformity and simplicity of the wikicode in articles. but, as you said, changing them would require changing around 1000 pages (by my estimation). again, not that serious of a problem, since it could be scripted by bot. but, that would require a bot request and coding etc. thank you for the feedback, and I will let you know if I decide to do something more. Frietjes (talk) 14:27, 8 January 2017 (UTC)

Area code maps template[edit]

I want to add my thanks and, if you didn't already have those barnstars I'd add one for figuring out how to move the clickable maps for the area codes for California, Texas and Pennsylvania to templates. I was worried about this, especially for California, because it has something like 19 current area codes and more will follow. This was definitely a maintenance headache every time they added an overlay or split an area code, all the pages had to be changed. In fact, I had to switch from PNG image maps to SVG raster maps in order to reduce the amount of work to update a map, since SVG images can be edited and updated, ordinary images like PNG have to be rebuilt. This will make it easier to make corrections. Again, thanks; I had wanted to move the map to a template for several years now but could not figure out how to get it to work.

There is only one minor and small detail I recommend and I have put it in the California one, which is to include in the description box a mention that the map is clickable and one can go to any area code on the map by clicking on it. Other than that small and not-very-important minor detail I think you did a fantastic job. Paul Robinson (Rfc1394) (talk) 22:30, 7 January 2017 (UTC)

Paul Robinson (Rfc1394), if I recall, I generally just moved the code from the articles to the template, so the wording was generally as it was in the articles. since my initial efforts, the wording has been changed by other editors. feel free to change it to whatever you want. my point was to simplify the articles and reduce code redundancy. Frietjes (talk) 14:30, 8 January 2017 (UTC)


Thanks for that... Major oversight on my part. Just clicked "edit" on the last heading. --Zackmann08 (Talk to me/What I been doing) 16:45, 11 January 2017 (UTC)

Infobox military installation and Template:Infobox Burg[edit]

Have you looked at Template:Infobox Burg in relation to Template:Infobox military installation and its handling of coordinates? The former needs someone smarter than I to convert it to the new coordinates system. โ€“ Jonesey95 (talk) 19:05, 11 January 2017 (UTC)

Jonesey95, I had forgotten about that one. should work now. Frietjes (talk) 19:50, 11 January 2017 (UTC)
Thanks. Should this template be converted to a subst-only template? It has always struck me as wrong to have foreign-language templates resident in the English Wikipedia. There are currently 230 transclusions. โ€“ Jonesey95 (talk) 20:52, 11 January 2017 (UTC)
Jonesey95, the instructions say it should be substituted. I don't see any serious problem with making it auto substituted. if there is something that doesn't get converted, then it can always be added later by grabbing stuff from the corresponding German article. Frietjes (talk) 20:54, 11 January 2017 (UTC)
I marked it for auto-substitution after testing a few, adding |format=dms to the {{coord}} template call to make it match the previous usage, and checking to ensure that problems mentioned on the talk page had been resolved. โ€“ Jonesey95 (talk) 21:18, 11 January 2017 (UTC)

Help with an Infobox[edit]

Greetings! You are my go to gal for help with all things Infobox... Hope that isn't a bother. You are just super good with them! I'm working on Template:Infobox hurricane current/sandbox and am wondering if you have any tips for how best to do the top bar. I've got it kind of working at the moment but not a big fan of the code. Obviously it is still a work in progress. Still missing a bunch of stuff in the body of the template but wanted to see if I could get your input on the top part. Thanks in advance! --Zackmann08 (Talk to me/What I been doing) 18:35, 17 January 2017 (UTC)

User:Zackmann08, you could probably do it with a floating div, but tables are more robust. see, for example Template:Infobox hurricane current/sandbox2 and the testcases. Frietjes (talk) 20:10, 17 January 2017 (UTC)
Well... You took it and ran. lol. Looks great!!! Do you want to merge it in the main or should I? I don't want to take credit for your work... --Zackmann08 (Talk to me/What I been doing) 21:34, 17 January 2017 (UTC)

TFD on template:List of United States Post Offices[edit]

Please consider commenting at Wikipedia:Templates_for_discussion/Log/2017_January_17#Template:List_of_United_States_Post_Offices, a deletion proposal. You participated in previous Wikipedia:Templates_for_discussion/Log/2016_November_3#Template:United_States_Postal_Service, a merger proposal. --doncram 20:25, 17 January 2017 (UTC)

Template:Infobox tennis tournament event[edit]

Hi, I updated this template to display a 'Details' header if the field 'Draw' (or 'Seeds') has a value but is seems to display by default regardless of any value (example with 'Draw' field value, example without 'Draw' field value). Would appreciate if you can have a look and tell me what I'm doing wrong. Cheers, --Wolbo (talk) 20:24, 20 January 2017 (UTC)

Wolbo, fixed. I have no idea why we are using the whole yes/no logic in some places, instead of just using whether or not the subsequent labels/data are empty. Frietjes (talk) 20:28, 20 January 2017 (UTC)
Thx! I'm not a template expert but the code you used seems simpler, more straightforward than the yes/no construction it replaced. --Wolbo (talk) 02:42, 22 January 2017 (UTC)

Question on a color box idea[edit]

Frietjes, I have an idea for the color boxes and team colors, but not sure if it is possible... Many of the conference pages have a "colors" section in their members sections. Instead of having them manually inserted, is there a way we could incorporate the {{color box}} into the module with a code in the likes of {{color box|team=Emporia State Hornets}}? It would then produce either both colors like it would in the infobox (         ) or we could separate it and do something like the primary or secondary color like in {{CollegePrimaryStyle}} & {{CollegeSecondaryStyle}} which would list them individually... Thoughts? Corkythehornetfan (ping me) 19:02, 22 January 2017 (UTC)

Changes to lake Infoboxes[edit]

Hello, in lake articles I noticed you changed the ordering of some {{Infobox body of water}} parameters. For example with this edit, the pushpin_ parameters are now after caption. In the template documentation, they appear near the end. So I'm wondering if that ordering is no longer recommended. Thanks Declangi (talk) 22:13, 22 January 2017 (UTC)