User talk:Frietjes

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

Barnstar for you![edit]

Template:Infobox men's college basketball team‎, etc.[edit]

Frietjes, here's a template merge I would support in a heartbeat: Template:Infobox men's college basketball team‎ and Template:Infobox women's college basketball team‎.

Have you ever contemplated a comprehensive merge of all the college sports team infobox templates? With a handful of options, I think all U.S. college sports could be accommodated and the team infoboxes would then have a uniform appearance across all sports. Just a thought . . . . Dirtlawyer1 (talk) 21:48, 23 May 2013 (UTC)

the first is already proposed here. I had thought about the second as well, but it will take more time to work out all the details, since there are differences in the post-season tournament section for various sports. Frietjes (talk) 22:19, 23 May 2013 (UTC)
I just posted a comment in support of the merge of men's and women's college basketball templates. That pending merge should be a no-brainer, and you are clearly already on top of the two minor issues to be addressed in the combined template.
The creation of a combined infobox template for all U.S. college sports teams would require a lot of work and the inclusion of several options, but the core information to be included is common to all. Differences in NCAA playoff structure, etc., could be accommodated by options to be toggled as needed. The payoff would be worth the effort. Not only should these infoboxes have a common appearance within a given sport, the teams affiliated with a given university should also have a common appearance and graphics style, and that can only be accomplished by a common template across all college sports teams. I think you would find the college football, basketball and baseball sports projects to be supportive, and the other college sports do not have active/vocal WikiProjects and tend to follow the lead of the football, basketball and baseball projects. I would be grateful for your help in making this happen, but I also understand that you have numerous pending template projects already. Dirtlawyer1 (talk) 11:14, 24 May 2013 (UTC)

Is merge possible?[edit]

I wonder how possible is to merge Template:Infobox WNBA biography into Template:Infobox basketball biography. -- Magioladitis (talk) 00:30, 26 December 2013 (UTC)

@Magioladitis: possible but difficult, and given the existence of Template:Infobox NBA biography, seems one-sided to only merge one. Frietjes (talk) 14:02, 30 December 2013 (UTC)
Template:Infobox NBA biography is a redirect. -- Magioladitis (talk) 14:11, 30 December 2013 (UTC)
@Magioladitis: oops, yes, you're right. then, I suppose it seems like a logical merger. someone would need to do some more in depth analysis of what would be required to merge them. Frietjes (talk) 14:14, 30 December 2013 (UTC)

There are 5 things to take care of:

  • Yes check.svg Done |highschool= needs to be renamed to |high_school=
  • |draft= needs to be demerged to |draft_round= and |draft_pick=.
  • |overseas_career_start= and |overseas_career_end= do not exist in Infobox basketball biography
  • |profile= is |NBA_profile= so I guess we only need to support both
  • career_teams, overseas_career_teams, awards, medal_templates, medal_templates-expand do not exist in Infobox basketball biography

-- Magioladitis (talk) 14:21, 30 December 2013 (UTC)

@Magioladitis: seems many of the field labels have WNBA in them as well (e.g., "WNBA head coach of" and "Non-WNBA career")? Frietjes (talk) 14:24, 30 December 2013 (UTC)
WBNA career can certainly change to just Career but in worst case scenario we could use Template:Infobox basketball biography as the base infobox for Template:Infobox WNBA biography. -- Magioladitis (talk) 14:28, 30 December 2013 (UTC)

Template:Infobox pipeline[edit]

Hi, Frietjes. You are expert in the field of infoboxes. Could yo please see {{Infobox pipeline}}. The field discharge_bbl_d is meant to be million barrels per day; however, it uses Mbbl/d instead of MMbbl/d. Could you fix this? Thank you in advance. Beagel (talk) 05:33, 24 March 2014 (UTC)

Need(s) proper infobox[edit]

I like the header ;)

Something from Lua[edit]

Hi! I posted at User talk:Mr. Stradivarius, but it looks, that Mr. Stradivarius won't respond. So maybe you could have a look:

I wanted to import the portal module to Latvian Wikipedia, but we have diffrent system, as we don't have very much portals and the syntax is a little bit different. I created such data page:

'Portal name' = 'parameter 1', 'parameter 2', 'parameter 3', 'parameter 4' (optionally)

If it would be template, then its code would be something like this (for each portal):

[[File:{{{parameter 3}}}|{{{parameter 4}}}]] [[Portāls:{{{parameter 2}}} portāls|{{{parameter 1}}}]]

And for inclusion in article I would write {{portal|<<here goes the portal name (from data module)>>}}.

So, how it looks to You? You can make any changes for the module @lv wiki, you won't ruin anything as it isn't used.

If the 'Portal name' would be case sensitive (it would be nice, if not)?--Edgars2007 (talk/contribs) 14:20, 26 May 2014 (UTC)

TwoLeg start[edit]

I have some proposal for a new module. Basically it would implement Template:TwoLeg start (and result) templates, but it could be functionality could be expanded to more legs. There could be such module result:

