FANDOM

 
32,721 Pages

Forums - ThemeTable
This page is an archive. Please do not edit the contents of this page.


Comment: implemented



Yay!! Wikia make a change that mean themetable doesn't work! Imagine my excitement! I've temporarily disabled it (just a "sorry" message), and am about to log a bug report. Alien Conquest will be left with the broken version.

Sorry, - nxt


@NXT: Are you sure it's Wikia's fault? Or there's nothing we can do about it?

{{ThemeSet|30140 ADU Walker}}

<tr style="border:1px solid #aaa; background:#fff"> <td style="border:1px solid #aaa">30140</td> <td style="border:1px solid #aaa">30140 </td> <td style="border:1px solid #aaa">ADU Walker </td> <td style="border:1px solid #aaa">34 </td> <td style="border:1px solid #aaa">ADU Computer Specialist  </td> <td style="border:1px solid #aaa"> </td> <td style="border:1px solid #aaa">2011 </td> </tr>

  • ThemeSet seems to work fine
{{#ask:[[InfoboxTemplate::Set]][[Type::Set]][[Category:Alien Conquest]]
|?Released
}}
 Released
30140 ADU Walker2011
30141 Jet-Pack2011
7049 Alien StrikerMay 2011
7050 Alien DefenderMay 2011
7051 Tripod InvaderMay 2011
7052 UFO AbductionMay 2011
7065 Alien MothershipMay 2011
7066 Earth Defense HQMay 2011
7067 Jet-Copter EncounterMay 2011
853301 Alien Conquest Battle PackJune 1, 2011
Sticker, Alien Conquest Sheet of 102011
  • Straight query just for release date works fine
{{#ask:[[InfoboxTemplate::Set]][[Type::Set]][[Category:Alien Conquest]]
|?Released
|format=template
|template=ThemeSet
}}
  • Is a problem.

... ok, I've gone blank. There was a point to this, ssaving anyway so I might remember sometime :) NightblazeSaber 09:02, November 3, 2012 (UTC)

A proposal

Y'know, I've never actually liked the themetable templates (although I admit they do have some advantages)... The minifigure one is unreliable, and the ones for the sets are constantly glitching in one way or another, with this only really being the latest in a long line... I'd be all for getting rid of them entirely, and going back to manual again. Heck, I can do all the work myself if you want- I've got some free time. :P -Cligra Join the redlink war!

I also dislike them. I wouldn't want to update them manually myself, but if someone else is willing too. :P --Berrybrick (Talk) 21:09, November 3, 2012 (UTC)

I have had a think about this, and have come up with a solution. ThemeTable was created for 2 reasons: consistency, and because the set page tends to have the best info in the infobox. The problem is the 2D sematic query (a query querying another query). If I could reduce this to a set number of simple queries, it would work fine. And I can. This is what the new code would look like:

{{ThemeTable
|1234 Set
|2345 Set
|3456 Set
|4567 Set
}}

Each set has to be inputted to the template, but the data and formatting will be provided automatically. It will still have the consistency, and still use the best information from the set page, but most importantly, it won't be so buggy, because of the reduced querying. I shall start working on a demo. - nxt

topbottom
Image Item number Set Number of pieces Minifigures Price Release
30140 30140  ADU Walker  34  ADU Computer Specialist     2011 
Support that latest one. Jag 00:28, November 5, 2012 (UTC)
It's working nicely, see Alien Conquest. - nxt
Hmm, sure, it looks ok here, but what about themes like Castle and Space? I really can't see anyone actually ever doing a theme table for them (ok, so maybe someone will now just to prove me wrong :D). And then there are going to be a lot of pages out of date every wave... NightblazeSaber 23:58, November 6, 2012 (UTC)
Per Jag –Agent Charge 01:28, November 7, 2012 (UTC)
  • Support - solves problem (including my sorting by item number one). @ NBS - well someone did it when we just listed them manually :P - We could just use a find and replace thing (like on word), get the old list and turn "*[[" into "|" ~ CJC 16:19, November 7, 2012 (UTC)
  • I'm now converting them all to the new system. Please spam my talkpage if I forget, I have very little time now... - nxt