→Curious: new section |
→Curious: Please note that all navboxes using {{tl|US county navigation box}} use the ''collapse_state'' parameter to specify whether it is collapsed or expanded |
||
Line 190: | Line 190: | ||
I contacted {{Ul|TonyTheTiger}} about why s/he was adding a ''state'' parameter to county navboxes such as {{Tl|Colusa County, California}}, and s/he referred me to you. What use do you envision for this new parameter? —[[User:Stepheng3|Stepheng3]] ([[User talk:Stepheng3|talk]]) 04:22, 6 April 2013 (UTC) |
I contacted {{Ul|TonyTheTiger}} about why s/he was adding a ''state'' parameter to county navboxes such as {{Tl|Colusa County, California}}, and s/he referred me to you. What use do you envision for this new parameter? —[[User:Stepheng3|Stepheng3]] ([[User talk:Stepheng3|talk]]) 04:22, 6 April 2013 (UTC) |
||
:Please note that all navboxes using {{tl|US county navigation box}} use the ''collapse_state'' parameter to specify whether it is collapsed or expanded. The ''state'' parameter, which predates the implementation of the [[MOS:COLLAPSE|collapsible feature]], specifies the US state where the county is located. Therefore, [http://en.wikipedia.org/w/index.php?title=Template:Fresno_County,_California&diff=548933987&oldid=495036909 this edit] is valid, whereas modifications [http://en.wikipedia.org/w/index.php?title=Template:Alameda_County,_California&diff=548932526&oldid=544042534 like this] one causes a conflict and thus was reverted by other users. Thanks. [[User:Zzyzx11|Zzyzx11]] ([[User talk:Zzyzx11|talk]]) 07:54, 6 April 2013 (UTC) |
Revision as of 07:54, 6 April 2013
More templates
- Why does something like this not really show the collapsible option stuff: Template:Foreign relations of the Netherlands?--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 01:50, 25 March 2013 (UTC)
- Why did Template:Norwegian film list let me add collapsible option?--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 02:59, 25 March 2013 (UTC)
- {{riksdagsledamöter}} is used on over a half dozen templates at Category:Sweden politics and government templates.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 01:43, 27 March 2013 (UTC)
I was going to ask a new question, but think I can tag it on here - {{floristic regions}}
John of Cromer in Philippines (talk) mytime= Wed 14:13, wikitime= 06:13, 27 March 2013 (UTC)
- added {{collapsible option}} to the template, which I think is what you were requesting? I also fixed the WP:TEMPLATECAT issues. Frietjes (talk) 14:41, 27 March 2013 (UTC)
- What happened at Template:1719 Establishment ships and Template:1745 Establishment ships.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 01:34, 29 March 2013 (UTC)
- strange, the entire template is wrapped in
<includeonly>...</includeonly>
, which makes the<includeonly>...</includeonly>
nested inside look strange on the template page, but no problem with the transclusions. I will fix it, and attempt to fix the script. luckily, this is very rare. Frietjes (talk) 14:32, 29 March 2013 (UTC)
- strange, the entire template is wrapped in
- What is going on with Template:London, Ontario.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 02:43, 3 April 2013 (UTC)
- Reply: You messed up a little - but we all make mistakes. Secondarywaltz (talk) 05:02, 3 April 2013 (UTC)
- {{Mexico state navigation box}} is used at Category:States of Mexico templates.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 02:12, 5 April 2013 (UTC)
- {{US state navigation box}} is used at Category:United States subdivision templates.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 02:19, 5 April 2013 (UTC)
- {{US county navigation box }} is used at Template:San Diego County, California,--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 02:58, 5 April 2013 (UTC)
- Why did the code get fooled with this edit?--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 01:26, 6 April 2013 (UTC)
HTML tables to wikitables
I don't if you could help in converting HTML tables into wikitables. CHECKWIKI error 31 provides a huge list of pages with HTML tables: https://toolserver.org/~sk/cgi-bin/checkwiki/checkwiki.cgi?project=enwiki&view=only&id=31 (7,000 pages!) -- Magioladitis (talk) 20:53, 9 February 2013 (UTC)
- You might be interested in Wikipedia:AutoEd/tablestowikitext.js. It's not perfect, but it does a reasonable job of converting HTML tables to wikitables. The main thing to watch out for is when the table is being passed to a template. Other issues include if the table is indented, or wrapped in a center tag. That said, it saves quite a bit of time if you are converting one. Thanks! Plastikspork ―Œ(talk) 00:37, 10 February 2013 (UTC)
- Just a reminder that you should always check the output to make sure it looks acceptable before saving to avoid bugs like this one. I will try to fix those bugs, but there are still bugs in the code. Thanks! Plastikspork ―Œ(talk) 00:59, 10 February 2013 (UTC)
- Thanks. I am still in the experimental phase of AutoEd. I got excited when I discovered what your tool does! Please help by fixing some of the pages. :) -- 01:23, 10 February 2013 (UTC)
- Just a reminder that you should always check the output to make sure it looks acceptable before saving to avoid bugs like this one. I will try to fix those bugs, but there are still bugs in the code. Thanks! Plastikspork ―Œ(talk) 00:59, 10 February 2013 (UTC)
Here's something for you:
The Template Barnstar | ||
I've looked at your tireless contribution to templates. So i believe this barnstar should suit you. Ibrahim ebi (talk) 15:59, 18 February 2013 (UTC) |
Barnstar for you!
The Template Barnstar | ||
Thanks for your help to improve the Adopt-a-typo template. Much appreciated! Jason Quinn (talk) 16:50, 7 March 2013 (UTC) |
Break tags in Infobox Christian leader
{{Infobox Christian leader}} needs some adjustment to include break tags in honorific-prefix the same way {{Infobox officeholder}} does. -- Magioladitis (talk) 12:42, 14 March 2013 (UTC)
- I discovered this problem while trying to remove break tags: [9] -- Magioladitis (talk) 12:48, 14 March 2013 (UTC)
- that template is fully protected, so I can't really help you. Frietjes (talk) 17:12, 14 March 2013 (UTC)
- If you provide me a sandbox, I can finish the job. -- Magioladitis (talk) 17:37, 14 March 2013 (UTC)
Template:Infobox campground
I may have undone what you did on that template. Please feel free to fix it. Also, I'd like to have the sample of the infobox reappear like it was in this version. Any other help with the clean-up is appreciated. --evrik (talk) 14:59, 19 March 2013 (UTC)
The Template Barnstar | ||
For your work with {{Infobox campground}}, thanks! --evrik (talk) 16:26, 19 March 2013 (UTC) |
Two requests
Hello, Frietjes – hope all is well.
When you have a moment, I'd appreciate what you make of the following two situations: first, some Navbox backgrounds that seem to've disappeared; and, second, is it possible to compress (remove the repetition) in the "Cause/s" code (label/data5) here?
CsDix (talk) 07:03, 23 March 2013 (UTC)
- I, personally, don't see an visual difference between the before and after in your navbox diff (but keep in mind my vision isn't as functional as other editors). as far as the repetition goes, could you provide an input example that creates this repetition? Frietjes (talk) 16:11, 23 March 2013 (UTC)
- Thanks for the navbox report. Were you looking using a PC or Mac (and, if a Mac, which browser)..?
- Regarding the "repetition", sorry not to be clearer: what I mean is whether something like a single #switch that takes the three parameters (cause/cause1, cause2, cause3) in turn is possible rather than the current three separate but identical #switch:es..? CsDix (talk) 06:43, 25 March 2013 (UTC)
- I typically use FF on Linux, but I have access to a Windows 7 PC. the infobox aircraft occurrence looks complicated. I don't immediately see a way to split it up, but I haven't looked at it in too much detail. Frietjes (talk) 14:49, 26 March 2013 (UTC)
- Thanks. I was wondering if something might occur to you at such a glance, but it hasn't – which is fine. Once it's time to ask for the sandbox version to be implemented, I think I'll leave the cause1 #switch spaced as currently while compressing the spacing in the identical cause2 and cause3 #switch:es. CsDix (talk) 16:10, 26 March 2013 (UTC)
- I typically use FF on Linux, but I have access to a Windows 7 PC. the infobox aircraft occurrence looks complicated. I don't immediately see a way to split it up, but I haven't looked at it in too much detail. Frietjes (talk) 14:49, 26 March 2013 (UTC)
I wonder if this template might work better as a Navbox-with-collapsible-sections – or is simply too big..? CsDix (talk) 06:54, 25 March 2013 (UTC)
- splitting it into multiple, more targeted navboxes would probably be the best idea. Frietjes (talk) 14:46, 26 March 2013 (UTC)
There is a problem with Template:Current Police and Crime Commissioners of England and Wales and I can't see how to fix it. I suspect it is arising from lua.
Basically, this uses {{navbox with columns}} for three columns, then a summary line as "below", followed by {{reflist|group=note}}
. I guess it used to work.
But now the {{reflist}} is being ignored; I tried <references /...> but it made no difference. It looks OK if you just go to the template, but when you try to edit then you get the error stuff. Effect is to cause all its users, i.e. every Police Commisioner page, to appear on the Category:Pages with missing references list.
I left a message on the talk page, but it looks like no-one ever visits - I was the first. I'm telling you because I know you're generally involved in navboxes. Or failing that, that you know someone who is.
John of Cromer in Philippines (talk) mytime= Tue 19:43, wikitime= 11:43, 26 March 2013 (UTC)
- using
<ref>...</ref>
in navboxes is a bad idea, since they are typically placed after the Reference section. also, the use of group=note is also a bad idea, since there may be other uses of group=note elsewhere in the article. I switched it to use a standard sup ref with note.Frietjes (talk) 14:45, 26 March 2013 (UTC)
- Why didn't I think of that, instead of banging my head on the desk an hour?! There's none so blind as those who cannot see...
- It wasn't my doing, it just started not working. I'm sure it's lua-based, but who cares?!
- Thanks
- John of Cromer in Philippines (talk) mytime= Wed 00:32, wikitime= 16:32, 26 March 2013 (UTC)
Collapsible option
Hi, please see this thread. --Redrose64 (talk) 19:01, 27 March 2013 (UTC)
Why?
Codewise, your version less elegant, no?
Also presentation-wise: subsections now run from one into the next, without articulation (small gap) between them.
(Also, subheadings' italics lost – or was that deliberate too?)
CsDix (talk) 18:25, 29 March 2013 (UTC)
- feel free to add the italics, but I don't think it is less elegant, given the reduction in code complexity. Frietjes (talk) 22:54, 29 March 2013 (UTC)
- It's also lost the articulation between the subsections though..? CsDix (talk) 13:19, 30 March 2013 (UTC)
- then use a dfn list? Frietjes (talk) 14:08, 30 March 2013 (UTC)
- A "dfn list"...? CsDix (talk) 17:41, 30 March 2013 (UTC)
- (talk page stalker) I don't know of any "dfn list". There is a
<dfn>...</dfn>
element in HTML, but I suspect that Frietjes is thinking of the semicolon/colon wikimarkup (as used at the start of this post). This is actually an association list composed of one or more<dt>...</dt>
and<dd>...</dd>
elements, enclosed in a<dl>...</dl>
element. Prior to HTML 5, this structure was known as a definition list, which is where the confusion may have arisen. --Redrose64 (talk) 13:53, 31 March 2013 (UTC)- Thanks for this information, Redrose. Is it what you meant, Frietjes – and, if so, how is it meant to address the subsection spacing..? CsDix (talk) 17:06, 2 April 2013 (UTC)
- yes, this is what I meant. it addresses the connection between headings and lists by introducing a formal relationship between the two. Frietjes (talk) 22:30, 2 April 2013 (UTC)
- Okay, but how can it do what {{Sidebar subsection}} does more elegantly..? CsDix (talk) 23:36, 3 April 2013 (UTC)
- yes, this is what I meant. it addresses the connection between headings and lists by introducing a formal relationship between the two. Frietjes (talk) 22:30, 2 April 2013 (UTC)
- Thanks for this information, Redrose. Is it what you meant, Frietjes – and, if so, how is it meant to address the subsection spacing..? CsDix (talk) 17:06, 2 April 2013 (UTC)
- (talk page stalker) I don't know of any "dfn list". There is a
- A "dfn list"...? CsDix (talk) 17:41, 30 March 2013 (UTC)
- then use a dfn list? Frietjes (talk) 14:08, 30 March 2013 (UTC)
- It's also lost the articulation between the subsections though..? CsDix (talk) 13:19, 30 March 2013 (UTC)
Refbegin
Since you did this, am I right to think that this one is correct? -- Magioladitis (talk) 14:31, 30 March 2013 (UTC)
- why are you doing this at all? these are WP:NOTBROKEN, and that was apparently the only thing you did in that edit. I'm pretty sure you other editors have complained about this sort of thing in the past. Frietjes (talk) 14:45, 30 March 2013 (UTC)
Hi, perhaps you'd be interested in revisiting this discussion? Articles have been created and then expanded on a few other albums; three are certainly worthy of articles, others may well be. J Milburn (talk) 16:51, 31 March 2013 (UTC)
Precious
tireless template help
Thank you for quality help in all kinds of template questions, even creating a template that should not be needed rather than "some hack of div tags and html tables", finding solutions with sense and offering them with kindness, - you are an awesome Wikipedian!
--Gerda Arendt (talk) 17:01, 31 March 2013 (UTC)
Is this encyclopedic..?
Hello again, Frietjes:
Just wondered whether you thought this article was (sufficiently) encyclopedic..?
CsDix (talk) 21:26, 2 April 2013 (UTC)
- that's a mess. too many loosely related navboxes. the infobox is not necessary. the referencing is a mess as well. I would try to clean it up, but I wouldn't know where to start. you should see if someone like BrownHairedGirl can clean it up or suggest what to do. or as Wikipedia:WikiProject Guild of Copy Editors. Frietjes (talk) 22:36, 2 April 2013 (UTC)
Infoboxes, geocodes and maps
Hello! Do you often edit in this field? I don't, but if you do you might try bringing some uniformity throughout. Its a Herculean task! But something needs to be done. All infoboxes use different patters for adding coordinates and maps. I recently added coordinates to various dams in Maharashtra and had got used to Template:Infobox dam. Then i decided to switch to train stations and its a different world there. Haven't there been any discussion on regularizing all these infoboxes? §§Dharmadhyaksha§§ {T/C} 06:24, 5 April 2013 (UTC)
- there has been some effort to try to make the parameters used by infoboxes more uniform, but it is indeed a Herculean task. quite a bit of the effort has been focused on birth_date, death_date, image, image_size, caption parameters. however, the next step definitely should be coordinates (e.g., latd vs. lat_d vs. lat_deg). Frietjes (talk) 15:00, 5 April 2013 (UTC)
going round in circles?
[Actually I thought I'd sent this this morning, but the internet here being what it is, apparently I didn't.]
Someone has changed the image_map on Bantayan, Cebu {{infobox settlement}}. The new one is wider than what it replaces, and it seems like mapsize parameter has no effect. I'm sure I went round this loop in November. Is there anything I can do? Main problem is that because infobox is now wider, not-infobox space is narrower, meaning things no longer fit nicely, so lots of white space.
Actually, I think all the changes are quite ridiculous and un-encyclopedic, reducing the information available.
John of Cromer in Philippines (talk) mytime= Fri 15:20, wikitime= 07:20, 5 April 2013 (UTC)
- I increased the size of the location map to match the other map. there is going to be a lower limit on the width of the infobox due to non-wrapping elements within the box. however, you could probably get it down to around 225px by adding imagesize = 225px for the top image, and resizing the other two 250s to 225. Frietjes (talk) 14:57, 5 April 2013 (UTC)
- Thanks. I think the important thing was the px after the number. John of Cromer in Philippines (talk) mytime= Sat 00:10, wikitime= 16:10, 5 April 2013 (UTC)
- if things are set up correctly in the template, you should be able to (eventually) omit the px for the imagesize and map_size, but you cannot include the px for the pushpin_map size. I say should since that is the direction things are going at the moment with the new lua module for handling images. Frietjes (talk) 16:13, 5 April 2013 (UTC)
Curious
I contacted TonyTheTiger about why s/he was adding a state parameter to county navboxes such as {{Colusa County, California}}, and s/he referred me to you. What use do you envision for this new parameter? —Stepheng3 (talk) 04:22, 6 April 2013 (UTC)
- Please note that all navboxes using {{US county navigation box}} use the collapse_state parameter to specify whether it is collapsed or expanded. The state parameter, which predates the implementation of the collapsible feature, specifies the US state where the county is located. Therefore, this edit is valid, whereas modifications like this one causes a conflict and thus was reverted by other users. Thanks. Zzyzx11 (talk) 07:54, 6 April 2013 (UTC)