This wiki is a XML full dump clone of "Heroes Wiki", the main wiki about the Heroes saga that has been shut down permanently since June 1, 2020. The purpose of this wiki is to keep online an exhaustive and accurate database about the franchise.

User talk:Hardvice/Dec-Jan08

From Heroes Wiki
Jump to navigation Jump to search
WARNING: User talk:Hardvice/Dec-Jan08 is an archive of past messages. New messages should be added to User talk:Hardvice.

Primatechpaper.com

I saw your post on the talk for primatechpaper.com and I was wondering if you could help me to get on the site. I go to the jobs page and there is no space for me to enter a password. Was this a limited time thing? Thanks Nick Petrelli 22:46, 1 December 2007 (EST)


Ability name changes

http://theories.activatingevolution.org/swiki/wiki/index.php/List_of_Anomalistic_Abilities

i guess this seems a pretty good place to kind the 'real' ability names. for example on here theres 'induced radioactivity' but here its named as Radiokinesis. ah well i though you might wanna change some of the names lol

http://theories.activatingevolution.org/swiki/wiki/index.php/Radiokinesis (induce radioactivity) http://theories.activatingevolution.org/swiki/wiki/index.php/Florakinesis (plant control) http://theories.activatingevolution.org/swiki/wiki/index.php/Cryokinesis (freezing)lol XD http://theories.activatingevolution.org/swiki/wiki/index.php/Spontaneous_Regeneration (Rapid cell regeneration) http://theories.activatingevolution.org/swiki/wiki/index.php/Omnilinguality (Omnilingualism) somewhat minor http://theories.activatingevolution.org/swiki/wiki/index.php/Self-Duplication (replication) http://theories.activatingevolution.org/swiki/wiki/index.php/Electrokinesis (lightning)

and http://theories.activatingevolution.org/swiki/wiki/index.php/Emotion_Manipulation (bliss and horror) i though i might as well put that one cause on the page it actually says the haitians father had that ability

tbh i couldnt be bothered to nomiate all (or any :D) of the above for a name change cause theres just too many.

btw sent this to some of the other admins too. have fun lol

  • ActivatingEvolution.org is fan-contributed content. It has no bearing on our article names.--Hardvice (talk) 16:10, 2 December 2007 (EST)
    • yeah but surely florakinesis and Radiokinesis are the correct terms for the power.
      • "Florakinesis" means "flower movement". "Induced radioactivity" comes from the Genesis files, which appeared in an episode and thus trump any name we might want to make up. See Help:Naming conventions.--Hardvice (talk) 16:17, 2 December 2007 (EST)

Animals with the Humans category

  • I noticed that Mr. Muggles has the Humans category on his page. Since the Template:Character_box was designed for either Humans or Evolved Humans, it presents a problem. I dont want to futz with all the wikicode you worked on, so I thought I'd just ask you. Perhaps just something tweaked in the template could fix this?--Piemanmoo 15:53, 5 December 2007 (EST)

Age template

I was looking at Peter's page, and I noticed that he will be turning 28 in a few weeks. I was thinking about all the people whose ages will need to be updated, and was wondering if there was some way to make a template which automatically updates ages. For instance, Wikipedia has a template they use, but it seems pretty complex. Lostpedia has copied it, and it seems to work for them. Any thoughts? -- RyanGibsonStewart (talk) 01:27, 9 December 2007 (EST)

  • Should be easy. Actually, if the character box has DOB (does it?), we can make it calculate using just {{expr:}}. Otherwise, we can add a DOB variable and have age calculate if it's present. I'll take care of it now.--Hardvice (talk) 02:01, 9 December 2007 (EST)
    • Thanks. I have to head to bed. -- RyanGibsonStewart (talk)
      • It's not that easy as we have to reference the current point in the timeline. I mean, storywise, we will probably continue in March/April 2007 when irl it is Sept/Oct. 2008 (over a year later). If we automate it, we should define a storydate which for now should be "March 20, 2007", correct?--MiamiVolts (talk) 02:07, 9 December 2007 (EST)
        • Hm, good point. It may be more trouble than it's worth. Perhaps it would be easier to just use dpl to generate a list of birthdays (could even be a new lists article) and monitor that manually.--Hardvice (talk) 02:13, 9 December 2007 (EST)
          • That works for me. There really aren't a whole lot of characters for whom we have an actual birth date. Usually, we just know the year or at most the month. -- RyanGibsonStewart (talk) 15:52, 9 December 2007 (EST)