{{#invoke: Leg|main|legs=2
here goes some formatting things (result width eg.) and maybe some optional text for cells
|{{fb-rt|SCO}} || 1–6 | '''{{fb|NED}}''' || 1–0 | 0–6

would produce

Team 1 Agg. Team 2 1st leg 2nd leg
Scotland  1–6  Netherlands 1–0 0–6

And to use the module for existing templates, there could be functions for that, so TwoLegStart's code could be replaced with something like {{#invoke: Leg|start|legs=2}}.

And for the optional text for cells:

--Edgars2007 (talk/contribs) 10:42, 23 June 2014 (UTC)

CHECKWIKI February lists are available[edit]

Pages with tt tags[edit]

[18]. -- Magioladitis (talk) 23:02, 1 December 2014 (UTC)

@Magioladitis: You can use {{oldid|User:Bgwhite/Sandbox|636233171|permalink}}permalink or even Special:Permalink/636233171 - which may be piped. --Redrose64 (talk) 12:32, 24 January 2015 (UTC)
Redrose64 thanks for the heads up! -- Magioladitis (talk) 12:40, 24 January 2015 (UTC)

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)

Seems like you're the #property fundi (too)[edit]

I need help, as usual. I asked questions on WP:VP but answers I was given there didn't help me.

Basically, #property:P625 (location) returns info as a text string, e.g. 9°39'N, 123°52'E (and beware that the apostrophe is encoded as &#39;). That's not directly useful for inputting to e.g. {{infobox settlement}}, which wants eight separate elements. First of all I though I could just have a deep nest of {{replace}} and {{str rep}} to parse the string into something which could be handed to the infobox. So {{replace|{{replace|{{replace|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep |{{#property:P635}}|,| {{pipe}}longd{{=}}}}|°|{{pipe}} latm{{=}} }}|°|{{pipe}} longm{{=}} }}|'|{{pipe}} lats{{=}} }}|'|{{pipe}} longs{{=}} }}|N|{{pipe}}latNX{{=}} N}}|S|{{pipe}}latNS{{=}} S}}|E|{{pipe}}longEY{{=}} E}}|W|{{pipe}}longEW{{=}} W}}|"| }}|NX|NS}}|EY|EW}} does that. It transforms the raw wikidata text like this:
latd= {{replace|{{replace|{{replace|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep|{{str rep | 9°39'N, 123°52'E |,| {{pipe}}longd{{=}}}}|°|{{pipe}} latm{{=}} }}|°|{{pipe}} longm{{=}} }}|'|{{pipe}} lats{{=}} }}|'|{{pipe}} longs{{=}} }}|N|{{pipe}}latNX{{=}} N}}|S|{{pipe}}latNS{{=}} S}}|E|{{pipe}}longEY{{=}} E}}|W|{{pipe}}longEW{{=}} W}}|"| }}|NX|NS}}|EY|EW}} = latd= 9| latm= 39| lats= |latNS= N |longd= 123| longm= 52| longs= |longEW= E

Looks correct, but does not work - inside infobox it is handled as a single parameter with a lot of pipes. What is needed is some mechanism for returning a string into pieces, separated at the pipe. Is there such a beast?

I thought maybe a template would do it, and I tried a subpage of my sandbox, but that principally didn't work because its nesting depth was 41/40, and that was just with a dummy text string not using #property.

After a bit of playing around, I abandoned that idea, and tried instead for a routine which returns just a part of the input, depending on what is asked for. So basically |1=1 returns latd, |1=2 returns latm etc. So for each coordinate there would need to be 8 entries. Main problem is that string handling methods of wikipedia are pretty primitive and unwieldy. In order to extract any particular piece, there would need to be several (bordering on many) calls to retrieve wikidata value. Original method had just one, this would have, I don't know, 30 - 50. (I had a thought while I was checking this - I could pass the text string as a parameter rather than extracting it n times)

So before I finally file method 1 under "too difficult", I thought I'd ask you for thoughts.

I could add that method 1 is fairly specific, oriented towards {{infobox settlement}}. A later development item for the output to be formatted according to a supplied model - |model=format.

