Template talk:Crewnav

From Heroes Wiki
Jump to: navigation, search

Split Template

  • This template has always kind of bugged me (and yes, I know I made it). It's freaking huge. What do y'all think about splitting it? I can imagine a couple options: 1) Just move the graphic novel people to their own template or 2) Make separate series bars for directors, writers, producers, and artists. Option #1 doesn't save much space, but would be easy to use. Option #2 is probably clearer, but a lot of people would have two or more bars. Of course, there's always option #3: steal Lostpedia's two-column version, which looks less cluttered.--Hardvice (talk) 13:47, 5 December 2006 (EST)

Variable crew bar

Good job on the variables, it works great, can the graphic novel crew bar, be merged with this? -Lөvөl 13:46, 16 May 2007 (EDT)

  • Ah, yes. See the equally behomoth post below. :) — RyanGibsonStewart (talk) 13:47, 16 May 2007 (EDT)

New variables

Okay, this behemoth was just getting way too out of hand, and we're not even done with the first season. Granted, there won't be too many new faces in the crew in the coming seasons, but I don't think I'm alone in feeling the bar was approaching becoming taller than it is wide.

Cut to the chase--if a crew member is added, their "job" should be added (art=true or director=true, for example). Multiple hats can be added (see Tim Kring). The word that is added does not have to be "true"--you can add "monkey butts" and it will still work. I used the word "true" on all the others, though, just for consistency. Hopefully that gives us some wiggle room if we need to change anything down the line.

New crew members should not be added to this page, they should be added to template:art, template:director, template:writer, template:producer, or template:other.