your username anagram

Family trees

Hey, Hardvice. Will you take a look at some of the family trees? Since Template:PortalCharacter was adjusted, it seems some of the family trees are acting oddly. (Take a look at Template:Petrelli Tree for a more extreme example of how the lines aren't quite matching up and the bottom cells don't fit in the box.) Thanks, man. -- RyanGibsonStewart (talk) 21:20, 13 December 2007 (EST)

  • By and large, the positioning just needs to be tweaked. A natural vertical height of two lines and a vertical height of lines=2 are different by a few pixels. In the worst cases, we might need to adjust the background images a touch, but most of the time we should be able to get away with nudging the offending cells up a few px.--Hardvice (talk) 03:59, 14 December 2007 (EST)
    • Yeah, that's kinda what I thought, I just didn't want to mess anything else up since I don't have my head fully wrapped around the PortalCharacter changes yet. Thanks for the fix. -- RyanGibsonStewart (talk) 06:46, 14 December 2007 (EST)

DPL

I'm trying to get my head wrapped around DPL. Is there a way to print just the title of articles that have a certain response for a variable? (I'm not sure if I'm using the right vocabulary, sorry.) For instance, could I print just the names of articles that have power(s) = None in the character box, or that have artby = Micah Gunnell in the Graphic Novel sidebar? -- RyanGibsonStewart (talk) 19:11, 18 December 2007 (EST)

  • It's possible. To do it, you need to use include (to get the template parameter) and includematch or includenomatch (to get only certain values). There's an example here. Includematch/includenomatch use regular expressions, which can be a bit awkward at first.--Hardvice (talk) 20:25, 18 December 2007 (EST)
    • Thanks, I'll play around with it. -- RyanGibsonStewart (talk) 20:46, 18 December 2007 (EST)
      • I'm having a really hard time figuring out the language for includenomatch. -- RyanGibsonStewart (talk) 21:09, 18 December 2007 (EST)
        • You mean includeNOTmatch?--MiamiVolts (talk) 21:14, 18 December 2007 (EST)
          • Actually, I mean includematch. It's the regular expressions that are tripping me up. -- RyanGibsonStewart (talk) 21:19, 18 December 2007 (EST)
            • Yeah, I'm used to regular expressions from C, but these are Perl regular expressions so I'm still trying to understand the help.--MiamiVolts (talk) 21:21, 18 December 2007 (EST)
              • I'm completely lost in both. -- RyanGibsonStewart (talk) 21:28, 18 December 2007 (EST)
              • My only exposure to regexp comes from my html editor, which uses its own version. I tried to use this to generate a list of characters without a sortname and eventually had to give up.--Hardvice (talk) 22:38, 18 December 2007 (EST)
                • Okay, I'm slowly figuring it out. I'm trying to automate the "Graphic Novels Created" (etc.) sections on crew pages. (This is more for my own edification--if we use it, great. If not, that's fine.) I got it to print the articles I want, but I can't get rid of the crew member's name. Any help? take a look. -- RyanGibsonStewart (talk) 22:49, 18 December 2007 (EST)
                  • The problem is that it's printing the artist's name because that's what include does (you can control the format of the include using secseparators--for example, if you use |secseparators=--, it will add a dash between the title and the artist.) To have it not print the artist, we need to drop the include and use only includematch, and have it match both the artby= and the artist's name (in the example, they want to include the value of the variables in the output, so it's a bit different). Unfortunately, I can't get the regexp to work--we need to includematch "artby", followed by any characters except a pipe, followed by "Jason Badower" (that covers "artby=Jason Badower", "artby = Jason Badower", etc.) (We need the any characters except a pipe to prevent it from matching "Jason Badower" elsewhere in the template or in the article.) Still working at it. Incidentally, the explanation I got this from is here -- evidently, includematch looks for anything on the page, so you don't need to include the variable--that's what's causing it to print).--Hardvice (talk) 23:11, 18 December 2007 (EST)
                    • When I just do just includematch=/Jason Badower/ (without the variable), it does every GN. I can't figure it out, and I don't have any more time to work on it, so I think I'm giving up for tonight. Thanks so much for your help. -- RyanGibsonStewart (talk) 23:22, 18 December 2007 (EST)
                      • It needs to be something like "includematch=/artby[^|]*Jason Badower/" (looks for "artby", followed by one or more of any character except a pipe, followed by "Jason Badower". Only that's not working, either--even with a broken pipe or the pipe template.--Hardvice (talk) 23:26, 18 December 2007 (EST)
                        • I thought it might be that template:Graphic Novel sidebar puts brackets around the variables (so it's [[Jason Badower]], not Jason Badower), but adding brackets to the code doesn't seem to work, either. Hrmph. -- RyanGibsonStewart (talk) 23:38, 18 December 2007 (EST)
                          • Nope, it's actually searching the page text, not the output (i.e. what you see when you edit, not what you see when you go to a page.--Hardvice (talk) 23:42, 18 December 2007 (EST)
                            • Got it ... sort of. Had to feed the variables from graphic novel sidebar to a new template (per DPL's explanation) to control the output. The trouble is, now it's looking for Jason anywhere in the template, since I can't restrict the new template to "artby". So if he colored or wrote a GN, they'd show up in this list, too. If we can get a more precise match in the regexp, we'll be golden.--Hardvice (talk) 23:59, 18 December 2007 (EST)
  • Thanks for fixing up the code for me. I was hoping to design it so it could be used in place of updating the "Graphic Novels Created" sections, but I suppose that it wouldn't work. The two sections on Jason Badower's page would be identical, wouldn't they? And anytime a crew member's name appears on the GN page, it would throw off the list. Oh well. -- RyanGibsonStewart (talk) 00:02, 19 December 2007 (EST)
    • Well, now it's just looking in the infobox. If we can figure out the regular expressions, we can make it look for a match on a specific field. We're getting there.--Hardvice (talk) 00:03, 19 December 2007 (EST)
      • That seems to work. Nicely done! -- RyanGibsonStewart (talk) 00:07, 19 December 2007 (EST)
        • Yup, it's working. I added Jason as a colorist to the latest novel. The dpl statement is not picking it up. Apparently, includematch does require an include, but we can use the fake template trick to override the format of what's included. Once the include was back, the "0 or more non-pipe character" part of the regexp seems to work OK.--Hardvice (talk) 00:09, 19 December 2007 (EST)
        • It does mean adding dpl templates every time we want to include based on a parameter without printing the parameter, but that's a small price to pay.--Hardvice (talk) 00:11, 19 December 2007 (EST)
          • So is this something we'll want to implement? -- RyanGibsonStewart (talk) 00:18, 19 December 2007 (EST)
            • I just added a template so we can see if it works.--Hardvice (talk) 00:20, 19 December 2007 (EST)
            • Looks good. Check out Mark Roslan.--Hardvice (talk) 00:23, 19 December 2007 (EST)
              • Awesome. We should probably do the same thing for episodes. -- RyanGibsonStewart (talk) 00:27, 19 December 2007 (EST)
                • Sorry for hijacking your page...After doing just the first one (Jesse Alexander), it's apparent that we missed two of his credits. Automation ain't so bad! -- RyanGibsonStewart (talk) 00:37, 19 December 2007 (EST)
                  • Before we get too far, it's probably possible to have it do all four sections and test to see whether there are any matches. Would that be worth doing?--Hardvice (talk) 00:39, 19 December 2007 (EST)
                    • Yes, definitely. But I really need to get to bed. Incidentally, before automation, we also forgot to credit Harrison Wilcox for Molly's Dream. One small problem is that the few Edgar at Studio F links will have to be piped. No biggie. -- RyanGibsonStewart (talk) 00:54, 19 December 2007 (EST)
                      • Pipes are fine, as long as there aren't more than one creator of the same type with a pipe (c.f. Wireless, Part 3) or as long as the piped guy is listed last. Incidentally, if you'd like to have a crack at doing the episode version (in order to get some DPL practice), I'll leave it.--Hardvice (talk) 00:59, 19 December 2007 (EST)

In place of added templates

In case you think the fake templates are not worth it, there is another way around it: use string substitution. I did the second example you worked on here.--MiamiVolts (talk) 00:51, 19 December 2007 (EST)

  • Of course, if you're going to use it in templates, you'll need to test for the string length of PAGENAME, right? We're not actually going to hard-code it for each page. The template approach DPL uses is just as easy, and probably more flexible in the long run.--Hardvice (talk) 00:53, 19 December 2007 (EST)
    • No, you don't need to test for string length, you only need to know the length of the string you are searching. The 'sub' function allows you to use negative indexes to trim off the end of a string and no length to trim off only the beginning of a string. So theoretically, you can create one template say 'Template:DPLIncludeSearch' with variables 'result' and 'search', and call that template for each result, substituting out the search term. Doesn't that make more sense than to create a new template for every search?--MiamiVolts (talk) 01:00, 19 December 2007 (EST)
      • It really depends. Truncating it is probably fine in this case. However, having complete control over the included layout is pretty awesome in some cases--it certainly can help with the autoportals. Instead of having to worry about the secseparators and such, we can just have the DPL template create the cell using any/all of the fields in the infobox we like.--Hardvice (talk) 01:29, 19 December 2007 (EST)
        • That's true, and you can always add an extra template to have more control where needed, but this implementation will really cut down on the # of templates made, and would be a good place to store most of the added functionality you are talking about. I'm working on another example now.--MiamiVolts (talk) 01:38, 19 December 2007 (EST)
          • Ok, I made an example and you can see it here. Another advantage is that the substitution only occurs once, whereas you need to call your template multiple times, and thus waste ticks.--MiamiVolts (talk) 02:00, 19 December 2007 (EST)
            • Looks good. You wanna try rolling it into Template:NovelsCreated?--Hardvice (talk) 02:02, 19 December 2007 (EST)
              • Ok, will roll it in now.--MiamiVolts (talk) 02:07, 19 December 2007 (EST)
              • It appears to be working! :)--MiamiVolts (talk) 02:41, 19 December 2007 (EST)
                • No, something is definitely not right. A random sampling of graphic novel writers shows several problems which may or may not be easily fixed. Steven T. Seagle's page shows Duncan's name three times, doesn't show proper bulleting, and half the section looks like it was written with <pre> tags. D.J. Doyle's page has his name in bold at the bottom and the GN titles are not italicized. Mark Warshaw's page is showing excessive whitespace and the GN titles are not italicized. Jason Badower's page is showing a lot of whitespace. Yule Caise's single GN is not italicized. Jesse Alexander's page is showing Aron Coleite's name twice, none of the titles are italicized, and the formatting for two of the GNs is really wrong. Aron Coleite's page is just showing a big ol' red link to Template:DPLSearch. Something needs to change. -- RyanGibsonStewart (talk) 06:25, 19 December 2007 (EST)
                  • I'll roll it back to the template version for now.--Hardvice (talk) 12:46, 19 December 2007 (EST)

Kindle

  • By the way, if you click on any of the Amazon links here before purchasing any Kindle books (or another Kindle itself) then Amazon offers relatively high margins for the referer on those purchases. Though I'm pretty sure Kindle lets you purchase books directly from the device itself, so don't go through any trouble unless you happen to be on Amazon's site in the first place. :) (Admin 02:32, 9 January 2008 (EST))

Template favor

  • Hello Hardvice. I see that you know how to make templates and I was wondering if you could help me make some for my new Watchmen Wiki. Thanks in advance. (Citizen 23:38, 13 January 2008 (EST))

Calendar images

Hey there. Do you mind adding a calendar image of some sort to Template:Portal2008? Thanks! -- RyanGibsonStewart (talk) 17:19, 15 January 2008 (EST)

  • I'll take care of it. Lost track of time, got work in a half hour. All yours, Dave. --Bob (talk) 17:24, 15 January 2008 (EST)
    • I don't mind taking care of it, I just don't have the matching calendar images. I could flub one of the others, but I don't think I could get it to look "just right". :) -- RyanGibsonStewart (talk) 19:00, 15 January 2008 (EST)
      • I really ought to upload a blank one, huh? I'll do this tonight.--Hardvice (talk) 18:00, 7 February 2008 (EST)

crewnav

When you get a minute, will you be so kind as to update the See Also section of template:crewnav with links to Portal:Heroes Evolutions Crew? Thanks! -- RyanGibsonStewart (talk) 16:14, 20 January 2008 (EST)

  • Sure. But ugh. Maybe late tonight.--Hardvice (talk) 17:59, 7 February 2008 (EST)
    • No rush (obviously). If you want to show me how to do it, I'll take care of it from here on in. You know, teach a man to fish... -- RyanGibsonStewart (talk) 18:01, 7 February 2008 (EST)
      • I'd like to make sure there's no better way to do it -- maybe it can be automated since DPL has a lot of "not" options. That would definitely be more future friendly.--Hardvice (talk) 18:04, 7 February 2008 (EST)