All this stuff is in my sandbox (ignore first few lines - that's a different ongoing experiment). with subpage /parseCoords

Any thoughts? --Unbuttered parsnip (talk) mytime= Sat 12:42, wikitime= 04:42, 20 December 2014 (UTC)

Actually that Plan 2B worked out alright. Revised code is in sandbox and sandbox/parseCoords. I'm happy enough with it - I think the external data-get is a good compromise, even though it's 8 gets rather than one, it's a whole lot better than 30 - 50 of Plan 2A. I might publish it as a template. It does rely on the format of the wikidata output not changing - up to 3 digits for latitude degrees, only two for longitude; two digits each for arcminutes and arcseconds (I presume with leading zero). And arcminutes is regular apostrophe and arcseconds is plain double-quote. --Thanks for your input! --Unbuttered parsnip (talk) mytime= Sat 18:07, wikitime= 10:07, 20 December 2014 (UTC)
User:Unbuttered Parsnip, the current use (or abuse) of the property tag in articles should be cleaned up, in my opinion (e.g., Alburquerque, Bohol and others). what we need is for {{infobox settlement}} to pull data from wikidata when (1) it's available and (2) not already specified in the infobox. User:Jackmcbarn updated location map here to pull the coordinates from wikidata. we should do the same for {{infobox settlement}}, or have a keyword to say |use_wikidata=yes or something to trigger the infobox to pull the data. I started module:infobox settlement, but it will take at least a few days to finish it, so the best place to start trying this out is probably in the current sandbox. Frietjes (talk) 15:23, 20 December 2014 (UTC)
I guess changing infobox(es) is the best solution. I don't think as a rule user input should override what wikidata holds - if it's known, then that's what to use. (Might slow vandals down too!) I'm not sure how wikidata gets updated, apart from manually. I guess there's some sort of bot which crawls around, updating wikidata from page data, and 'crawls' is the word - it seems a slow process. (Hardly surprising, as manual update of data takes an age too.)
On the more general topic of wikidata, there are several "fields" I can think of which should be included, in the Philippine context. Income classification should certainly be there, and some mechanism to hang barangays off municipalities. BTW is there a simple way of counting qualifiers - for instance if I add n barangays to a municipality, can I easily get the value of n? --Unbuttered parsnip (talk) mytime= Sat 23:39, wikitime= 15:39, 20 December 2014 (UTC)

Template:Infobox U.S. state[edit]

I saw you have experience in infobox syntax and was wondering if you thought it would be possible to add a Minimum Wage section to this infobox. I thought now is a good time given all the recent changes. There is already a good list to source the info from. Thanks! EoRdE6(Come Talk to Me!) 21:46, 1 January 2015 (UTC)

unclosed center/small tags[edit]

-- Magioladitis (talk) 08:09, 24 January 2015 (UTC)

p tags... again[edit]


APL (programming language). It turns that we won't be able to avoid the whitelist afterall? -- Magioladitis (talk) 09:57, 14 January 2015 (UTC)

(talk page stalker) @Magioladitis: Regarding that, I reverted this Yobot edit - the markup in that example is intentionally in pure HTML. --Redrose64 (talk) 12:47, 14 January 2015 (UTC)
@Redrose64: rev 10769 on the latter. -- Magioladitis (talk) 16:37, 14 January 2015 (UTC)

Check this please Threatened species known to occur in the Great Barrier Reef World Heritage Area. -- Magioladitis (talk) 09:36, 17 January 2015 (UTC)


Hi, just interested in why you are changing college baseball pages to have wikitables for schedules rather than Navframes. The consensus all along, as evidenced by every season page, is that navframes are the preferred method. I'm sure everyone would be open to a discussion but I don't see why we should just change them all of a sudden. Mpejkrm (talk) 23:35, 21 January 2015 (UTC)

massive reduction in code complexity. an even better option would be to use templates like other sports. Frietjes (talk) 23:36, 21 January 2015 (UTC)
OK, that makes sense. I'll try to see if I can play around and get a template to work. Mpejkrm (talk) 23:39, 21 January 2015 (UTC)
Mpejkrm, something like Template:NBA game log start / Template:NBA game log section would be very close to what you want. Frietjes (talk) 23:44, 21 January 2015 (UTC)
There is already a Template:CBSB Schedule Entry, I just need to create a Start and End. Mpejkrm (talk) 23:47, 21 January 2015 (UTC)
Mpejkrm, right, Template:NBA game log start / Template:NBA game log section / Template:NBA game log end are the analogous start and end templates. Frietjes (talk) 23:53, 21 January 2015 (UTC)
I see, I was just thinking along the lines of other College Sports schedule templates such as Template:CBB schedule entry or Template:CIH schedule entry. I'll play around with it. Mpejkrm (talk) 23:56, 21 January 2015 (UTC)

Your assistance is requested . . . .[edit]

Frietjes, we're looking to modify the infobox template for college football players: User:Dirtlawyer1/sandbox. After determining what data points to include, we'll need a template editor to handle the coding for us. Once we determine what fields we're adding and what we're deleting, then we'll work on the modified graphics. Are you available to help? I would prefer to have a template editor who has worked on the sports infobox templates in the past and has a solid working familiarity with them. I'm hoping you fit the bill. Dirtlawyer1 (talk) 02:56, 7 January 2015 (UTC)

I will probably have time this weekend. Frietjes (talk) 01:06, 8 January 2015 (UTC)
Thanks, Frietjes. There are four purposes in revamping the infobox: (1) make it more compatible with Template:Infobox NFL player to facilitate easier conversion for college players who play pro ball; (2) add several college-specific fields; (3) make it a lifetime infobox, so it can be used by notable former college players who never played pro ball; and (4) update the graphics to give it a more refined appearance, distinct from the infoboxes for pro players. Dirtlawyer1 (talk) 22:10, 8 January 2015 (UTC)
Frietjes, when you have time, please take a look at this wish list of design and graphics ideas for the revamped infobox: User:Dirtlawyer1/sandbox3. I am hoping for a significant refinement of the graphics and a distinctive appearance. Thanks. Dirtlawyer1 (talk) 21:02, 10 January 2015 (UTC)

More pages with empty nowiki tags[edit]


I fixed one. I bet there are more. -- Magioladitis (talk) 17:38, 24 January 2015 (UTC)

yes, for that particular infobox they are not needed, but any which don't use {{infobox}} would need to be checked first. Frietjes (talk) 17:40, 24 January 2015 (UTC)
If there is a tracking category I can fix all at once. According to the list I created in the past here: User:WOSlinker/Infoboxes only 5 infoboxes about person still do not use Infobox. -- Magioladitis (talk)
could be possible to track. the best way would probably be to have it done within module:infobox, otherwise you would need to add tracking to every infobox? it's either that or checkwiki to look for = followed by the empty nowiki, then make sure any offending templates are okay to have the nowiki removed? Frietjes (talk) 17:47, 24 January 2015 (UTC)
I'll ask Bgwhite to perform a database scan to empty nowiki tags. -- Magioladitis (talk) 19:07, 24 January 2015 (UTC)

Full list. -- Magioladitis (talk) 10:34, 1 February 2015 (UTC)

By fixing

  • 2,000 pages in Infobox baseball biography
  • 16,500 pages in Infobox MLB player
  • 7,366 pages in Infobox NFL player

We are down to 3,234. -- Magioladitis (talk) 15:27, 1 February 2015 (UTC)

Magioladitis, good. you can do this because {{infobox single}} no longer has a |Review= parameter. and you can safely do this because {{Infobox NYCS}} uses {{infobox}}. Frietjes (talk) 15:32, 1 February 2015 (UTC)
  • 380 pages in Infobox NYCS.
  • 290 pages in Infobox single. -- Magioladitis (talk) 15:37, 1 February 2015 (UTC)
Magioladitis, good, you can also do this because {{infobox military conflict}} uses a cousin of {{infobox}}. for the apostrophe after italics or bold you can do this. Frietjes (talk) 15:43, 1 February 2015 (UTC)

I see some problems. -- Magioladitis (talk) 16:37, 1 February 2015 (UTC)

Magioladitis, now fixed, try again. Frietjes (talk) 16:43, 1 February 2015 (UTC)
Still problem with |partof=; see Battle of Vučji Do. -- Magioladitis (talk) 16:46, 1 February 2015 (UTC)
Magioladitis, could make that work, but better to just use plainlist. Frietjes (talk) 16:49, 1 February 2015 (UTC)

Thanks. Feel free to remove fixed items from my list. I messed up and did not keep a full record of what is fixed. -- Magioladitis (talk) 17:01, 1 February 2015 (UTC)

Magioladitis, I will rescan the original list and make a smaller list of ones which still have empty nowiki tags. Frietjes (talk) 17:42, 1 February 2015 (UTC)

It turns that Template:Infobox college coach still requires the tags? [19]. -- Magioladitis (talk) 07:57, 2 February 2015 (UTC)

Same problem for Template:Infobox officeholder but I guess this was expected since it does not use Infobox yet. -- Magioladitis (talk) 07:59, 2 February 2015 (UTC)

For Template:Infobox college coach, the empty <nowiki></nowiki> is there to prevent the next newline from being stripped as whitespace. This newline is necessary for the asterisk to be seen by the MediaWiki parser as being at the start of a line, and so interpreted as an item in a bulleted list. It is not necessary to use an empty <nowiki></nowiki> since anything invisible will do - such as an empty <span></span> or the entity for a normal space &#32; like this --Redrose64 (talk) 12:21, 2 February 2015 (UTC)
Redrose64 that's nice but I think we can get a solution similar ot all other infoboxes by tweaking the infobox code. -- Magioladitis (talk) 12:29, 2 February 2015 (UTC)
Redrose64 and Magioladitis, now fixed so this works. Frietjes (talk) 15:43, 2 February 2015 (UTC)
yes, officeholder will work after it's convert to use infobox. if you have specific examples, I can make them work now, but if you check the testcases page for officeholder, you will see there is a list test there for one particular field showing the difference between the current and sandbox version. Frietjes (talk) 15:43, 2 February 2015 (UTC)

Template:Infobox NFL coach needs code tweak too. -- Magioladitis (talk) 17:07, 4 February 2015 (UTC)

Please rescan the page once more. I did some. -- Magioladitis (talk) 18:40, 8 February 2015 (UTC)

Question on center tags[edit]

I did this. Is this OK or should I have done something else? -- Magioladitis (talk) 08:34, 26 January 2015 (UTC)

(talk page stalker) @Magioladitis: The align= attribute on a table cell is obsolete in HTML 5. If you look at the very next line in your diff, it says
| style="text-align:center" | ...
which does the same as
| align="center"| ...
but is valid HTML 5. --Redrose64 (talk) 12:10, 26 January 2015 (UTC)
correct. by the way, the really broken one was the line directly above your change. we don't need a center tag before the style statement, and the div tag is also unnecessary if the centering is specified in the style statement for the table cell. Frietjes (talk) 14:04, 26 January 2015 (UTC)

A F&R to change




would be effective? I think we need to set some rules for bot run. Manual editing will take forever especially because I am not familiar with all tricks that need to be done. -- Magioladitis (talk) 09:52, 27 January 2015 (UTC)

(stalker)In most cases, yes, that seems to be right. There are always going to be ugly edge cases in no-wiki blocks or code blocks, or something entirely different, like above, where the markup is just broken. So semi-automated (a la AWB) is good, but it needs human supervision. Martijn Hoekstra (talk) 14:50, 27 January 2015 (UTC)

Conversion to infobox[edit]

Hi! Maybe you have some time to convert these 2 infoboxes to {{infobox}} base? {{Infobox country}} and {{Infobox former country}}? --Edgars2007 (talk/contribs) 07:00, 1 February 2015 (UTC)

They could usefully be merged at the same time. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:48, 10 February 2015 (UTC)


Your script fails to find any duplicates at Template:Infobox historic site. I suspect the reason may be a greater depth of template nesting than your script allows for, as none of the templates it calls show a duplicate error (I checked them all). Worth getting this fixed, as it has a high transclusion count. --NSH002 (talk) 20:51, 2 February 2015 (UTC)

NSH002, fixed the infobox, will try to figure out why it couldn't find it later ... Frietjes (talk) 20:59, 2 February 2015 (UTC)

Template:URL has dublicate arguments. How weyou could fix that? --Edgars2007 (talk/contribs) 11:44, 16 February 2015 (UTC)

Edgars2007, I modified the script to handle "#invoke:". Frietjes (talk) 15:34, 20 February 2015 (UTC)
Thanks. Anyway, why Template:URL has the |1= and |2= ? I put sandbox without them, and everything looks good for me: Template:URL/testcases, even whose with =. See my tests. --Edgars2007 (talk/contribs) 10:00, 25 February 2015 (UTC)
@Edgars2007: It's for cases when the URL contains an equals sign, most often found when the URL has a query string, like the page=1 in - if there are no equals signs in the URL, you can omit the 1= from the start. --Redrose64 (talk) 14:55, 25 February 2015 (UTC)
Redrose64, as discussed above, the sandbox version doesn't have the 1= or 2= but appears to be working fine in the testcases. so, it seems that 1= and 2= are only needed when you call the template, not when the template passes the parameters to the module. for example, try {{URL| 1= |2=this=that}} vs. {{URL/sandbox| 1= |2=this=that}} Frietjes (talk) 18:38, 25 February 2015 (UTC)
On that testcases page, all but two of the examples that have an equals sign within the URL also have a 1= at the start. The two that do not are:
Code Result Sandbox Result
{{URL| }} {{URL||optional display text}} {{URL||optional display text}}
{{URL| | example }} example example
These do not yield the intended URLs. The 1= are necessary. --Redrose64 (talk) 20:28, 25 February 2015 (UTC)
Redrose64, which has nothing to do with the original question. Frietjes (talk) 20:32, 25 February 2015 (UTC)
thank you for confirming the difference between the live and sandbox versions does not change the result, even when supplied with malformed input. Frietjes (talk) 21:07, 25 February 2015 (UTC)
My intention was to show that examples (Redrose64 has given here) work the same in the live and the version. But ok, this was only just from FYI series. and yes, I know what |1= are used for :) --Edgars2007 (talk/contribs) 07:51, 26 February 2015 (UTC)