Essentially, we can even incorporate the GN bar into this bar if we wanted. It would certainly clean up guys like Chuck Kim and Mark Warshaw who work on the episodes and the GNs. The guys (and gals) that are just GN-workers (Jason Badower, Peter Steigerwald, etc.) can stay as they are. Those that are both can have one bar. If this is something we want, it would just take a little finagling. If we like the separate bars, that's fine too. Personally, I'd opt for one slightly larger bar (it'd only be a handful of GN writers that would have an extra row that says "Graphic Novel Writers").

And there you have it. — RyanGibsonStewart (talk) 13:46, 16 May 2007 (EDT)

  • This is pretty fantastic. I actually think we should use this in place of GNcrew as well, even on GN-only folks. Take a look at Jason Badower for a what it would look like on GN-only crew.--Hardvice (talk) 17:33, 16 May 2007 (EDT)
    • It works, doesn't it? Yeah, I agree--a good merge would be just fine. — RyanGibsonStewart (talk) 19:19, 16 May 2007 (EDT)

GN templates

Hey, Level. Good job on the GN templates. You mentioned in the usage that they were for the template:crewnav--do you plan to put them into the episode crew templates, or did you just mean to put template:gncrew instead? — RyanGibsonStewart (talk) 14:31, 16 May 2007 (EDT)

  • Actually both, I am working on template:crewnav right now, I just forgot to add template:gncrew when I copied it. -Lөvөl 14:35, 16 May 2007 (EDT)
    • I'm not sure you need the gnbar in the middle of the crewnav bar--it looks a little odd. Plus, if it says row heading says "Graphic Novel Writers", then it seems a bit redundant, you know? One other issue: You've got an extra bullet after Graphic Novel Colorists in the See Also section. I don't have a code-ified way to get rid of this, but there's an easy solution: since there are no GN colorists who work on the episodes, you can just take off the bullet, and we won't have to worry about it ... until Annette Kwok starts directing in Season Two. :) — RyanGibsonStewart (talk) 15:37, 16 May 2007 (EDT)
      • Is that better? If someone can think of a way to not need the gncrew variable it would be nice. -Lөvөl 15:54, 16 May 2007 (EDT)
        • You can nest ifeq: statements and have it test gnwriter, gnart, and gncolor sequentially. Since the statements are nested, it would stop after it matches any of the three, and only produce the bar reflexes once.--Hardvice (talk) 16:15, 16 May 2007 (EDT)
          • I think this ought to do it:

{{#if: {{{gnart|}}} | {{#if: {{{gncolor|}}} | {{#if: {{{gnwriter|}}} | | [[Portal:Graphic Novel Writers|Graphic Novel Writers]]}} | {{#if: {{{gnwriter|}}} | [[Portal:Graphic Novel Colorists|Graphic Novel Colorists]] | [[Portal:Graphic Novel Colorists|Graphic Novel Colorists]] • [[Portal:Graphic Novel Writers|Graphic Novel Writers]]}}}} | {{#if: {{{gncolor|}}} | {{#if: {{{gnwriter|}}} | [[Portal:Graphic Novel Artists|Graphic Novel Artists]] | [[Portal:Graphic Novel Artists|Graphic Novel Artists]] • [[Portal:Graphic Novel Writers|Graphic Novel Writers]]}} | {{#if: {{{gnwriter|}}} | [[Portal:Graphic Novel Artists|Graphic Novel Artists]] • [[Portal:Graphic Novel Colorists|Graphic Novel Colorists]] | [[:Portal:Graphic Novel Crew|Graphic Novel Crew]]}}}}}}

  1. If a person is a GN artist, writer, and colorist, it print nothing.
  2. If a person is not a GN crew member, it links to Portal:GN Crew
  3. If a person is a GN artist, writer, and/or colorist (but not all three), it links to the portal(s) of which they aren't a member.--Hardvice (talk) 16:53, 16 May 2007 (EDT)
  • If we can have a similar thing for the regular crew links and something for the title this could replace template:gncrew aswell. -Lөvөl 17:36, 16 May 2007 (EDT)
    • I actually think we ought to merge Series Crew and GN Crew under Crew. It's just one more unnecessary step in the portal. In any case, as for the title, I changed it to link to Portal:Crew, which fits better in the case of someone who does both GN work and series work. We can definitely do the same thing with the series crew departments ... it'll just be more complicated since there are more portals.--Hardvice (talk) 17:44, 16 May 2007 (EDT)
      • OK, should be working now: if a person is not a part of the series crew, See Also links to Portal:Series Crew (see Jason Badower). If they are a part of the series crew, See Also links to the portals they don't belong to (see Aron Coleite (also GN) or Greg Beeman (no GN). In the unlikely event that somebody is a Director, Producer, Writer, Art Department staffer, and Other crewmember, nothing prints in See Also (except GN stuff). If somebody is all of those things, and a GN writer, colorist, and artist, then we're in trouble: "See Also:" will print, but no links will appear. It's possible to prevent this, but it's currently so unlikely that it's not worth the effort.--Hardvice (talk) 18:40, 16 May 2007 (EDT)
      • I should also add that new portals will be a bit of a pain. Currently, the Series Crew has 32 possible combinations of See Also links and the graphic novel crew has 8 possible combinations. Another series crew portal would yield 64 possible combinations. I'm frankly amazed I did 32 without breaking anything.--Hardvice (talk) 18:45, 16 May 2007 (EDT)
        • So the next big problem will be when Masi Oka directs an episode, and does special effects. ;) -Lөvөl 00:58, 17 May 2007 (EDT)
        • Well, I added an effects department portal. Hardvice is right, it is a pain to add another combination. I mean, it's possible, but I've been sitting here for the last hour and a half trying to figure it out, and I think I'm only about a quarter of the way through, tops. I kind of plan on adding other portals (perhaps makeup department, assistants), and then we'll get really messed up. My suggestion is to screw the logic and just go with a plain old See Also list. It means that it will say "See Also: Writers" on writers pages, but I don't think that will matter too much since it's part of a complete list. Is anybody opposed? -- RyanGibsonStewart (talk) 02:27, 20 June 2007 (EDT)

Adding Effects & Stunts to See Also logic

  • Well, it's done, but I think there's a problem with the braces somewhere. I don't have time to track it down ATM, but if anybody wants to give it a go, it's here. Otherwise, I'll get to it next time I have an hour or so of uninterrupted computer time (hopefully tonight).--Hardvice (talk) 20:41, 18 September 2007 (EDT)
    • Thanks Hardvice. I won't be able to get to it anytime soon, but if you can't get around to it before this weekend, I should be able to help out. Mucho grassy-ass for all that work! -- RyanGibsonStewart (talk) 21:11, 18 September 2007 (EDT)
      • Hot damn, that actually worked. I have this down to a science now, so next time should be much, much easier. It's all about liberal use of find & replace.--Hardvice (talk) 02:50, 19 September 2007 (EDT)


Simplified See Also logic

It should be much easier to add new portals for series or GN crew now, and the template's not so gawdawful huge anymore. One thing to be sure of when you add a new portal is to increment the switch logic. Fo example, here's the series crew section as it stands:

{{#switch: {{#expr: ({{#if:{{{art|}}}|1|0}} + {{#if:{{{director|}}}|1|0}} + {{#if:{{{FX|}}}|1|0}} + {{#if:{{{evolutionscrew|}}}|1|0}} + {{#if:{{{producer|}}}|1|0}} + {{#if:{{{stunts|}}}|1|0}} + {{#if:{{{writer|}}}|1|0}} + {{#if:{{{other|}}}|1|0}})}} | 0 = [[Portal:Series Crew|Series Crew]]{{sep}} | 8 = | #default= {{#if: {{{art|}}}| |[[Portal:Art Department|Art Department]]{{sep}}}}{{#if:{{{director|}}}| |[[Portal:Directors|Directors]]{{sep}}}}{{#if:{{{FX|}}}| |[[Portal:Effects Department|Effects Department]]{{sep}}}}{{#if:{{{evolutionscrew|}}}| |[[Portal:Heroes Evolutions Crew|Heroes Evolutions Crew]]{{sep}}}}{{#if:{{{producer|}}}| |[[Portal:Producers|Producers]]{{sep}}}}{{#if:{{{stunts|}}}| |[[Portal:Stunts|Stunt Department]]{{sep}}}}{{#if:{{{writer|}}}| |[[Portal:Writers]]{{sep}}}}{{#if:{{{other|}}}| |[[Portal:Other|Other Crew Members]]{{sep}}}}}}

And here's the changes needed to add Portal:Dog Walkers:

{{#switch: {{#expr: ({{#if:{{{art|}}}|1|0}} + {{#if:{{{director|}}}|1|0}} + {{#if:{{{dogwalkers|}}}|1|0}} + {{#if:{{{FX|}}}|1|0}} + {{#if:{{{evolutionscrew|}}}|1|0}} + {{#if:{{{producer|}}}|1|0}} + {{#if:{{{stunts|}}}|1|0}} + {{#if:{{{writer|}}}|1|0}} + {{#if:{{{other|}}}|1|0}})}} | 0 = [[Portal:Series Crew|Series Crew]]{{sep}} | 9 = | #default= {{#if: {{{art|}}}| |[[Portal:Art Department|Art Department]]{{sep}}}}{{#if:{{{director|}}}| |[[Portal:Directors|Directors]]{{sep}}}}{{#if:{{{dogwalkers|}}}| |[[Portal:Dog Walkers|Dog Walkers]]{{sep}}}}{{#if:{{{FX|}}}| |[[Portal:Effects Department|Effects Department]]{{sep}}}}{{#if:{{{evolutionscrew|}}}| |[[Portal:Heroes Evolutions Crew|Heroes Evolutions Crew]]{{sep}}}}{{#if:{{{producer|}}}| |[[Portal:Producers|Producers]]{{sep}}}}{{#if:{{{stunts|}}}| |[[Portal:Stunts|Stunt Department]]{{sep}}}}{{#if:{{{writer|}}}| |[[Portal:Writers]]{{sep}}}}{{#if:{{{other|}}}| |[[Portal:Other|Other Crew Members]]{{sep}}}}}} --Hardvice (talk) 15:27, 9 February 2008 (EST)

  • You rock! I plan on adding more portals eventually...I'm working with Anthony Miner to pull together some hair/makeup bios, and I think we should eventually look at breaking up Portal:Other (maybe move out assistants?)...but this all seems much easier to manage than before. Awesome! -- RyanGibsonStewart (talk) 16:00, 9 February 2008 (EST)
    • It helped to re-think it as three tasks: print nothing if they're in every portal, print the main portal if they're in no portals, or print the portals they're not in if they are in at least one but less than all portals. The switch accomplishes that (which is why we have to "count" how many jobs they have and compare against the maximum number of jobs). It still looks a bit tangled, though.--Hardvice (talk) 18:31, 9 February 2008 (EST)
      • Sure, it's not the easiest thing in the world to understand, but it's like going from rocket science to high school biology. It's doable. -- RyanGibsonStewart (talk) 19:37, 9 February 2008 (EST)
  • That wasn't nearly as difficult as I thought it would be! -- RyanGibsonStewart (talk) 22:26, 21 February 2008 (EST)