User talk:Aichon: Difference between revisions

From The Urban Dead Wiki
Jump to navigationJump to search
Line 188: Line 188:
::::With the problem being that I'd have to create a list of about 7.000 items and the whole thing would lose the cycling effect. I already considered it, but the reason I want to cycle through them as frequent as possible to avoid seeing the same one over and over again. Then again, I'm pretty sure I could make it cycle I think, using a new switch function inside the first one (but still: 7.000 item list). {{User:Peralta/Signature}} 04:44, 24 November 2012 (UTC)
::::With the problem being that I'd have to create a list of about 7.000 items and the whole thing would lose the cycling effect. I already considered it, but the reason I want to cycle through them as frequent as possible to avoid seeing the same one over and over again. Then again, I'm pretty sure I could make it cycle I think, using a new switch function inside the first one (but still: 7.000 item list). {{User:Peralta/Signature}} 04:44, 24 November 2012 (UTC)
:::::Well, the list already exists. you'd just have to grab it 200 items at a time from the category page. And if people are actually updating things, then the location should cycle pretty often. Anyway, I think you could just copy/paste the list 200 items at a time into Excel in column A, then do <code>=CONCATENATE("case ",ROW(A1),": ",A1)</code> in column B to produce the text that you'd copy/paste directly into your switch template (just tested copying several items in column B and pasting into the wiki editor: it works as expected). Shouldn't take more than about an hour or so, I'd imagine. {{User:Aichon/Signature}} 05:33, 24 November 2012 (UTC)
:::::Well, the list already exists. you'd just have to grab it 200 items at a time from the category page. And if people are actually updating things, then the location should cycle pretty often. Anyway, I think you could just copy/paste the list 200 items at a time into Excel in column A, then do <code>=CONCATENATE("case ",ROW(A1),": ",A1)</code> in column B to produce the text that you'd copy/paste directly into your switch template (just tested copying several items in column B and pasting into the wiki editor: it works as expected). Shouldn't take more than about an hour or so, I'd imagine. {{User:Aichon/Signature}} 05:33, 24 November 2012 (UTC)
::::::I've been playing around with it a bit, and the main thing I dislike about it is that it would make adding images to the template a lot harder. These are just selected (and the pattern designed to make sure there is a steady variation to motivate people) according to the time of day (and day of the week for 23 and 24) to match the location types. {{User:Peralta/Signature}} 02:01, 26 November 2012 (UTC)


== Button only project ==
== Button only project ==

Revision as of 02:01, 26 November 2012

Aichon:Talk
Aichon
ˈīˌkän :Talk