Infobox NFL coach, etc.[edit]

@Frietjes: Hey, I wanted to give you a head's up. As you may recall, we have an outstanding TfM for Infobox NFL player and Infobox NFL coach. I noticed that you were industriously working on upgrading the code for Infobox NFL coach today. Unfortunately, your changes are making the NFL coach infobox less like the NFL player infobox, and more like Infobox basketball biography, including the use of individual year and team parameters for each coach tenure, with the year-span tenure preceding the team, not the team followed by the tenure in parentheses as currently employed by Infobox NFL player. Please keep in mind, several hundred recent NFL coaches already employ Infobox NFL player. I would hate for your to invest a large amount of time in these 340 or so infoboxes for NFL coaches which are ultimately going to follow a different format for player and coach tenures. Completing revamp of Infobox NFL player was already on my to-do list (see insider discussion initiated here), to be followed by replacing all uses of Infobox NFL coach with the revamped Infobox NFL player. The primary purpose of the revamped Infobox NFL player is to pare its length, and make way for all coaches to use it in the near future. Please ping me back and let's discuss further. Dirtlawyer1 (talk) 23:23, 4 February 2015 (UTC)

Dirtlawyer1, the <br> delimited format for the years and teams is very bad on many levels, the most obvious being the difficulty in aligning the year spans with the teams. yes, I am aware, that this is eventually being merged with template:Infobox NFL player (now stagnate since 2012). it's much easier to go from the fine-grained format to a less fine-grained list format, than it is to do the reverse. Frietjes (talk) 23:27, 4 February 2015 (UTC)
Understood, Frietjes. But please be aware that it's not the several hundred coaches that are going to drive the formatting of the final version of Infobox NFL player; there are over 14,000 current uses of that template, which employs free-form player and coach tenures, with the team followed by a year-span tenure in a parenthetical. Converting those 14,000+ existing uses to double-delimited team-yearspan tenure format would be a massive undertaking, requiring more manual editing hours than we have available.
I understand if you want to complete your present tasks (it appears you are at least half way through the 340 existing uses of Infobox NFL coach). If so, I would ask that you convert the present infobox so that teams appear first, followed by the year-span in a parenthetical, consistent with our established WP:NFL format for Infobox NFL player and Infobox college football player. This is also consistent with how all infobox championships, honors and awards are formatted. When the revamped Infobox NFL player is done, it's going to look more like a slimmed-down version of its present incarnation than Infobox basketball biography or Infobox gridiron football. Design decisions were made in 2007, and a great deal of time and effort has been invested in trying to make them uniform throughout the American football universe.
What do you want to do? Dirtlawyer1 (talk) 23:41, 4 February 2015 (UTC)
Dirtlawyer1, my primary goal was to fix the screwed up alignment issues with the years not being aligned with the teams, without making any significant change to the presentation. however, you are correct, in the context of a merger with the player infobox, it's very likely that the final presentation format will be a bulleted list. while it may be feasible to make changes to {{infobox NFL coach}} to have it produce output that looks like {{infobox NFL player}}, it would not be easy. coding it to work for articles like Pat Meyer would be simple, since it's a very simple pairing of years with teams. however, articles like Terrell Williams and Dave Gettleman are going to be more difficult, since there are parenthetical designations and multilevel year spans. what I can do is make a version of {{infobox NFL coach}}, which can be substituted, to leave a pre-filled version of {{infobox NFL biography}}. however, after it is substituted, the editor performing the substitution would then need to inspect the output and fix any formatting issues. the good news is that now that I finished with my work today (empty tracking category), this is actually possible, since we now have a nearly 1-to-1 correspondence between the years and the teams (so I can write * {{{player_team1}}} ({{{player_years1}}})). whereas before, the association between the years and teams was impossible for a machine/script/template to reliably parse. Frietjes (talk) 00:56, 5 February 2015 (UTC)
Dirtlawyer1, there is now a first draft of a conversion template in the sandbox, you can see the differences in Template:Infobox NFL coach/testcases. I have marked the parameters with no obvious equivalents with a "Missing?" comment in the sandbox. I think a |current_title= would be useful for {{Infobox football biography}} to avoid overloading the |position= parameters. Frietjes (talk) 01:36, 5 February 2015 (UTC)
Alma mater might be useful for coaches who never played in college, since this conversion now lists the college in the career section. Frietjes (talk) 01:52, 5 February 2015 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── I've got no argument with any of what you say above, Frietjes (but I need to look at those three or four suggestions you mention at the end of your comments above). My initial concern was that you were investing valuable time in something that's going to get tossed aside in a few months; however, if I understand your assessment above, you're telling me it's time well spent and your present efforts will actually help facilitate a mostly automated merge of the coach data points into a revamped Infobox NFL player. Given your description of the effort required to make a temporary Infobox NFL coach look more like Infobox NFL player, that's clearly not worth anyone's time (and especially yours) for a temporary solution.

