User talk:CapitalR/Archive 4
|
Hi again. From the lack of new messages here and at Template talk:Navbox, I'm guessing all seems to've gone well with the new code -- except, perhaps, I've just noticed that Navboxes which use the body parameter rather than group and list parameters now don't seem to display anything..? Sardanaphalus (talk) 09:16, 2 May 2008 (UTC)
- Hey, that's good to hear that there haven't been too many problems. As for the "body", I removed that parameter from the code (the new code would have been much more complex using "body" in addition to "list1"). I thought that I had converted all instances of them to use "list1", but now I'm worried that I might have missed some. I'll do some checking now to see what's up. Can you send me an example of one that doesn't work? --CapitalR (talk) 09:19, 2 May 2008 (UTC)
- Templates in Croatia subdivision templates and Czech Republic subdivision templates, because I updated them earlier today before realizing there was a problem with body. (I'll now set AWB not to use body.) I don't know about elsewhere, but hopefully nowhere. I'd take on correcting the templates affected now, but unfortunately will be offline for at least an hour or more. I'll check and repair any still using body on my return.
- There does seem to be one other problem, though I'm not sure if it's caused by the revamped Navbox: Navboxes that use navbar = plain no longer display text left-aligned in their titlebars, but indented about one quarter. Hope this can be fixed easily. Sardanaphalus (talk) 13:30, 2 May 2008 (UTC)
- Hmmm, this might stem from the fact that I slightly changed the definition of "navbar = plain" with this upgrade. The way it works now is that "navbar = plain" hides the navbar, but puts some blank padding in place (6em wide) to keep the title centered. If you use "navbar = off", the navbar is also hidden, but no padding is used to keep the title centered. Thus, if you're trying to use a left-aligned title, your best option is to go with "navbar = off". Let me know what template is giving you problems and I can take a look (I did a database scan to find all templates that use "navbar=plain" and thought I worked them all out, but might have missed one or two). Oh, and the same rules apply to the "state" parameter, i.e., "state = plain" turns off the show/hide but uses padding to keep the title centered, "state = off" turns it off, but doesn't use any padding. --CapitalR (talk) 13:39, 2 May 2008 (UTC)
- Oh, and check out the new header and footer options I added to {{Navbox with columns}} (see the examples at the bottom; the doc isn't quite done, but you should be able to figure it out). I know there's at least a hundred templates that can now be converted to use that format if you're interested in helping me find them and convert them. --CapitalR (talk) 13:41, 2 May 2008 (UTC)
- Hmmm, this might stem from the fact that I slightly changed the definition of "navbar = plain" with this upgrade. The way it works now is that "navbar = plain" hides the navbar, but puts some blank padding in place (6em wide) to keep the title centered. If you use "navbar = off", the navbar is also hidden, but no padding is used to keep the title centered. Thus, if you're trying to use a left-aligned title, your best option is to go with "navbar = off". Let me know what template is giving you problems and I can take a look (I did a database scan to find all templates that use "navbar=plain" and thought I worked them all out, but might have missed one or two). Oh, and the same rules apply to the "state" parameter, i.e., "state = plain" turns off the show/hide but uses padding to keep the title centered, "state = off" turns it off, but doesn't use any padding. --CapitalR (talk) 13:39, 2 May 2008 (UTC)
- Thanks for all the above. I've just left a note thanking User:Darwinek, as he/she already looks to have corrected the templates where body parameters were mistakenly inserted. The navbar = plain instances are in Navboxes on my userpages, so I'll update those next. I'm in the middle of some template categorization that's a bit more involved than before, but, once I've pushed through it, would be happy to check out and help catch {{Navbox with columns}} examples. In fact, having now come by it a few times, I've been wondering whether or not that template's code might benefit from an overhaul, as setting up the colwidths and padding feels like more of an art than a science, so to speak. (For starters, rename padding as leftpadding, or, better still, remove the need for it?) Sardanaphalus (talk) 15:25, 2 May 2008 (UTC)
- I completely agree with you that the padding parameter is fubar. I actually spent a fair amount of time trying to figure out how to get rid of it, but just haven't had the time to completely solve the problem (so I left it as is for now). I did add code that removes the padding cell when "padding = 0/0em/0%/0px/0pt", and padding is also removed when column headers and/or footers are used, which helps out a lot. --CapitalR (talk) 15:36, 2 May 2008 (UTC)
- See next thread for followup. Sardanaphalus (talk) 18:32, 2 May 2008 (UTC)
- I completely agree with you that the padding parameter is fubar. I actually spent a fair amount of time trying to figure out how to get rid of it, but just haven't had the time to completely solve the problem (so I left it as is for now). I did add code that removes the padding cell when "padding = 0/0em/0%/0px/0pt", and padding is also removed when column headers and/or footers are used, which helps out a lot. --CapitalR (talk) 15:36, 2 May 2008 (UTC)
- Thanks for all the above. I've just left a note thanking User:Darwinek, as he/she already looks to have corrected the templates where body parameters were mistakenly inserted. The navbar = plain instances are in Navboxes on my userpages, so I'll update those next. I'm in the middle of some template categorization that's a bit more involved than before, but, once I've pushed through it, would be happy to check out and help catch {{Navbox with columns}} examples. In fact, having now come by it a few times, I've been wondering whether or not that template's code might benefit from an overhaul, as setting up the colwidths and padding feels like more of an art than a science, so to speak. (For starters, rename padding as leftpadding, or, better still, remove the need for it?) Sardanaphalus (talk) 15:25, 2 May 2008 (UTC)
- As per your response on the Template Talk:Navbox Discussion page, here are a couple of screen captures. Image:IPed Screenshot.png Image:IPed Screenshot2.png Notice the seperation from the tabs at the top, and the tendency for the text to run through items like the tNavbar output. On the Screenshot2 image, not the text behind the top/left logo. Anything you can tell me will be of help. Thanks for your help! Tigey (talk) 19:32, 12 May 2008 (UTC)
- Below is the output from the navbox calls you asked me to provide. I had to do it from a sandbox, no Special:ExpandTables. There is a lot of it...
<table class="navbox" cellspacing="0" style=";"><tr><td style="padding:2px;"></td> </tr> </table> <table cellspacing="0" class="nowraplinks collapsible autocollapse" style="width:100%;background:transparent;color:inherit;;"><tr><th style=";" colspan="2" class="navbox-title"><div style="float:left; width:6em;text-align:left;"><div><div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;"></div> <p><a href="https://www.intelink.gov/wiki/Template:Test" class="external text" title="https://www.intelink.gov/wiki/Template:Test" rel="nofollow"><span style="color:#002bb8;" title="View this template.">v</span></a>·<a href="https://www.intelink.gov/wiki/Template_talk:Test" class="external text" title="https://www.intelink.gov/wiki/Template_talk:Test" rel="nofollow"><span style="color:#002bb8;" title="Discussion about this template.">d</span></a>·<a href="https://www.intelink.gov/w/index.php?title=Template:Test&action=edit" class="external text" title="https://www.intelink.gov/w/index.php?title=Template:Test&action=edit" rel="nofollow"><span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span></a></div></span> </p> </div> </div><span style="font-size:110%;">Title</span></th></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">Above</td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-group" style=";;">Group1</td><td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;;;" class="navbox-list navbox-odd"><div style="padding:0em 0.25em"></div> List1</div></td></tr><tr style="height:2px"><td></td></tr><tr><td class="navbox-group" style=";;">Group2</td><td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;;;" class="navbox-list navbox-even"><div style="padding:0em 0.25em"></div> List2</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="2">Below</td></tr></table></td></tr></table></div> </td> </tr> </table> <table class="navbox" cellspacing="0" style=";"><tr><td style="padding:2px;"></td> </tr> </table> <table cellspacing="0" class="nowraplinks collapsible autocollapse" style="width:100%;background:transparent;color:inherit;;"><tr><th style=";" colspan="3" class="navbox-title"><div style="float:left; width:6em;text-align:left;"><div><div class="noprint plainlinksneverexpand" id="Tnavbar" style="background-color: transparent; padding: 0; font-size:xx-small; color:#000000; white-space: nowrap;"></div> <p><a href="https://www.intelink.gov/wiki/Template:Test" class="external text" title="https://www.intelink.gov/wiki/Template:Test" rel="nofollow"><span style="color:#002bb8;" title="View this template.">v</span></a>·<a href="https://www.intelink.gov/wiki/Template_talk:Test" class="external text" title="https://www.intelink.gov/wiki/Template_talk:Test" rel="nofollow"><span style="color:#002bb8;" title="Discussion about this template.">d</span></a>·<a href="https://www.intelink.gov/w/index.php?title=Template:Test&action=edit" class="external text" title="https://www.intelink.gov/w/index.php?title=Template:Test&action=edit" rel="nofollow"><span style="color:#002bb8;" title="You can edit this template. Please use the preview button before saving.">e</span></a></div></span> </p> </div> </div><span style="font-size:110%;">Title</span></th></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="3">Above</td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-group" style=";;">Group1</td><td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;;;" class="navbox-list navbox-odd"><div style="padding:0em 0.25em"></div> List1</div></td><td style="width:0%;padding:0px 0px 0px 2px;" rowspan="3">Image</td></tr><tr style="height:2px"><td></td></tr><tr><td class="navbox-group" style=";;">Group2</td><td style="text-align:left;border-left:2px solid #fdfdfd;width:100%;padding:0px;;;" class="navbox-list navbox-even"><div style="padding:0em 0.25em"></div> List2</div></td></tr><tr style="height:2px;"><td></td></tr><tr><td class="navbox-abovebelow" style=";" colspan="3">Below</td></tr></table></td></tr></table></div> </td> </tr> </table> <!-- Pre-expand include size: 46968 bytes Post-expand include size: 15596 bytes Template argument size: 1447 bytes Maximum: 2097152 bytes -->
Hopefully that will tell you something. Tigey (talk) 12:26, 13 May 2008 (UTC)
I got bored a while back, so tried to get my head around {{Navbox with columns}} and came up with this:
┌────────────────────────────────────────────────────────────────────────┐ │ titlebar │ ├────────────────────────────────────────────────────────────────────────┤↓ │ | | | | | │vert_m │ | ┌──────────┐ | ┌──────────┐ | | ┌──────────┐ | │↑ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ COL 1 │ | │ COL 2 │ | ..... | │ COL N │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | │ │ | │ │ | | │ │ | │ │ | └──────────┘ | └──────────┘ | | └──────────┘ | │↓ │ | | | | | │vert_m └────────────────────────────────────────────────────────────────────────┘↑ |← p% →| |← w% →| |← w% →| | |← w% →| |← p% →| ←→ ←→ horiz_m horiz_m (etc)
where, assuming the template's width is 100%, w% = each column's % width, vert_m is each column's top and bottom (vertical) margin, and horiz_m is columns' left and right (horizontal) margin. If vert_m and horiz_m also in %, I make the padding needed either side of the columns (p%) to be: (100 - (Nw + 2N.horiz_m))/2, where N is the number of columns in the template. Or maybe this is how {{Navbox with columns}} calculates the columns' positions (but without the margins)...? Sardanaphalus (talk) 18:32, 2 May 2008 (UTC)
- Hmmm, I'm not quite sure how you're suggesting we change the padding feature. Right now, each column width defaults to 10em, and the padding defaults to 5em. I was thinking that I might change the default column width to 15em, and the default padding to 0em. This would require going through the hundred and fifty templates using {{Navbox with columns}} and fixing any that use the default values, but that's not too hard. Then, people wouldn't have to know what the padding does (since it would default to off), unless they wanted it, and could turn it back on. I also added a handy parameter called fullwidth, which, when set to any non-blank value, forces the sum of the widths of all columns to be 100% (and forces the padding off). I'll have to keep thinking more about this padding problem (as you can see from the edit history of the template and its sandbox, I've gone back and forth quite a lot on my thinking lately). --CapitalR (talk) 11:12, 6 May 2008 (UTC)
- I'm meaning to suggest that if all horizontal spacings (colwidths and column margins) can be specified and/or defaulted, a correct padding (p%) should be automatically obtainable: [100% - (N.w% + 2N.horiz_m%)]/2. At least, it looks like it. Sardanaphalus (talk) 11:44, 6 May 2008 (UTC)
Your last edit to this template broke it; there's some cruft at the top of the template. Could you take a look at it and see what needs to be done to fix it? Horologium (talk) 23:03, 2 May 2008 (UTC)
- Yup, forgot a brace. All fixed. --CapitalR (talk) 23:12, 2 May 2008 (UTC)
- Thanks. :) Horologium (talk) 23:27, 2 May 2008 (UTC)
Michener & Ont post-secondary
editHi,
Could you offer your opinion on the The Michener Institute and the Template:Ont_post-secondary?
I note that you edited the template in question a while back.[1]
GreenJoe and I disagree on it. I've been reverted twice. Discussion is on the Talk page of the template (Template_talk:Ont_post-secondary).
Thanks, Nephron T|C 02:29, 4 May 2008 (UTC)
Can you please fix this template as i don't know what's wrong it . It appears the changes you made to {{Navbox with columns}} recently has effected the layout but i may be wrong Gnevin (talk) 18:51, 4 May 2008 (UTC)
- Should be all fixed now; it was due to it using old parameter names which have all since been converted to the new ones. Thanks for letting me know. --CapitalR (talk) 11:04, 6 May 2008 (UTC)
"Related topics"
editMany thanks. I run across a style question for which I'd like to consult the data dump at least once a day, but the entire dump of en.WP from http://download.wikimedia.org/backup-index.html is not going to fit on my hard drive. Should I make do with Google searches? Have you found this dump on the net somewhere (tools.wikimedia.de?), searchable with better tools that Google provides? - Dan Dank55 (talk)(mistakes) 01:13, 5 May 2008 (UTC)
- I used WP:AWB's Database scanner (actually, a version that I heavily modified to run faster and add more features) along with the standard database download (it's huge, I know, but luckily I have some extra hard drive space for it). Each scan takes about 6-8 minutes (but it runs in the background, so I can still do other things on my computer while it works) Without the database on your hard drive, I'm not too sure what to do; the Google idea sounds interesting, but of course you can't really search the wiki-code, just the html results. If you have an occasional request, I'll be happy to run a database scan for you. --CapitalR (talk) 01:21, 5 May 2008 (UTC)
- Excellent, thanks. I've got a second computer that isn't good for much else (Vista...ughh), that might be the way to go. - Dan Dank55 (talk)(mistakes) 02:05, 5 May 2008 (UTC)
Template help
editHey there Capital,
I have a question and it is probably second nature to you... but I was wondering if there was a way to make the information I have on this page into one table with two separate hide able sections. The number of coachees/noms is getting to be too big to fit neatly at the top of my page.Balloonman (talk) 01:05, 6 May 2008 (UTC)
- Hey, I just made User:CapitalR/Test1 for you; let me know what you think, and tell me any other features/styles you would like. You can change the default state of each table to be "collapsed" instead of "uncollapsed" once your list gets too long. Note that it has to use two different tables (one for each show/hide), so the widths of the tables and the widths of each column are hard-coded to match up with each other. The widths are easy enough to change if necessary, so hopefully that won't be a problem. --CapitalR (talk) 03:18, 6 May 2008 (UTC)
- Thanks Capital... I was thinking more of having it in one table, but two works.Balloonman (talk) 19:04, 8 May 2008 (UTC)
Smaller Challenge
editNow that you've completed the Navbox templates, if you fancy a smaller challenge then you could consider converting Template:PostWWIISovietAFVS to use the Navbox template. -- WOSlinker (talk) 06:47, 6 May 2008 (UTC)
- Yeah...I've come across that one a few times and it's a hard one to convert. I'll have another go and see what I can do. -CapitalR (talk) 11:02, 6 May 2008 (UTC)
Hi again. If I wanted to convert the "Key concepts and logics" group in the below into a collapsible section, while keeping the groups before and after it intact, could it be done using {{Navbox with collapsible sections}}?:
I have the feeling I'm missing something obvious, so sorry in advance if so. Sardanaphalus (talk) 12:16, 6 May 2008 (UTC)
- I added one way to do it above just by adding a "title" to Navbox subgroups. The second way just renames the "Navbox subgroups" template to "Navbox with collapsible groups|child" template (and then manually sets the groupstyle to have background:#e6e6ff). Conveniently, all of the parameters in {{Navbox}}/{{Navbox subgroups}}/{{Navbox with collapsible groups}} are the basically the same (groupN and listN, groupNstyle and listNstyle, etc.), so swapping between them is easy. Let me know if you want me to try another style. You'll probably have to make some manual color/group width tweaks to get it to look right, but you can get the picture of how it all works. --CapitalR (talk) 12:31, 6 May 2008 (UTC)
- Oh, one other thing. I had to make a really evil change to {{Navbox subgroup}} to deal with the Internet Explorer box model bug. Basically, in {{Navbox subgroup}}, all group cells have a left/right padding of 0, but inside each group cell is a div, with left/right padding of 0.75em (inside of which is the group contents). This causes the widths to be rendered equally on Firefox/IE. Unfortunately, it means that we can no longer specify "groupstyle = padding-left/right:Xem;", because this will add padding in addition to the 0.75em padding from the div. Thus, if you want to change the default padding, you can use the new "grouppadding" parameter (i.e. "grouppadding = 0em 1em"). Of course, if you just want to bump the padding up from 0.75em to 1em, you could do something like "groupstyle = padding:0em 0.25em", which will do the trick, albeit in a rather confusing way. Sorry for making such an evil system, but that was the best solution I could find for the group width problem (very few templates change the default group padding in subgroups, so it should matter much though). And feel free to tweak any of my choices for padding (I just made 0.75 up, you can change it to 1em as a default if you like that better). --CapitalR (talk) 12:48, 6 May 2008 (UTC)
Proposed Deletion of Category:Barbarians.
editHi CapitalR,
- That's ok, I didn't take it personally. I left some defense for it at the site you gave me. Thanks. I was having a debate on a different arcticle, and it got pretty ugly. So, we should concentrate on making this a "friendly debate". :)
- Would you be interested in joining WikiProject Barbarians? I could really use some help! :). I added a place to add your username on the site to join.
- Thanks!--Pecopteris (talk) 16:03, 6 May 2008 (UTC)
- Hey, thanks for inviting me to your new WikiProject. I'm definitely a history buff, so it sounds interesting, but unfortunately I'm not much of an article writer. Most of my time spend on Wikipedia is dedicated to grunt work: mostly creating, updating, and organizing templates, writing scipts to perform menial tasks, and fulfilling editprotected requests (which is how I came across your WikiProject -- you asked for a protected edit to Ghengis Khan). I'll keep an eye on it though to see if anything ever looks interesting for me to do. -Thanks again, and glad there's no hard feelings over my deletion nomination. -CapitalR (talk) 16:10, 6 May 2008 (UTC)
- You're welcome! No hard feelings at all, as long as people think it benifits Wikipedia!
- If you would like to join, than your description of yourself sounds great for the project! I am an arcticle writer, so we would balance each other out great. Just add your name to the list if you would like.
- Thanks a lot for editing the project, I can't belive I missed that inserted e-mail! Thank you :)--Pecopteris (talk) 16:35, 6 May 2008 (UTC)
Whoops
editHi, thanks for your edits at {{cite journal}}. I'm afraid I messed up the edit again! Would you mind taking a look when you get the chance? Thanks. Smith609 Talk 11:25, 7 May 2008 (UTC)
- Should be all set now, let me know if there's more you need done there. --CapitalR (talk) 11:54, 7 May 2008 (UTC)
Edit to WikiProjectBanners
editWas this doing what I think it was doing, which is adding an invisible counterpart to the "show/hide" button on the opposite side, to restore the central alignment? If so, thankyou for the penny-drop moment! Happy‑melon 20:48, 8 May 2008 (UTC)
- Yup, that's what it was for. Hope you don't mind. --CapitalR (talk) 20:51, 8 May 2008 (UTC)
- Not at all! You'll have to excuse me, but I'm just bowing down in worship for a few moments, then I'll go off and fix the problem that I've been tinkering with without success for a couple of weeks now, which seems to be broadly the same issue. Thanks! ~~
Template:Pow
editIs there a reason for the extra #expr's in Template:Pow? Is there some case where the previous version doesn't work? --- RockMFR 18:54, 10 May 2008 (UTC)
- Nope, good point. I just removed them. Not sure what I was thinking when I added them in. --CapitalR (talk) 18:58, 10 May 2008 (UTC)
Just to say hai
editTinucherian has smiled at you! Smiles promote WikiLove and hopefully this one has made your day better. Spread the WikiLove by smiling at someone else, whether it be someone you have had disagreements with in the past or a good friend or a possibly new friend. Cheers, and happy editing!
Smile at others by adding {{subst:Smile}} to their talk page with a friendly message.
Have a great day ! -- TinuCherian (Wanna Talk?) - 10:02, 12 May 2008 (UTC)
Rfb participation thanks
editHello, Capital.
I wanted to personally thank you for taking part in the project-wide discussions regarding my candidacy for bureaucratship. After bureaucratic discussion, the bureaucrats decided that there was sufficient significant and varied opposition to my candidacy, and thus no consensus to promote. Although personally disappointed, I both understand and respect their decision, especially in light of historical conservatism the project has had when selecting its bureaucrats. If you have any further suggestions or comments as to how you think I could help the project, please let me know. Once again, thank you for your your early and strong support. -- Avi (talk) 16:25, 12 May 2008 (UTC)
Note
editI am a representative of the AARP. Recently, I was purging Wikipedia of articles found in violation of the "Anti-Online Boredom and Useless Information Law", a law intended to benefit todays seniors. You reverted my deletions, therefore violating several charter laws. You have 5 minutes to put them back. Thank you. —Preceding unsigned comment added by Jibberishman (talk • contribs) 22:52, 12 May 2008 (UTC)
- That's one of the more humorous excuses I've seen for blatant vandalism. --CapitalR (talk) 22:56, 12 May 2008 (UTC)
- This is no joke. You have gone over the deadline set forth. You have one more chance before legal ramifications will take place. If you do not belive me, Google the Anti-Online Boredom and Useless Information Law. —Preceding unsigned comment added by Jibberishman (talk • contribs) 00:03, 15 May 2008 (UTC)
WBOSITG's RfA
editMy RfA
editHi CapitalR; I wanted to say thank you for supporting my request for adminship, which passed with 100 supports, 0 opposes and 1 neutral. I wanted to get round everybody individually, even though it's considered by some to be spam (which... I suppose it is! but anyway. :)). It means a lot to me that the community has placed its trust in my ability to use the extra buttons, and I only hope I can live up to its expectations. If you need anything, or notice something that bothers you, don't hesitate to let me know. Thanks again, PeterSymonds | talk 21:46, 13 May 2008 (UTC)
Question about Navbox standardization
editHi, CapitalR. With the standardization on {{Navbox}} is the thought that this be used on all templates that would serve as footers? Take a look at {{USL First Division Stadiums}} in the article PAETEC Park article due to its use of the {{Football box start}} standardization. Needless to say, it does not play nicely with the {{MLL Stadiums}} Navbox right below it. I would appreciate any thoughts on how this should be handled. --Gwguffey (talk) 05:26, 14 May 2008 (UTC)
- Yeah, the {{Football box start}} templates don't really match up well with Navbox, but unfortunately there's so many of them that they basically have a de facto standard of their own. Personally I prefer using {{Navbox}}, and {{Navbox}} now supports being able to put multiple templates inside of a single border like {{Football box start}}, but doing so requires editing each article individually instead of just the templates, which makes it very difficult to change. I've considered writing a bot to convert all {{Football box start}} templates to use {{Navbox}} instead, but that would be quite controversial, so I've stayed away for now. The {{USL First Division Stadiums}} template, in particular, looks like it could go either way, so I'd say feel free to be bold and change it to {{Navbox}} if you like, but just keep in mind you'd have update each article that uses it to fix the code. --CapitalR (talk) 05:58, 14 May 2008 (UTC)
- It seems that football box set up works fine on football-specific articles (like those for teams, clubs, seasons, players, etc.) but shouldn't be used for the stadia as those articles aren't about football — they are about architecture. And those generally have uses other than football. Thank you for the input. --Gwguffey (talk) 13:53, 14 May 2008 (UTC)
Template:Recent changes article requests
editHey. Be very very very very very very careful when editing templates that are used on the interface pages. You added Template:Rand, an unprotected template, to Template:Recent changes article requests. Someone was extremely close to performing what probably would have been a giant-penis-on-RC-and-AIV attack. --- RockMFR 06:21, 14 May 2008 (UTC)
- Ah, thanks for the heads up there; my bad for not protecting that template. --CapitalR (talk) 06:25, 14 May 2008 (UTC)
RFA Thanks
editThanks for your support at my recent Request for adminship. I hope you find I live up to your expectations. Best, Risker (talk) 15:49, 16 May 2008 (UTC)
Mashups edits
editHi CapitalR
I've been researching some of the technologies behind mashups (which we love :-) ) and I noticed that you'd recently edited the mashup page.
There seems to be only a limitated explaination of the enabling technologies behind mashups. Where feeds are already available mashups can be created but only recently have some of the major players looked beyond simple screen scraping and into wrapping websites in order to create feeds where feeds don't currently exist.
I've drafted a Wiki on this which is posted on my user page and I'd greatly appreciate any and all help in beating it into Wiki shape.
If you get the chance it be great to hear your thoughts. Many thanks in advance.
Cadwellian (talk) 16:01, 16 May 2008 (UTC)
- Unfortunately I was only reverting vandalism on the page and I don't know much about the topic, so I won't be much of a help with you in writing the article. Good luck though and keep up the good work! --CapitalR (talk) 16:40, 16 May 2008 (UTC)
WikiProject:Magic template
editBut if you get a chance could you take a look at this discussion. There is some interest in a template, and I was wondering if you could possibly present a sample?Balloonman (talk) 22:40, 16 May 2008 (UTC)
- Sure, I'll take a look later tonight or in the morning. --CapitalR (talk) 23:58, 16 May 2008 (UTC)
RfA thank-spam
editRfA thanks!
editRfA: Many thanks | ||
Many thanks for your participation in my recent request for adminship. I am impressed by the amount of thought that goes into people's contribution to the RfA process, and humbled that so many have chosen to trust me with this new responsibility. I step into this new role cautiously, but will do my very best to live up to your kind words and expectations, and to further the project of the encyclopedia. Again, thank you. --jbmurray (talk • contribs) 16:09, 17 May 2008 (UTC) |
My recent RfA
editThank you for supporting my RfA, which unfortunately didn't succeed. The majority of the opposes stated that I needed more experience in the main namespace and Wikipedia namespace and talk space, so that is what I will do. I have made a list and I hope I will be able to get through it. I will go for another RfA in about three month's time and I hope you will be able to support me then as well. If you have any other comments for me or wish to be notified when I go for another RfA, please leave them on my talk page. If you wish to nominate me for my next RfA, please wait until it has been about three months. I will not be checking back to this page so if you would like to comment or reply please use my talk page. Thanks again for participating in my RfA! ·Add§hore· Talk/Cont 06:38, 20 May 2008 (UTC)
Barnstar
editThe RickK Anti-Vandalism Barnstar | ||
It's so difficult patrolling RC alongside your speedy reactions! Keep up the good work ——Ryan | t • c 11:46, 20 May 2008 (UTC) |
- Thanks, much appreciated. --CapitalR (talk) 12:07, 20 May 2008 (UTC)
- Hmmm... And here I thought I had a novel idea. Well RyanLupin, our timings are impeccable.
The Special Barnstar | ||
For tireless efforts and ideas in porting a very complicated template to an outside Wiki. Tigey (talk) 12:30, 21 May 2008 (UTC) |
Hi again. First, sorry not've followed up #Template:Navbox with collapsible sections above -- I got distracted but I'm aiming to revist the template involved, {{Logic}}, sooner rather than later. This post, however, is about {{Navbox with columns}}, which I've just implemented within {{United States topics}}. (Doing so has made me start to appreciate properly your recent work with the Navbox templates.) I tried to reduce the gaps between lines within the {{Navbox with columns|child}} template by using colsstyle and then bodystyle to set a line-height (e.g. line-height = 1.4em;) but nothing seems to happen. Hope I'm missing something easy. Sardanaphalus (talk) 00:25, 21 May 2008 (UTC)
- This is a very weird problem that I wasn't aware of until now. First, it seems that I unknowingly removed the "colsstyle" parameter in favor of "colstyle" (this was an accident, I didn't even realize colsstyle was being used before; feel free to re-add colsstyle if you like). When I did so, I didn't update the {{Navbox with columns/doc}} page, but I've now updated that.
- Now, I just spent a while trying to figure out that strange line-height problem, and it seems this is an html/css issue, not really a bug in the template. Unfortunately, line-height only works for table cells when the content is inline. {{Navbox}}, for example, uses inline content, but {{Navbox with columns}} doesn't (we could change this, but it would require updating all instances, and I don't think it's worth it). The difference is as follows:
- The rendered code of an inline cell looks like this:
<td style="line-height:1.4em;">Content</td>
- The rendered code of a non-inline cell looks like this:
<td style="line-height:1.4em;">
Content
</td>
- Basically, the inline code is all on one line. Like I said, Navbox uses the inline approach (which is why it's necessary to put div tags before and after a list item to get line breaks to work properly) and Navbox with columns doesn't use it (because basically all instances use line breaks, so to avoid putting div tags in every single col in every instance of the template, we opted not to use the inline approach). Html/CSS, for some odd reason, doesn't seem to support using line-height when the inline approach isn't used, so it won't work for Navbox with columns. You can, instead, just wrap the content of each cell in a div container with the style set to line-height:1.4em, and that will work (just keep the div inline; i.e., don't put a line break before or after it). Hope that helps. --CapitalR (talk) 01:06, 21 May 2008 (UTC)
- Thanks for all the above. Reading it, I think I'd subconsciously registered this subtle html/css behavior sometime in the past, but hadn't looked into it. In the meantime, I've just seen your neater version of {{United States topics}} -- but -- even with the loss of the Intelligence links, it's still going to be too wide for smaller screen/window sizes. So, I'm going to toy with it again for a while now and either leave it further amended or as your version (since I hope people will get the format idea even is it's still too wide when they see it). Sardanaphalus (talk) 03:33, 21 May 2008 (UTC)
- Ah yes, forgot about the limit for smaller screens. I mostly did that up just so you could see how the new colheaders feature works; feel free to do a wholesale reversion if it doesn't work properly or if you have a better idea. --CapitalR (talk) 04:20, 21 May 2008 (UTC)
- Well, I've accommodated everything again but by reversing the technology. I like the colheader/footer idea and especially colheader/footercolspan, but it didn't seem workable in this instance. Please prove me wrong, though, if you can see how. Meanwhile, I'm beginning to recall other templates that might really benefit from the Navbox options you've implemented. {{Discrimination}}, for instance, is one I just happen to've seen again, and it looks like it's crying out for {{Navbox with collapsible sections}}. I'll get to it and others I'm reminded of as and when. Sardanaphalus (talk) 04:34, 21 May 2008 (UTC)
International reaction to the 2008 Kosovo declaration of independence
editPlease update the site. —Preceding unsigned comment added by 84.134.102.27 (talk) 18:28, 21 May 2008 (UTC)
- Put up an {{editprotected}} request on the talk page and I or another admin will respond. Be sure that the edit is either uncontroversial or has consensus before adding the editrequested tag. --CapitalR (talk) 01:39, 22 May 2008 (UTC)
Edit request at Talk:Myanmar
editHello CapitalR. Regarding your removal of the edit request, I agree that it was a non-conventional way of requesting the article to be moved back to "Burma". However, contradicting your statement regarding consensus for the move, there's a long thread at ANI where there's a clear agreement that Nichalp's unilateral move to "Myanmar" two days ago was inappropriate. There's just not a single uninvolved admin willing to undo his action. Regards, Húsönd 00:53, 22 May 2008 (UTC)
- It was a rather interesting way to request a page move. I skimmed through the recent discussion quickly when evaluating whether to fulfill the request and learned of the recent controversy. It did not look like there was consensus to change it back to Burma, however, and many people had complained that it was moved from Myanmar to Burma a few months ago. I think reverting to move would open up a wheel war, which is even worse than having the m:wrong version. Of course you're free to re-add the tag and see if another admin is willing to perform the move (I won't remove it again), but I don't agree that this is the appropriate course of action at this time. --CapitalR (talk) 01:36, 22 May 2008 (UTC)
- No, I won't re-add the tag. The edit request idea wasn't mine, I just thought that it could prove useful in drawing the attention of an administrator from the WP:RFPP squad, who could provide very good feedback on Nichalp's inappropriate move of a, and I stress, move-protected page. It is true that some users dispute the result of the move proposal from last October. But regardless of the validity of their arguments, that move proposal was in strict compliance to the WP:RM process. If they disagree with the closure of that proposal, they should request community feedback on the adequacy of the closing admin's decision. But what we have here now is an admin who unilaterally moved the article back to Myanmar. The admin Nichalp, who also happens to be a bureaucrat, misused the tools and admitted that he used WP:IAR and his sole interpretation of consensus to bypass the entire process and the rest of the community. You may have noticed at the ANI thread that almost everyone agrees with this. Reverting Nichalp is not a strict wheel war, but rather a necessary though regrettable way for fixing a wrongdoing. Much like when an admin goes wild and blocks a few admins for no reason. Undoing that admin could be considered wheel warring, but if you're obviously doing the right thing, then it's probably not. And in this case, how could it not be the right thing to revert Nichalp, if reverting him would represent an enforcement of process and community consensus over an admin who clearly took a very bad decision? By the way, the comparison with the rogue admin above is not meant to be taken seriously, I don't think that Nichalp deliberately intended to misuse the tools and cause disruption. But still, he has not acknowledged his mistake. And, he's on a wikibreak apparently. And, the article is still at "Myanmar", since nobody is willing to stand for the core values of this project anymore. Best regards, Húsönd 02:03, 22 May 2008 (UTC)
Thanks!
editThanks so much for your support in myRfA, which closed successfully this morning. TravellingCarithe Busy Bee 17:46, 22 May 2008 (UTC)
Input on appropriateness
editHey Capital, can we get your input here?Balloonman (talk) 23:13, 22 May 2008 (UTC)
Navbox with collapsible groups / with collapsible sections
editHi again. I've only just clocked that {{Navbox with collapsible sections}} and {{Navbox with collapsible groups}} are separate templates, though they seem to be (near-)identical. Is there a plan so the first ("with collapsible sections") takes over from the second? This seems to make sense to me as {{Navbox with collapsible groups}} wouldn't then appear to use "group" in two different ways. I'd be happy to try to implement this, assuming I haven't misunderstood anything. Sardanaphalus (talk) 00:41, 23 May 2008 (UTC)
- Oh, I didn't realize that either. The {{Navbox with collapsible sections}} was just a prototype I drew up and should have been redirected to {{Navbox with collapsible groups}} as soon as that template was updated. I must have forgot to make the redirect, and it seems that someone used the template. I'll convert the instances to {{Navbox with collapsible groups}} and then make it a redirect. Thanks for letting me know! --CapitalR (talk) 00:48, 23 May 2008 (UTC)
- Ok, it's now been redirected appropriately. It is true that "group" is used in two different meanings, and I originally planned to make "sections" the term for this type of template. However, I changed my mind because with "group" it is very simple to switch between {{Navbox}} and {{Navbox with collapsible groups}}, since all the parameters are exactly the same. Thus, just by switching the name of the template and leaving all parameters alone, one can change the format of a template. I figured this added functionality out-weighed the confusion between the different definitions of "group". That and someone else had already created {{Navbox with collapsible groups}}, so I was just keeping the name the same. --CapitalR (talk) 00:58, 23 May 2008 (UTC)
my RfA - Ta!
edit
- and thanks from me too! I appreciate the vote of confidence and will strive to live up to the trust! --Slp1 (talk) 01:19, 26 May 2008 (UTC)
TfD nomination of Template:Fraternity Leadership Association
editTemplate:Fraternity Leadership Association has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for Deletion page. Thank you. --Explodicle (talk) 18:19, 27 May 2008 (UTC)
RfA thank you spam
editHi there - thank you for supporting me in my RfA, which passed 69/10/3 yesterday. I will put the tools to good use and hopefully justify the confidence you had in me. Best wishes Fritzpoll (talk) 11:52, 28 May 2008 (UTC)
Woodling/Busbey coaches
editThe following articles Wikipedia:Articles_for_deletion/Homer_E._Woodling were nominated for deletion. You are welcome to share your opinion on if they should be deleted or not. Thank you for your time. --SportsMaster (talk) 16:56, 30 May 2008 (UTC)
Thanks!
editThanks for your quick edit! Timneu22 (talk) 19:06, 30 May 2008 (UTC)
Kosovo
editPlease add Sierra Leone.84.134.87.152 (talk) 19:57, 31 May 2008 (UTC)
RFC: Removal of magic methods - what next?
editHi! As someone who has taken part in the RFC in Project Magic, I thought you ought to be aware that it looks like a consensus is being reached, and it is probably now just a case of dotting the i's and crossing the t's. If you could pop over to the discussion and add your thoughts, that would be great. StephenBuxton (talk) 12:59, 6 June 2008 (UTC)
- As there have been no objections to the draft guidelines I created a while back, I have taken the bold action of making them the current guidelines. You can view the change here. If you disagree with the revised changes, or have any further comments on the change, please feel free to raise it on the project talk page. Thank you. StephenBuxton (talk) 11:36, 9 June 2008 (UTC)
Templates
editHey CapitalR,
The templates {{ArticleHistory}} and {{NewsBanners}} being used on Talk:Evolution look like they need a little bit of tweaking - I think the text just needs to be centered. I noticed you fixed the {{WikiProjectBanners}} template already, at least, it looks like you fixed the same problem on that template. Is there any chance you could have a look at these other two as well? Cheers, Ben (talk) 11:58, 12 June 2008 (UTC)
- I'll take a look. --CapitalR (talk) 02:28, 28 June 2008 (UTC)
Navbox or infobox -- or sidebar?
editHi again. Just wondering whether you regard templates like this as navboxes or infoboxes; despite first appearances, my instinct is to say they're navboxes -- or, perhaps more accurately, sidebars -- as they don't use parameters...? Sardanaphalus (talk) 12:19, 12 June 2008 (UTC)
- Hmmm, this is an ongoing problem. I'd say it's technically a "navigation box", but not really suited for Template:Navbox or its derivatives. Those probably deserve their own master template, which could be derived from Navbox but with a more specific name and style. Unfortunately, I'm going to be quite busy for the summer months with my job, so I won't be able to create such a template (and sorry for the late reply). --CapitalR (talk) 02:27, 28 June 2008 (UTC)
- Only just noticed it myself -- sorry -- and I'll try canvassing a few more opinions. Sounds like you reckon they're more navbox-like (if so, I think I agree) as, even though they look like infoboxes, their information is fixed and particular. Sardanaphalus (talk) 16:45, 17 July 2008 (UTC)
Reflist Templates
editHi I was wondering if you might be willing to help me with a problem I'm having. I recently installed the same software that Wikipedia uses (MediaWiki), and I don't understand how to get the common templates like {{reflist}} etc to work. Could you point me in the right direction? Millennium Cowboy (talk) 17:02, 13 June 2008 (UTC)
- You'll need to carry out a few different steps to get everything working properly. Here's everything I can think of off the top of my head:
- Be sure to install Parser Functions and any other extensions those templates might need.
- Copy the functions from MediaWiki:Common.js to your wiki.
- Copy the styles from MediaWiki:Common.css to your wiki.
- Be sure to copy all the templates you want and all of their dependent templates to your wiki.
- If you have trouble, the parserfunctions talk page has some hints on how to get things to work. Good luck. --CapitalR (talk) 03:10, 14 June 2008 (UTC)
Two template Questions
editHello, CapitalR! I have 2 template questions.
1) Please take a look at {{Artiodactyla}}. When it was converted to the upgrades using AWB, it didn't turn out properly -- the group sizing and background colors are messed up, and there is no white space between the violet groups. When {{Cetacea}} was converted, it turned out OK, so maybe that one can be used as a reference.
2) Is {{Navbox|child}} new -- I have not run across that before. Please let me know where I can find out about its usage.
Please respond here and I'll watchlist your talk page. Rgrds. --Tombstone (talk) 04:02, 19 June 2008 (UTC)
- Excellent training tactic: Sit tight and see if they can figure it out themselves. Well, not to disappoint, I figured it out. Well played! Rgrds. --Tombstone (talk) 12:37, 22 June 2008 (UTC)
- Yup, well done. I've been quite busy lately, sorry for not replying. --CapitalR (talk) 02:25, 28 June 2008 (UTC)
- I did have another question. I cannot figure out if it is a problem with {{Navbox with collapsible groups}}, {{Navbox}}, the usage of "child", or my own damn screw up. But on the aforementioned template ({{Artiodactyla}}), the group background style is the same color for both the group and subgroup, instead of using
#ddddff
for the group style. What's up with that? Rgrds. --Tombstone (talk) 11:25, 28 June 2008 (UTC)- Hmmm, it looks like everything is working the way it was designed to. The title of the template has a background of #ccccff. The collapsible groups have a background of #ddddff (for example "Suborder Ruminantia"). The next level of groups have a background of #e6e6ff (for example "Antilocapridae"). The subgroups inside of those groups (for example "Antilocapra") also have a background of #e6e6ff because the CSS file defining the background colors only has three levels (#ccccff, #ddddff, #e6e6ff). If you want those subgroups to have a different color, you need to assign the colors manually. Only three color levels were defined in the CSS file because it was thought that only a few templates would need more than three (this being a rare exception). Basically, whenever you use a "child" template, its color levels are automatically incremented. This is why the titles of the child collapsible groups have a background of #ddddff instead of the same #ccccff as the main title. This is the way the template was designed, and it usually is very useful, since it easily distinguishes child collapsible groups from completely separate navboxes. Anyways, I hope that all made sense and let me know if you need help fixing the template. --CapitalR (talk) 15:01, 28 June 2008 (UTC)
- So then this Navbox treats the group (Antilocapridae) as a "level 3" and uses #e6e6ff, right? If that is correct, then that was what was throwing me off, as I was expecting it to be a "level 2" (and therefore #ddddff). So then since I am going 1 level further (to a fourth level, if you will, with "Antilocapra"), I need to change the color manually to a lighter shade. Got it! Thanks, Tombstone (talk) 15:24, 28 June 2008 (UTC)
- Hmmm, it looks like everything is working the way it was designed to. The title of the template has a background of #ccccff. The collapsible groups have a background of #ddddff (for example "Suborder Ruminantia"). The next level of groups have a background of #e6e6ff (for example "Antilocapridae"). The subgroups inside of those groups (for example "Antilocapra") also have a background of #e6e6ff because the CSS file defining the background colors only has three levels (#ccccff, #ddddff, #e6e6ff). If you want those subgroups to have a different color, you need to assign the colors manually. Only three color levels were defined in the CSS file because it was thought that only a few templates would need more than three (this being a rare exception). Basically, whenever you use a "child" template, its color levels are automatically incremented. This is why the titles of the child collapsible groups have a background of #ddddff instead of the same #ccccff as the main title. This is the way the template was designed, and it usually is very useful, since it easily distinguishes child collapsible groups from completely separate navboxes. Anyways, I hope that all made sense and let me know if you need help fixing the template. --CapitalR (talk) 15:01, 28 June 2008 (UTC)
CapitalBot database
editCan you upload the CapitalBot database to archive.org? http://www.archive.org/create/ If it's government data, they'll happily host it -- if not, I'll just grab a copy (I need it for some work I'm doing). Thanks! Let me know if you get a chance to upload it on my talk page or at me@aaronsw.com AaronSw (talk) 10:07, 22 June 2008 (UTC)
- The database is in the form of a large Excel spreadsheet (actually a few spreadsheets), so does that website accept the uploading of such files? It's currently a 20mb .xlsx (Excel 2007) document, but I can convert it to a 50mb .xls file or possible a .csv file. If the website won't take that type of file, you'll have to find another that will, as it's much too large to email. I'm happy to help, so long as you know a place I can put it for free. --CapitalR (talk) 02:24, 28 June 2008 (UTC)
Possibly unfree Image:Mass Prison Souza Baranowski.gif
editAn image that you uploaded or altered, Image:Mass Prison Souza Baranowski.gif, has been listed at Wikipedia:Possibly unfree images because its copyright status is unclear or disputed. If the image's copyright status cannot be verified, it may be deleted. You may find more information on the image description page. You are welcome to add comments to its entry at the discussion if you are interested in it not being deleted. Thank you. AEMoreira042281 (talk) 01:36, 28 June 2008 (UTC) --AEMoreira042281 (talk) 01:36, 28 June 2008 (UTC)
Soccer navboxes
editDon't know if your the right person to ask but if I'm not mistaking you do most of the converting of Navboxes into the new format using {{Navbox}}. Is their any reason why the soccer such as {{European_Cup_Seasons}} or {{International_club_football}} dont use the standard code now ? Gnevin (talk) 23:47, 2 July 2008 (UTC)
- Converting all of the navboxes that use {{fb start}} are especially difficult, because each page that uses the template must be individually edited in addition to the template itself. If they are to be eventually converted, they might have to be all done at the same time, which would be a massive project that I haven't had time to undertake yet. If you want to edit those particular templates though feel free. --CapitalR (talk) 03:35, 3 July 2008 (UTC)
Quick question about Navboxes
editI was asked to userfy several templates on my userpage, but now I've done so the "(v · d · e)" links no longer work. Does the Navbox require the page to be at Template:<pagename> to function correctly, or is it something to do with the "name=" field being populated? Regards, --DeLarge (talk) 20:06, 6 July 2008 (UTC)
- The {{Navbox}} template can only have its VDE links work if it is on a template page; having it directly on a user page causes problems with the links. You can set "|navbar = plain", which will just disable the VDE links. Otherwise, you'll have to put the navbox on a template page and then link to it from your userpage. --CapitalR (talk) 23:55, 6 July 2008 (UTC)
Navbox collapse
editHi, the code you gave me at /Archive2#collapsible doesn't work anymore. Any idea why? Thanks. --MC (talk) 16:08, 9 July 2008 (UTC)
- Hmmm, I don't know why. The JavaScript code that controls the Navboxes didn't change at all recently. When I get some more time I'll try to look into it more closely. --CapitalR (talk) 07:22, 13 July 2008 (UTC)
- Never mind. It turned out to be a stray '*/'! —MC (talk) 15:42, 16 July 2008 (UTC)
Navbox with columns "hack"
editHi, I saw you're the one who's been editing the template most so I thought I'd ask you directly. Is there a way to not have to use col1 and col2? And go directly from col#header to list1, you can see what I'm trying to do here, by just ignoring them a white space is created. I tried to use the col1-7 instead of col1-7headers for the books, but it does not become centred in IE7 for some reason as can be seen on the template currently in use {{Harry Potter}}, any idea on how to fix it? — chandler — 19:59, 12 July 2008 (UTC)
- Currently this isn't possible, but I'll modify the Navbox with columns template for you later today to make it possible. I'll let you know when the fix is complete (give me 24 hours or so). --CapitalR (talk) 07:21, 13 July 2008 (UTC)
- Ok great, thanks! — chandler — 08:31, 13 July 2008 (UTC)
- There we go, should be all set now. Your test page looks good. --CapitalR (talk) 18:28, 13 July 2008 (UTC)
- Thanks, really great work, will update that and {{States of matter}} which used a old "hack" aswell — chandler — 04:01, 14 July 2008 (UTC)
- There we go, should be all set now. Your test page looks good. --CapitalR (talk) 18:28, 13 July 2008 (UTC)
- Ok great, thanks! — chandler — 08:31, 13 July 2008 (UTC)
Navbox subgroup & evenodd parameter
editQuestion regarding the evenodd parameter and its options [swap, even, odd, off]. I have not used "even", "odd", or "off", but I do use "swap" quite often. I noticed that if you set "evenodd=swap;" (with a semi-colon), it does not work; but if you set "evenodd=swap" (without a semi-colon) it works. That was confusing to me and I use the navboxes all the time. Why does it not work with a semi-colon? (Please respond here on your talkpage and I'll watchlist.) Rgrds. --Tombstone (talk) 17:10, 20 July 2008 (UTC)
- Yeah, that's a pain, but there's really no good way to fix it (and by good I mean efficient code). The reason is because it uses an "ifeq" parser function to test if the evenodd parameter is equal to swap (i.e. "ifeq:evenodd|swap|do this|else do this"). Unfortunately, the parser function fails if there is a semi-colon in place; as far as I could tell there is no way to fix this, unless someone were to write a parser function that eliminates non-alphanumeric characters or something like that. Sorry for the inconvenience, but I can't really think of a good way to make it work with the semi-colon also It could be done with a switch statement, but those are rather costly for the servers (when I put them in there was a significant increase in the time it took to render the navboxes) and I've noticed numerous bugs related to switch statements in the past. I'll look into alternate implementations (including the switch), but for now I think we'll just have to remember to remove the semi-colons. --CapitalR (talk) 19:37, 20 July 2008 (UTC)
- Thanks for the response. I wanted to touch base with you to see if this was intentional because I was going to add a note to the documentation about it (which I did here — feel free to re-word it if you like). I also wanted to thank you for doing so much on the navboxes, they look and work great! And while I have you, I also wanted to thank you for taking time to explain things; I usually have unpleasant conversations with WP programmers or developers because, honestly, I have no idea what I am doing. But you always give me useful (and courteous) replies. You would make a good end-user liaison to the programmers. I appreciate it, rgrds. --Tombstone (talk) 11:43, 21 July 2008 (UTC)
- I'm always glad to help. The navboxes (as you've found) contain many advanced features that I was afraid users either would not find, would not understand, or just wouldn't use. Thus, I've been very happy to see you and a few other people using the advanced features to make some nice looking templates. I'll be doing my best to explain all of the navbox features and to improve them as necessary. Feel free to ask as many questions (either big or small) that you like directly to me or on the talk pages (I watch them all closely), and I'll answer as best I can. --CapitalR (talk) 13:10, 21 July 2008 (UTC)
- Thanks for the response. I wanted to touch base with you to see if this was intentional because I was going to add a note to the documentation about it (which I did here — feel free to re-word it if you like). I also wanted to thank you for doing so much on the navboxes, they look and work great! And while I have you, I also wanted to thank you for taking time to explain things; I usually have unpleasant conversations with WP programmers or developers because, honestly, I have no idea what I am doing. But you always give me useful (and courteous) replies. You would make a good end-user liaison to the programmers. I appreciate it, rgrds. --Tombstone (talk) 11:43, 21 July 2008 (UTC)
User:Balloonman/coaching
editHey there Capital R,
Could you take a look at this page. One of the tables is way too big and somewhere one of the tables is causing everything to be centered... I can't figure it out. Thanks, ---Balloonman PoppaBalloon 03:18, 27 July 2008 (UTC)
Lingering alternating backgrounds in Navbox with collapsible groups/sections..?
editHi again. Still learning more about the Navbox templates and the fine pieces of work they are. One thing I've noticed with Template:Navbox with collapsible groups/sections, though, is that when an image is used that's taller than the height of the groups/sections when collapsed, the alternating transparent-to-grey backgrounds become visible behind every other group/section titlebar. Much easier to point you to an example, which I hope shows the effect to you as it does to me. I guess it's a leftover from using original Navbox lists as the holders for the groups/sections, but, as you're far more in touch with the code, I'm hoping you can remove the greys more easily/elegantly. Sardanaphalus (talk) 01:15, 30 July 2008 (UTC)
Further (perhaps controversial) thought: Maybe an image's size could be reduced/enlarged (within limits) depending on how many groups/sections expanded. Sardanaphalus (talk) 01:46, 30 July 2008 (UTC)
- Hey, yeah I actually saw that MLK template earlier today and noticed the problem. I'll see what I can do to get it fixed up and looking right. Thanks for letting me know. --CapitalR (talk) 02:18, 30 July 2008 (UTC)
- Meanwhile, I've re-set the template to expand the first group/section by default (although I realize that won't necessarily remove the gaps when all group/sections collapsed). Sardanaphalus (talk) 13:20, 30 July 2008 (UTC)
Bot
editI was wondering if that states that use Geobox were going to be updated with the new maps and infoboxes? Ctjf83Talk 23:12, 9 August 2008 (UTC)
- I currently have no plans to do that unless the respective WikiProjects ask me to (and even then it might take a while). Any state in particular you were wondering about? --CapitalR (talk) 00:51, 10 August 2008 (UTC)
- Well I mean there are only 3 states whose maps haven't been updated, which seems kinda odd not to update those. It looks like some of the cities I quickly browsed in those 3 states have the new maps, and some don't. Just wondering why not all of the maps have been updated? Ctjf83Talk 00:59, 10 August 2008 (UTC)
- I didn't do the maps, I only did the infoboxes. I agree that it's weird that those states are different, and I'm all for standardizing them. I just don't feel comfortable making that decision on my own, and would prefer some consensus from others (the relevant WikiProjects, or some other group of people) before doing it. Last year when I did all of the other states' infoboxes, I just didn't have time to write the necessary code to convert Geoboxes to Infobox Settlements, which is why it didn't get done then. --CapitalR (talk) 04:09, 10 August 2008 (UTC)
- Well I mean there are only 3 states whose maps haven't been updated, which seems kinda odd not to update those. It looks like some of the cities I quickly browsed in those 3 states have the new maps, and some don't. Just wondering why not all of the maps have been updated? Ctjf83Talk 00:59, 10 August 2008 (UTC)
Default Navbox groupstyle/liststyle
editHi again. I realize Navbox maintenance can be (or always is) demanding, but I'm hoping you'll able able to do the following so I/we/anyone can see what happens and how many heads it raises.
It's a more straightforward version of suggestions I've made on the Navbox template talkpage. I claim a likely consensus by the near-total lack of comment/reversion on the dozens (maybe hundreds) of template pages where, over time, I've made the amendments manually. So:
- Please amend the default groupstyle and liststyle coding for a plain {{Navbox}} (i.e. not {{Navbox|child}} etc) so they achieve the same effect as
|groupstyle = padding:0.35em 1.0em; line-height:1.1em;
|liststyle = padding:0.25em 0; line-height:1.4em;
The first reduces the otherwise wide gap between wrapped groupname lines (the padding:0.35em... then ensuring they don't brush too close to the top/bottom of their groupname box); the second reduces the gap between wrapped lines in the lists while also ensuring (via the padding:0.25em...) they don't brush too close to each other across groups. This is to prevent the "continuous whole" look that can occur (quite frequently) and which I hope is apparent here:
Alternating backgrounds aside, doesn't the above look more "continuous"/"homogenous" than the below, which includes liststyle = padding:0.25em 0; line-height:1.4em; ...?
There's one user (all of one, after the dozens/hundreds of templates I've amended manually) who persists in removing the groupstyle/liststyle amendments -- but not on the grounds that they "don't work", "look bad", "do bad things", etc, but because (to paraphrase) "they should, if they're going to be used, be in the default code." (Given that this is a wiki, the words "chicken" and "egg" come to mind.) So, please insert them (for plain Navbox use) to see whether my hunch that nearly everyone wouldn't mind has anything to it. Thanks. Sardanaphalus (talk) 21:10, 12 August 2008 (UTC)
- Okay, I'll see what I can do. It may be a little while as I'm very busy at the moment, and such a change will require some coding and extensive testing before going into effect. I'll keep you posted. --CapitalR (talk) 13:13, 14 August 2008 (UTC)
- Thanks. If the testing is to check and allow for the effect of the amended styles when Navbox is used as Navbox|child or with Navbox subgroups, etc, perhaps this is something I could start on with a copy of the code in a sandbox..? If so, anything in particular I should look out for? Sardanaphalus (talk) 07:33, 15 August 2008 (UTC)
Navbox with columns - column widths
editHi there. I decided to use a navbox to organize my userboxes here. I am perplexed by the colheaders forcing a fixed width. I figured out a way to reduce the colheaders to the actual widths of the columns by subst'ing (and thereby getting a huge amount of code in my page that would make later editing difficult if not impossible). Is there a workaround I'm missing? basically I just want to get the colheaders the same width as the columns. Cheers. Prince of Canada t | c 07:06, 31 August 2008 (UTC)
Temaplate: Navbox
editMay I nudge you to look again at discussion of Template: Navbox, please? Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 14:08, 18 September 2008 (UTC)
- Nudge! Andy Mabbett (User:Pigsonthewing); Andy's talk; Andy's edits 14:48, 28 December 2008 (UTC)
Proposed Deletion of Template:U.S. State Senate Majority Leaders
editI have proposed that Template:U.S. State Senate Majority Leaders, which you have previously edited, should deleted because it is largely a duplicate of Template:U.S. State Treasurers. --TommyBoy (talk) 23:07, 26 September 2008 (UTC)
Nevermind, the discussion has been closed with a result of "Keep", because the redundancy issue has been fixed. --TommyBoy (talk) 01:40, 2 October 2008 (UTC)
Orphaned non-free media (Image:Westborough MA Town Seal.gif)
editThanks for uploading Image:Westborough MA Town Seal.gif. The media description page currently specifies that it is non-free and may only be used on Wikipedia under a claim of fair use. However, it is currently orphaned, meaning that it is not used in any articles on Wikipedia. If the media was previously in an article, please go to the article and see why it was removed. You may add it back if you think that that will be useful. However, please note that media for which a replacement could be created are not acceptable for use on Wikipedia (see our policy for non-free media).
If you have uploaded other unlicensed media, please check whether they're used in any articles or not. You can find a list of 'image' pages you have edited by clicking on the "my contributions" link (it is located at the very top of any Wikipedia page when you are logged in), and then selecting "Image" from the dropdown box. Note that all non-free media not used in any articles will be deleted after seven days, as described on criteria for speedy deletion. Thank you. BJBot (talk) 05:52, 1 October 2008 (UTC)
Thank you
editThank you for un-doing 24.19.159.187 's edit to Jew (disambiguation). Reliableforever (talk) 21:49, 21 October 2008 (UTC)
Request
editHi, I was wondering if you could (or maybe someone you know) edit the Template:Irish Latin-Americans and add something similar to a collapsible collapsed messagebox so that it can have a collapse (hide) drop botton similar to the Ethnic groups/migrations in Puerto Rico Template. That way the viewer will have an option and it will not occupy so much space in the main article. Thank you and take care, Tony the Marine (talk) 18:17, 13 December 2008 (UTC)
- I added collapsability with it defaulting to being collapsed. Just change the "uncollapsed" code in the template to "uncollapsed" to reverse this if you want. --CapitalR (talk) 17:23, 20 December 2008 (UTC)
- Great job! Thank you once more. Tony the Marine (talk) 17:47, 27 December 2008 (UTC)
Hardcoded borders in Navbox
editHi there. A question on Template talk:Navbox about coloring a navbox revealed there are still some hardcoded tablecell border. I have attempted to fix these in the sandbox by substituting those with empty cells, the same way the rows are seperated. Diff code is here. The only glitches I see left now are in the tests using group widths; the empty cells expand by 2px. Can you see a way of fixing those? And how do you consider this fix in general? — Edokter • Talk • 18:05, 26 December 2008 (UTC)
- Your code is the way the navbox originally worked, and the way I was coding it for a while. I believe I had serious problems with browser compatability using that method (particularly with IE6), but I can't remember the details now. The groupwidth is (unfortunately) important, because it is used to make subgroups line up nicely with each other. I've been very busy in real life lately, but I'll try to take a look and run some tests to see how your code works on various browsers. The left-border hack I ended up using was basically the lesser of many evils, as there was no good solution except that one that would work in all browsers. --CapitalR (talk) 03:48, 28 December 2008 (UTC)
- I'm wondering why it doesn't use regular cell-spacing? — Edokter • Talk • 15:21, 29 December 2008 (UTC)
CapitalBot issues
editWould you please see Wikipedia_talk:WikiProject_Wisconsin#Possible_wrong_data_in_infoboxes? Can you offer any assistance or suggestions on how to correct the articles? Thank you. -Freekee (talk) 17:09, 4 January 2009 (UTC)