User:CzechOut/Sandbox

Useful bot syntax
To strip a page entirely of its HTML, use pywikipeia bots like this: python replace.py -cat:'18th century years' -regex "<.*>" "" -summary:'Getting rid of HTML table at bottom' -always

Infoboxen
I've been quite unsatisfied with the infoboxes here for a while. They require you to type in way more than you need to in order to put up a picture, they produce a lot of blank space if you don't fill in every variable and they're "thin black line"-heavy. So here's a side-by-side comparison of the exact same variables in two different styles of infobox. The one on the left if my proposal of what we should change to (although colors can obviously be changed easily).

Note the differences between the two boxes. The new one has no border around the whole box, but a fully colored interior that frames the picture.

The new version also automatically links the picture. To get the picture up, all I did was type in image=Tegan.jpg. Simple, easy, no worries about inverted brackets, missing punctuation or anything else. As long as you know the simple name of the file, the picture appears. More importantly, it gives editors no choice as to the width. All pictures using this infobox are 250px, period. This will achieve uniformity across the stie, something another thread has been complaining about.

But you can see the major downside. It'll obviously mean that every single existing infobox will have to have its brackets edited out. Controversial, to be sure, but ultimately massively beneficial. Yes, the new box can be rewritten to handle the existing format, but we'd lose the ability to set the width automatically.

But here's the unambiguously better bit. Variables not entered do not produce a blank line, or try to substitute a word like "unknown". The exception is "mentioned in" and "appeared in", because it actually is useful to have the box positively assert that there are no mentions or appearances, I think. There are a ton oBut this can be easily changed so that the lines beneath the "Appearances" subhead can also be set to disappear when someone hasn't filled it out.

This sort of thing can be done for every infobox on the wiki. We could get real control over our infoboxes by putting a whole lot more style into them. We can even put little icons into the infoboxes, if we wanted, so that on series episode pages there's the logo of the programme in question. Maybe a small TARDIS for DW, and the faces of Captain Jack and SJS for their series. Check out the SMDM episode template for an idea of what that might look like.  Czech Out  ☎ | ✍  07:42, 14 May 2009 (UTC)

! style="font-size: 125%; ; text-align: center;"