As to manual inspections of the 340 coaches' infoboxes after an automated merge, that's a relatively small task compared to dealing with manual inspections/editing of the existing 14,000+ uses of Infobox NFL player. I helped implement the last round of merges into Infobox NFL player several years ago, when we were eliminating the separate infoboxes for retired NFL and AFL players (Infobox pro player is a remnant of that effort), and I replaced several hundred old infoboxes manually with the Infobox NFL player. Most required not only inspection, but significant manual edits, and the old AFL players often required a working knowledge of 1960s NFL/AFL history to get it right. Eagles247, two or three other editors and I did virtually all of the work, and that was after a script was employed to change the parameter names and add several new ones. Frankly, I still encounter a lot of bad automated edits from the script in the older NFL articles, and that colors my reaction when anyone suggests automated script edits are some sort of panacea. If we have only three football infoboxes left at the end of 2015 (Infobox NFL player (perhaps re-styled "Infobox NFL biography"), Infobox college football player, Infobox gridiron football person), with the first two significantly revamped and upgraded, I would count this year as a huge success for the related WikiProjects.

I have Technical 13 working on the coding for a revamped Infobox college football player, but after the initial mock-ups are completed for approval by WP:CFB members, I would very much like you to review those efforts with T13 to make sure that we have done the revamped coding in the simplest, most elegant manner. After that, I intend to take a revamped Infobox NFL player to WP:CFB and WP:NFL members for comments, and I could use your help there, too, but that's probably 60 days down the road -- we've just begun the "insider" discussions on point. I'm not going to touch Infobox gridiron football person; that's the baby of WP:CFL, and I'm under the impression they like it just fine the way it is for both CFL players and the handful of notable Canadian CIS college players. American and Canadian football are different enough that they do not need to have a common infobox; the CFL guys had the opportunity to join the effort associated with the then-new Infobox NFL player in 2007, but chose to continue using the older template. Personally, I think visually distinguishing between American and Canadian pros is entirely appropriate -- it really is two different games in a lot of ways. After eliminating 8 or 9 other American football specialized templates over the last 7 years, we should call only 3 left standing a major victory. Dirtlawyer1 (talk) 01:58, 5 February 2015 (UTC)

