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.

Template talk:Infobox cast

From Heroes Wiki
Jump to navigation Jump to search

Usage

Blank Infobox for easy copying and pasting.

{{Infobox cast|
| Name=
| Image=
| ImageCaption=
| DOB=
| birthplace=
| character=
| website=
| imdb_id=
}}


Parameter Explanation
Name The actor or actress' full name.
Image An image relevant to the actor or actress. It will be automatically resized.
ImageCaption A caption explaining the image.
DOB Date of birth.
birthplace Place of birth.
character The Heroes character portrayed by the actor or actress.
website Official website. Use http://
imdb_id The actor or actresses ID on IMDb. The seven digit number that appears after "name/nm" in the URL. For example, 0015382.

Noimage template

  • The only problem with changing to the template is that it will put two of them if the user adds one manually. Assigning the category twice doesn't cause any problems.--Hardvice (talk) 15:25, 1 December 2006 (EST)

Fun Fact

trivia: The IMDb id 0015382 belongs to Adewale Akinnuoye-Agbaje. :) Heroe!(talk) (contribs) Random Page! 15:17, 6 May 2007 (EDT)

Default sort

  • We haven't implemented {{DEFAULTSORT}} on this portal yet. Should we? What effect will that have on the other templates? I think we can simplify the stub and nocastimage templates, which use inordinately complicated subtemplates to achieve an inferior version of the same result.--Hardvice (talk) 00:50, 8 October 2007 (EDT)
    • Could you explain your plan for using DEFAULTSORT? I'm having trouble seeing how it would help if applied to a portal or template, though if applied to the original articles in the category (like Claire Bennet, Matt Parkman, etc.) then I could see it being useful. (Admin 01:04, 8 October 2007 (EDT))
      • With the characterbox, we added a sort variable to the template and allowed it to apply the defaultsort ({{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}. This meant that other templates which added cats (like the navbar) automatically picked up the defaultsort. If we did the same thing here, things like the caststub and nocastimage templates wouldn't have to use convoluted logic (or their own sort variable) to be sorted properly. It's no big deal (and Ryan's right--it's probably more work than it is worth), but it bears mentioning since we're doing it for characters but not actors.--Hardvice (talk) 01:15, 8 October 2007 (EDT)
        • Hmm... interesting. So it wouldn't require going through a ton of articles, just one per template, right? (edit: oh, we're not using a sort variable on cast yet. Ok, I see.) (Admin 01:20, 8 October 2007 (EDT))
          • You're itching to use that bot, aren't you? If it helps, you probably could. 90% of the cast has two names; the homemade defaultsort looks for the first space in PAGENAME, and then creates substrings, flipping the order of the two parts. It works for most people. Unfortunately, you get things like "Kyson Lee, James" and "Allan Stewart, Mark". But if you did add the variable with a bot, we could just clean up the odd ones by hand.--Hardvice (talk) 01:30, 8 October 2007 (EDT)
    • I don't think going through close to 200 articles and adding a sort variable would be worth it for the one, two, or three categories that are on the cast pages. I'm not opposed to it, I just don't think it's worth it, personally. -- RyanGibsonStewart (talk) 01:08, 8 October 2007 (EDT)
      • I'd say that if we decide to use it then we could always leave the current categories as they are for now and just implement new categories using DEFAULTSORT. That way we only have to modify articles we're already adding a new category to. Granted doing it this way might make the upfront work easier, but may make adding new categories to articles trickier since we'd have to remember to add the DEFAULTSORT to each one the first time. (Admin 01:12, 8 October 2007 (EDT))
        • I see the point in consistency with the character box (even though characters could have numerous categories (Linderman has 10!) and actors only have a select few). I guess I'm thinking that if we make the change, we'd have to make the change for all the actor pages (and crew pages, while we're at it). I'm remembering when I went through every character page and added a sort for every character that needed one. I suppose we don't need to go through every page, but could just do the handful which need it, like the ones that are stubs or need portraits. And it certainly wouldn't hurt to have a sort variable as an option. -- RyanGibsonStewart (talk) 01:21, 8 October 2007 (EDT)
          • That's what I'm thinking. It might be beneficial down the line, but right now it's a lot of work for not much gain. Plus, I really am kind of proud that I made my own fake DEFAULTSORT using parserfunctions. :) --Hardvice (talk) 01:27, 8 October 2007 (EDT)
            • This summer when you were in limbo, I discovered the genius of that template. It took me awhile to understand it, but studying it really increased my knowledge of how the functions work. Belated congratulations on a nice job. -- RyanGibsonStewart (talk) 01:35, 8 October 2007 (EDT)
              • Thanks. Incidentally, it's the template that taught me why PAGENAMEE exists (since you can't match a space, but you can match an underscore).--Hardvice (talk) 01:44, 8 October 2007 (EDT)

Wikipedia Link

Could we add a link to the wikipedia article for the cast member in the infobox? --Pinkkeith 13:49, 8 August 2008 (EDT)

  • I wouldn't mind that...but keep in mind that a lot of the pages already have a WP link in the External Links section. Would we also put a WP link for crew members? If so, some of them already have three external links in the infobox, and fourth would get clunky. It's not a bad idea, I just want to generate some discussion before we go about it willy nilly. -- RyanGibsonStewart (talk) 11:35, 9 August 2008 (EDT)
    • Cast/crew/characters are directly Heroes-related so really there shouldn't be a Wikipedia link at all. We should have the same information incorporated here (though not actually copied from there). If our article is smaller then it means we need to beef up the article rather than just linking to Wikipedia. Wikipedia links belong on articles like, for example, Heroin where the bulk of the information about the drug is not really pertinent to Heroes. On cast/crew/character articles, however, all of their information is pertinent. The articles should ideally have so much information that Wikipedia should link to our article rather than the other way around. In fact, our articles can actually be better than Wikipedia's because their policies discard valuable information directly from the cast/crew themselves. (Admin 11:42, 9 August 2008 (EDT))