Template talk:Prettytable

Examples
The examples should have title sections so that the pretty table effect is used and thus is more of an example for the template... Shouldn't they? --Notmyhandle (talk • contribs) 18:53, 30 March 2007 (CDT)
 * I've sub-paged the documentation, so feel free to make whatever changes you think are necessary to it. --DrBob (Talk) 12:55, 6 April 2007 (CDT)

Parameter Quick Reference
I for one think that the parameters should be listed in a section, perhaps below examples, that denotes all of them. Who else is with me? --Notmyhandle (talk • contribs) 22:09, 5 April 2007 (CDT)

Centered
Can we have a centered parameter? This is for tables that are on their own row. --Notmyhandle (talk • contribs) 03:58, 19 April 2007 (CDT)

Double Border
I think we should add style="border-style: double; border-width: 3px;" to the prettytable. It's quite aesthetically pleasing I must say. :)--Teddy 21:18, 20 February 2008 (CST)
 * Make a test table right here so we can see. -- 00:30, 21 February 2008 (CST)

valign
Any chance of a vertical alignment parameter? It's a pet peeve of mine when cells on the same row don't line up. --aniki21 04:18, 2 March 2008 (CST)
 * I've made things vertical-align:top by default, which I think makes sense. Thanks for pointing it out. :-) --DrBob (talk) 07:12, 2 March 2008 (CST)
 * Vertical-Align:top looks pretty awful when you have a table that contains images and text, can we get this added as a parameter? Kyjibo (talk) 03:57, 24 October 2014 (UTC)
 * Can you find an example page/table that "looks pretty awful" for us? -- 19:08, 6 November 2014 (UTC)

cellspacing
Could you please remove  from this template? It will make the tables neater on Internet Explorer. --OMG 10:01, 8 May 2008 (CDT)
 * Done, and I removed some other crufty old HTML parameters too. Thanks for the heads-up. --DrBob (talk) 12:11, 8 May 2008 (CDT)

Who killed sortable?!
Oh, no! What happened to our beautiful javascript? sortable=1 has been disabled? Why? I assume this occurred during the migration to the new simplified theme and also during a staff meeting. Can someone note the reason here on the discussion page? Thank you. -- 17:44, 1 May 2012 (UTC)
 * Because changes are rolled out without testing. I wouldn't assume anything is ever discussed in staff meetings, or that staff meetings even occur anymore. — Najzere  ·  Talk  01:09, 2 May 2012 (UTC)
 * Report the bugs, they'll get fixed. -- Prod (Talk) 02:28, 2 May 2012 (UTC)
 * Staff meetings largely fell off due to several factors including: lack of interest, difficulty with scheduling, but mostly improved direct communication between interested members. I would be happy to resuscitate them if there was enough expressed interest.   Pro  cyon  02:33, 2 May 2012 (UTC)

Sortable works in Vector and Monobook but not in Dolphin or BlueCloud. Probably because the first two are on Wikipedia where we got the sortable code. — Najzere  ·  Talk  03:16, 2 May 2012 (UTC)
 * Pretty sure it's somewhere lost in MediaWiki:Common.js (or maybe not). Once they added ResourceLoader it made skin specific js much harder to include.  The custom skins load the js/css differently than the built-in skins, so it could be an artifact of that. -- Prod (Talk) 04:34, 2 May 2012 (UTC)
 * Hmmm. I just switched to Monobook.  Now that Bluecloud is gone I don't care about skins at all.  Let's just force Monobook and remove the rest so there is never any issue, aside from browser rendering, regarding aesthetics/layout.  -- 02:58, 3 May 2012 (UTC)
 * Is there a point you're trying to convey? -- Prod (Talk) 03:32, 3 May 2012 (UTC)
 * Dolphin is the default skin that sets us apart from other wikis, so that should be compatible first and foremost. Having a choice of skins is a good thing, we just need to make sure they all work. Monobook is old even on Wikipedia (Vector is default there). Not that I'm for it, but I think if we were to force a single skin on people it should be Dolphin. — Najzere  ·  Talk  05:42, 3 May 2012 (UTC)
 * I understand that, but can we be certain that Dolphin won't have to be replaced like Bluecloud was? -- 20:41, 3 May 2012 (UTC)
 * Everything gets replaced eventually. Next time, maybe the skin can just be updated with different styles instead moving to a new skin, but either way I think we'd always want to have something to give us our own identity, and that one should be the default. — Najzere  ·  Talk  00:21, 4 May 2012 (UTC)