FYI, I like your revamped "sandbox" version better than the existing rendering of the infobox. I do not that Terrell Williams needs to be converted to Infobox college coach, which is the uniform template for all American college coaches, including football -- I will mention to Jweiss11. He loves that kind of work. Dirtlawyer1 (talk) 02:05, 5 February 2015 (UTC)
Dirtlawyer1, with a |alma mater= (for coaches who never played) and |coaching_position= or |current_title= (for coaches who were both players and coaches), I believe I could convert all of the existing NFL coach transclusions to use NFL player/biography, without any loss of information. Frietjes (talk) 15:42, 6 February 2015 (UTC)

Adding error detection to Template:birth date and age[edit]

I thought you might be interested in helping with date error detection in Template:birth date and age. It seems like something that matches your skills. – Jonesey95 (talk) 23:25, 8 February 2015 (UTC)


Three pages Wikipedia:CHECKWIKI/034 dump use switch. How do we fix these? -- Magioladitis (talk) 12:45, 10 February 2015 (UTC)

Infobox template help[edit]

Hi, Thanks for adding the "palgrid" field to Template:Infobox Palestine municipality. Can you please change Template:Infobox Israel village and so that the fields "grid_name" and "grid_position" from Infobox settlement are activated? I tried it but must have done something wrong so I reverted. The syntax scares me. It is best to allow the two raw grid fields rather than specifically "palgrid" since some places should use the new Israel grid rather than the old one. Thanks. Zerotalk 01:51, 13 February 2015 (UTC)

