User talk:Aichon: Difference between revisions
m (→Random selection: Also kinda tired.) |
|||
Line 61: | Line 61: | ||
:::::::::::::Well the User:DangerReport pages technically are the templates. That's where the data for each location block is stored, and then various other templates are used to pull and display the data in different ways. Aichon's suggestion is a nifty little trick and it's possible that could work I think. The trick would be adding a variable to all of the location block pages with revision date magic words subst'd in using Aichon's trick. Then it's just a simple matter of creating one template that pulls that data. ~[[Image:Vsig.png|link=User:Vapor]] <sub>17:54, 25 May 2013 (UTC)</sub> | :::::::::::::Well the User:DangerReport pages technically are the templates. That's where the data for each location block is stored, and then various other templates are used to pull and display the data in different ways. Aichon's suggestion is a nifty little trick and it's possible that could work I think. The trick would be adding a variable to all of the location block pages with revision date magic words subst'd in using Aichon's trick. Then it's just a simple matter of creating one template that pulls that data. ~[[Image:Vsig.png|link=User:Vapor]] <sub>17:54, 25 May 2013 (UTC)</sub> | ||
::::::::::::::To be honest, I'm not convinced at all that my idea would work, since subst-ing works with some strange rules, as I recall. But it's the only idea I had to do this sort of thing. If it doesn't work, I'd have absolutely no idea at all, other than having people separately sign and date each of their edits to the danger reports. {{User:Aichon/Signature}} 18:42, 25 May 2013 (BST) | ::::::::::::::To be honest, I'm not convinced at all that my idea would work, since subst-ing works with some strange rules, as I recall. But it's the only idea I had to do this sort of thing. If it doesn't work, I'd have absolutely no idea at all, other than having people separately sign and date each of their edits to the danger reports. {{User:Aichon/Signature}} 18:42, 25 May 2013 (BST) | ||
:::::::::::::::Even if it was doable in a reasonable manner why would you want to ever transclude a single template big enough to hold all the suburbs on every page to only call a 100th or 10,000th of the template's content. That's just irresponsible really and would cause more issues than it could ever solve. Additionally I may be horribly misunderstanding what you guys are trying to do but if I can get an idea I could probably be useful in figuring out how to do it. --<small>[[User:Karek#K|Karek]]<sup><font face="Monotype Corsiva">[[User:Karek/ProjDev#Buildings_Update_Danger_Maps|maps 2.0?!]]</font></sup></small> 19:46, 25 May 2013 (BST) |
Revision as of 18:46, 25 May 2013
Announcement: I'm no longer active. My talk page is still your best bet to get in touch. —Aichon— 04:39, 15 December 2018 (UTC)
- New conversations should be started at the bottom using a level two header (e.g.
==Header==
). Or with the + - I like to keep conversations wherever they start, but if a conversation ends up here, I will keep it here.
- I will format comments for stylistic reasons, delete comments for whatever reason, and generally do anything else within reason.
OMGOMGOMG
I accidentally did something to the suggestion portal and don't know how to fix it :X -.- 03:57, 4 May 2013 (BST)
- Looks like you got it sorted out. Long story short, don't edit the line that says you should edit below that line. It looks like you were replacing (perhaps automatically via some sort of automatic text replacement?) the "--" with a "—" in that line. Since that line is an HTML comment, removing the -- caused it to behave as if the comment never ended, meaning that the rest of the page was treated as being in the HTML comment. I.e. It was hidden from view. —Aichon— 10:32, 4 May 2013 (BST)
- If in doubt, revert or undo will usually fix all but the most egregious of fuck-ups. One of the best features of a wiki. ᚱᛁᚹᛖᚾᚨᚾᛏ 11:10, 4 May 2013 (BST)
My suggestion
i just wanted to know if i could re-add my Radio Recognition suggestion to the voting section? PayneTrain(NWO/FU) 17:27, 4 May 2013 (BST)
- My previous answer to this question still applies. :P —Aichon— 17:41, 4 May 2013 (BST)
Suggestions
I just wanna know if that one guy can add his suggestion again. 01:37, 6 May 2013 (BST)
Question
Can I place a question I have about suggestions here? 01:45, 6 May 2013 (BST)
Protecting cycled suggestions
Do you want to share any amount of copper money on Ross' RE, or should I take it to the new crat tomorrow? -- Spiderzed█ 18:28, 10 May 2013 (BST)
- Best that you handle it, since I'm on the way out the door of Bureaucracy. —Aichon— 18:37, 10 May 2013 (BST)
...
aichon. i would like to discuss with you. please go to here. tinyurl.com/pggchat. i wait for you! --Anja Arnheim 00:20, 13 May 2013 (BST)
- For posterity, the issue was a minor one with image caching that was pretty easily addressed. Also, tinyurl.com/pggchat is just a link to Mibbit for #PGG on the NexusWar IRC, for everyone else's reference. —Aichon— 00:48, 13 May 2013 (BST)
Something else
Edit my talk whenever you're about. --Rosslessness 16:56, 21 May 2013 (BST)
- I responded to your e-mail a second time with more information, since we keep missing each other. —Aichon— 21:02, 22 May 2013 (BST)
Random selection
Hi, you wouldn't happen to know how I could make a template select a random item from a list every day, would you? PB&J 20:24, 22 May 2013 (BST)
- Random? No. A different one each day in a cycle? Quite possible. We do something like that with {{SimpleFACycle}} for the Featured Articles on the main page of the wiki, though it changes them out weekly, rather than daily, and you have to set up the cycle in advance. —Aichon— 21:01, 22 May 2013 (BST)
- Well, a preset cycle should be quite enough, and I think weekly should be sufficient for my purposes. Thanks, I'll look into it! PB&J 21:06, 22 May 2013 (BST)
- You can modify that weekly one to be daily by just swapping out the weekly magic word at the top for a daily one. —Aichon— 21:07, 22 May 2013 (BST)
- I know, but contrary to the first thing I set up on the wiki, I'm going to try and keep the scale of this project manageable... for now. PB&J 21:10, 22 May 2013 (BST)
- Sorry for bothering you again, but I've been out of wiki-editing for longer than I care to admit: how do I pull info like status, comment, etc. from the building statuses again? PB&J 21:51, 22 May 2013 (BST)
- Basically, you make your own template to grab the parts you want. For instance, you should check the code for {{TRP Status}} to see how it grabs each of the variables it uses from a danger report in order to do something like this: ▋ The Latrobe Building (21,28)
- You can modify that weekly one to be daily by just swapping out the weekly magic word at the top for a daily one. —Aichon— 21:07, 22 May 2013 (BST)
- Well, a preset cycle should be quite enough, and I think weekly should be sufficient for my purposes. Thanks, I'll look into it! PB&J 21:06, 22 May 2013 (BST)
- Note that you're actually including the danger report itself, but that you pass it the template you want it to use as a variable. Rather convoluted, but I believe it's the only way to grab the information one piece at a time, so I'm glad it exists. —Aichon— 22:33, 22 May 2013 (BST)
- Awesome, thanks! Question number 3: can I sepparate a user's name and date from his signature, when pulling that info from a sitrep? PB&J 19:53, 23 May 2013 (BST)
- Not that I'm aware of, since we lack any of the parser extensions on this wiki. I'm also unaware of any way to merely grab the date that the page was edited, in case you were thinking along those lines. —Aichon— 20:07, 23 May 2013 (BST)
- Hmmm, that makes my idea a bit less attractive than I had hoped. PB&J 20:12, 23 May 2013 (BST)
- Actually, I'll take that back. Look over some of the relevant magic words and see if any of them might work for you. —Aichon— 20:19, 23 May 2013 (BST)
- One of the revision-tags could do the trick. And I can just minimize the {{{user}}}, which should be ok. Thanks, you once again prove that you're a great help, be it with a giant map or a simple idea :) PB&J 20:24, 23 May 2013 (BST)
- I see where you're going with it, and sadly I have to inform you that the revision tags will always give you the revision date of the page (or template) it displayed on. I tried a similar project once, and ran into the same problem. ~ 21:14, 23 May 2013 (UTC)
- What if I define the tag "date" in the sitrep template, like the name, comment and user are defined?
- For whom it may concern: this is a first step towards a new template and page for all suburbs. PB&J 21:33, 23 May 2013 (BST)
- Yeah if I remeber correctly, I tried that on on danger report template and it still displayed the wrong date when transcluded. Plus, ya 10,000 Danger Report templates. ~ 21:52, 23 May 2013 (UTC)
- You might be able to do something like have sub{{sometemplate that has "st:{{REVISIONDATE}}" in it}} in order to effectively subst the REVISIONDATE in order to get the date of a particular template in the chain of templates. We've done similar stuff to allow automatic signatures with templates, as I recall. —Aichon— 22:05, 23 May 2013 (BST)
- @Vapor: Why don't the Danger Reports use one template for their content? Also, there are "only" about 5 000, since streets and other empty lots don't have one ;) PB&J 15:25, 25 May 2013 (BST)
- Well the User:DangerReport pages technically are the templates. That's where the data for each location block is stored, and then various other templates are used to pull and display the data in different ways. Aichon's suggestion is a nifty little trick and it's possible that could work I think. The trick would be adding a variable to all of the location block pages with revision date magic words subst'd in using Aichon's trick. Then it's just a simple matter of creating one template that pulls that data. ~ 17:54, 25 May 2013 (UTC)
- To be honest, I'm not convinced at all that my idea would work, since subst-ing works with some strange rules, as I recall. But it's the only idea I had to do this sort of thing. If it doesn't work, I'd have absolutely no idea at all, other than having people separately sign and date each of their edits to the danger reports. —Aichon— 18:42, 25 May 2013 (BST)
- Even if it was doable in a reasonable manner why would you want to ever transclude a single template big enough to hold all the suburbs on every page to only call a 100th or 10,000th of the template's content. That's just irresponsible really and would cause more issues than it could ever solve. Additionally I may be horribly misunderstanding what you guys are trying to do but if I can get an idea I could probably be useful in figuring out how to do it. --Karekmaps 2.0?! 19:46, 25 May 2013 (BST)
- To be honest, I'm not convinced at all that my idea would work, since subst-ing works with some strange rules, as I recall. But it's the only idea I had to do this sort of thing. If it doesn't work, I'd have absolutely no idea at all, other than having people separately sign and date each of their edits to the danger reports. —Aichon— 18:42, 25 May 2013 (BST)
- Well the User:DangerReport pages technically are the templates. That's where the data for each location block is stored, and then various other templates are used to pull and display the data in different ways. Aichon's suggestion is a nifty little trick and it's possible that could work I think. The trick would be adding a variable to all of the location block pages with revision date magic words subst'd in using Aichon's trick. Then it's just a simple matter of creating one template that pulls that data. ~ 17:54, 25 May 2013 (UTC)
- I see where you're going with it, and sadly I have to inform you that the revision tags will always give you the revision date of the page (or template) it displayed on. I tried a similar project once, and ran into the same problem. ~ 21:14, 23 May 2013 (UTC)
- One of the revision-tags could do the trick. And I can just minimize the {{{user}}}, which should be ok. Thanks, you once again prove that you're a great help, be it with a giant map or a simple idea :) PB&J 20:24, 23 May 2013 (BST)
- Actually, I'll take that back. Look over some of the relevant magic words and see if any of them might work for you. —Aichon— 20:19, 23 May 2013 (BST)
- Hmmm, that makes my idea a bit less attractive than I had hoped. PB&J 20:12, 23 May 2013 (BST)
- Not that I'm aware of, since we lack any of the parser extensions on this wiki. I'm also unaware of any way to merely grab the date that the page was edited, in case you were thinking along those lines. —Aichon— 20:07, 23 May 2013 (BST)
- Awesome, thanks! Question number 3: can I sepparate a user's name and date from his signature, when pulling that info from a sitrep? PB&J 19:53, 23 May 2013 (BST)
- Note that you're actually including the danger report itself, but that you pass it the template you want it to use as a variable. Rather convoluted, but I believe it's the only way to grab the information one piece at a time, so I'm glad it exists. —Aichon— 22:33, 22 May 2013 (BST)