Someone fixed this? Tables sort works for me now in Dolphin. — Najzere  ·  Talk  20:54, 5 May 2012 (UTC)
 * As far as I know, it wasn't me... Perhaps caches cleared somewhere? -- Prod (Talk) 19:12, 6 May 2012 (UTC)
 * The only change I made was to disable abxy scripts. This also fixed the enhanced recent changes functionality. — Najzere  ·  Talk  21:57, 6 May 2012 (UTC)


 * I checked Dolphin with Chrome and IE9; no dice on Chrono Trigger/Items and equipment. Works on Monobook.  Dolphin seems to render the space in the table for the sortable icon, but it doesn't display an image.  I haven't checked the source code yet to see what it's generating. -- 16:14, 7 May 2012 (UTC)
 * Have you tried disabling abxy scripts? You should be able to add it to your blacklist in options or something. Worked for me. — Najzere  ·  Talk  00:14, 8 May 2012 (UTC)
 * I don't follow. There's an options section? I know of preferences, but I don't see a blacklist area, or any mention of "scripts."  Are you referring to some sort of global javascript page? Also, when I tried to install the ajaxpatrol.js, was there something I needed to do besides put it in User:Notmyhandle/ajaxpatrol.js? -- 01:13, 8 May 2012 (UTC)
 * Nevermind about the abxy script, looks like it was just a jQuery conflict. As for the patrol script, I moved your BlueCloud.js over to common.js and added the code for you. You can delete User:Notmyhandle/ajaxpatrol.js if you want, as it's not necessary to keep separate instances of the code. Likewise you might want to move your bluecloud.css over to the common or skin version of your css if any of it still applies. Cheers, — Najzere  ·  Talk  14:53, 8 May 2012 (UTC)
 * Thanks, buddy! :D Now when I click Mark Patrolled it just makes the link disappear; slick! -- 15:46, 8 May 2012 (UTC)


 * I see what you mean. I'll make this change on the server side in the next update.  It looks like with mediawiki bringing in its own jquery.js it's conflicting with ours (and in the end not really necessary).  Good find! -- Prod (Talk) 01:58, 8 May 2012 (UTC)
 * Ah cool, much easier than rewriting table sort code. :) — Najzere  ·  Talk  14:53, 8 May 2012 (UTC)

Automatic Sortable?
I'd like to know if it's possible for the table to automatically sort by A-Z ascending for a specific column when loading the page.

--Silly Neko (talk) 04:17, 18 November 2020 (UTC)
 * To sort what shows up on load, you need to do the sort manually. -- Prod (talk) 04:43, 18 November 2020 (UTC)

style=align:right ... style=vertical-align:middle
I just learned about the parameter "style" and I tried to implement it, to no avail. Let me try again: 🇨🇴 🇨🇴 🇨🇴 This is not working. Am I doing something wrong? Is the style parameter limited to very specific CSS values? -- Abacos (talk) 20:27, 21 February 2021 (UTC)
 * style=align:right would be nice in tables of experience points & levels;
 * style=vertical-align:middle would save loads of space here: Ultima_VII_Part_Two:_Serpent_Isle/Spells_and_Reagents.
 * The style parameters are for the whole table, not for the individual cells. For the first case, you're looking for text-align:right. For the second, it needs to be done individually per cell. -- Prod (talk) 21:19, 21 February 2021 (UTC)
 * I see. Thanks :) -- Abacos (talk) 12:06, 22 February 2021 (UTC)