Perhaps also Template:Infobox Israel municipality? Take Ein Mahil: I would like to add
|grid name=Palestine grid
|grid position=183/236
to the info box: that would be very useful. Huldra (talk) 19:34, 14 February 2015 (UTC)
@Zero0000, Huldra:, done? you will want to update the documentation if possible. Frietjes (talk) 15:39, 15 February 2015 (UTC)
Ok thanks, but when I tried adding the above info to Ein Mahil, then nothing was visible? Got it, just adding |palgrid=183/236 works fine, Thanks! Huldra (talk) 20:15, 16 February 2015 (UTC)

I am sure you meant well, and this seems like an innocuous change, but in such a politically charged topic area, it has the (perhaps unintended) consequence of implying that Israeli localities are in Palestine. Since the Palestine grid has been superseded by the Israeli Cassini Soldner grid, could we change the grid_name in the Israeli Infobox templates to "ICS Grid"? Brad Dyer (talk) 01:12, 25 February 2015 (UTC)

@Brad Dyer, Zero0000, Huldra: you should probably discuss this at Template talk:Infobox Israel municipality, or just change it. Frietjes (talk) 01:14, 25 February 2015 (UTC)
Ok, thanks, I just changed it (all the comments above about syntax made me a bit scared to do it, but it seems like a simple textual change). 01:22, 25 February 2015 (UTC)

There are good reasons for using the old Palestine grid for some localities, while for many modern places Israeli Transverse Mercator is appropriate. I don't know of any case where ICS would be appropriate. (Despite claims, ICS is not the same as the Palestine grid; northing differs by 1000 km). I'm changing the template to allow the "grid_name" and "grid_position" fields to be used directly, so the grid can be chosen for each locality. It also allows two grids to be mentioned at a squeeze. Zerotalk 08:11, 25 February 2015 (UTC)

See Amka for example. Zerotalk 08:46, 25 February 2015 (UTC)
@Brad Dyer, Zero0000, Huldra: I modified it a bit to make the label less flexible, but the input more flexible, so you can either specify |grid_position= or the individual grid values as |palgrid=, |ICSgrid=, |ICSgrid= ... individually. hopefully, this solves the problem? Frietjes (talk) 21:04, 25 February 2015 (UTC)
Seems to work fine. Thanks. Brad Dyer (talk) 21:35, 25 February 2015 (UTC)
I didn't know that was possible. Thanks very much for your help. Can I ask a question? What is it that stops "grid_name" from being displayed if "grid_position" is omitted? Zerotalk 08:17, 26 February 2015 (UTC)
User:Zero0000, the {{infobox settlement}} template uses {{infobox}} and {{infobox}} will not display a label if the corresponding data is blank. Frietjes (talk) 13:54, 26 February 2015 (UTC)
@Brad Dyer, Zero0000: Yes thanks, Frietjes, well done. Most of the sources I use, say on Crusader and Ottoman times (Denys Pringle, Moshe Sharon, Hütteroth, and Abdulfattah, Walid Khalidi) use the Pal. grid. I have only come across newer grids on "Hadashot Arkheologiyot – Excavations and Surveys in Israel". But more, the better. Cheers, Huldra (talk) 20:50, 26 February 2015 (UTC)


Kindness Barnstar Hires.png The Random Acts of Kindness Barnstar
A big thanks for your help with putting in grid-numbers in info-boxes: it works like dream! With best wishes, Huldra (talk) 22:02, 2 March 2015 (UTC)

Conversion of multiple/auto images to galleries[edit]

Hi, one thing that doesn't seem to work properly with the "packed" gallery – at least using Firefox on a Mac – is that if you resize the window, the title at the top doesn't re-centre. (Try one of your conversions at Cactus.) It does re-centre if you reload the page at the changed window size. Not sure if this is a browser/operating system specific feature or not. Peter coxhead (talk) 18:07, 26 February 2015 (UTC)

User:Peter coxhead, added a work-around, but will track down the author of the gallery packed mode to report the issue. Frietjes (talk) 18:37, 26 February 2015 (UTC)
Nice work around, but annoying though. I saw your message at User talk:Bawolff. Let's hope it gets fixed. Peter coxhead (talk) 19:25, 26 February 2015 (UTC)
  • Is there a reason why you are systematically replacing {{auto images}} with {{multiple images}}? And if you must change them, please do preserve the original formatting (e.g., caption was de-centered: before/after). czar  18:06, 27 February 2015 (UTC)


Hello Frietjes,

I requested that an edit be made to the template-protected module at Module:Infobox military conflict. Unfortunately, no answer has come. Would you take the case: Putsch. I tried it with Jackmcbarn, but he apparently is not there. --Keysanger (talk) 10:16, 27 February 2015 (UTC)

Fetching coords from wikidata[edit]

Tired of waiting for action, and unable to make sense of info snippets offered, I have developed {{ParseWDCoords}} which will do that job. I'd like to hear any thoughts from you before I go fully public (or not). Examples are in Madridejos, Cebu and Bantayan Airport. -- Unbuttered parsnip (talk) mytime= Sat 08:16, wikitime= 00:16, 28 February 2015 (UTC)

I started a thread at template talk:infobox settlement, once that one is worked out, we should be able to do the same for template:infobox airport. Frietjes (talk) 15:09, 28 February 2015 (UTC)

Tracking category[edit]

Hi Frietjes. Good day to you. Just a quick and possibly silly question, all the tracking fields that you have added at the bottom of the Infobox Power Station template, will trigger the articles using them to be automatically listed in the tracking category right? Rehman 01:46, 28 February 2015 (UTC)

Rehman pages will be listed in the tracking category if they have a parameter other than those listed. -- Magioladitis (talk) 14:21, 28 February 2015 (UTC)
that's right. the list is the list of supported parameters, and using anything that is not on the list will cause transcluding page to be placed in the category. by the way, I have a script that builds the list of valid parameters by parsing the template code, which makes it very easy to generate the list. Frietjes (talk) 14:24, 28 February 2015 (UTC)
Okay. Thanks for the replies both :] Regards, Rehman 03:02, 1 March 2015 (UTC)

Infobox academic division[edit]

Hey, Frietjes. Could you insert tracking categories into this template for the following parameters:

1. "type";
2. "closed";
3. "type";
4. "parent"; and
5. "affiliation".

A group of us are working to revamp this template, and we may eventually need your help with the coding -- if you're available. Dirtlawyer1 (talk) 01:59, 28 February 2015 (UTC)

Dirtlawyer1, done, the list of tracking categories are in my edit summaries for that template. note, 1 == 3 in your list. Frietjes (talk) 14:13, 28 February 2015 (UTC)
Thanks, Frietjes. I am still learning the coding, and I am obviously no master in that regard. We would like to implement the original intent behind this template: an infobox with subdivision-level parameters that are discipline- and profession-specific for business, divinity, law, medical schools, etc., while excluding those university-level parameters that are inappropriate for constituent academic colleges and schools. If you have any thoughts on how these purposes should be best accomplished, we would love to hear them. Dirtlawyer1 (talk) 15:20, 28 February 2015 (UTC)

Thank you[edit]

Thanks for the userbox regarding HP. Half of the userboxes, or the majority from my userpage, are missing and have yet to be added, apparently. Jon the VGN3rd (talk) 02:40, 3 March 2015 (UTC)

Quick question[edit]

Hello. I have a quick question that regards an edit you made to the Emporia State Hornets basketball article. Because I don't know much about this area, I would like to thank you for fixing the table. I thought all of that extra space to the right was a bit excessive. In regards to the color, is there a guideline against school colors (or any colors for that matter) being used on the collapsible table like it was before? If there is, that is fine, I just though the color made it stand out and looked better than being that boring grey. Like I said, I don't much about the guidelines the go with these sort of things, so I'm just curious. Thanks, Corkythehornetfan | Chat? 04:06, 3 March 2015 (UTC)

(talk page stalker) @Corkythehornetfan: Yes, WP:CONTRAST. Black text on that colour #BB8D0A      is very difficult to read. --Redrose64 (talk) 09:24, 3 March 2015 (UTC)
Okay, thanks! Corkythehornetfan | Chat? 14:58, 3 March 2015 (UTC)

A barnstar for you![edit]

Tireless Contributor Barnstar Hires.gif The Tireless Contributor Barnstar
For your endeavor in template cleanup, where I sometimes feel overwhelmed, and wish I were more like you. -- [[User:Edokter]] {{talk}} 19:55, 3 March 2015 (UTC)