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: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Admin No edit summary |
imported>Admin |
||
| Line 56: | Line 56: | ||
** 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. ([[User:Admin|Admin]] 01:04, 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. ([[User:Admin|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 (<nowiki>{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}</nowiki>. 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.--[[User:Hardvice|Hardvice]] <small>[[User talk:Hardvice|(talk)]]</small> 01:15, 8 October 2007 (EDT) |
*** With the characterbox, we added a sort variable to the template and allowed it to apply the defaultsort (<nowiki>{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}</nowiki>. 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.--[[User:Hardvice|Hardvice]] <small>[[User talk:Hardvice|(talk)]]</small> 01:15, 8 October 2007 (EDT) |
||
**** Hmm... interesting. So it wouldn't require going through a ton of articles, just one per template, right? ([[User:Admin|Admin]] 01:20, 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.) ([[User:Admin|Admin]] 01:20, 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. -- {{User:Ryangibsonstewart/sig}} 01:08, 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. -- {{User:Ryangibsonstewart/sig}} 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. ([[User:Admin|Admin]] 01:12, 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. ([[User:Admin|Admin]] 01:12, 8 October 2007 (EDT)) |
||
Revision as of 05:21, 8 October 2007
Usage
Blank Infobox for easy copying and pasting.
{{Infobox cast|
| Name=
| Image=
| ImageCaption=
| DOB=
| birthplace=
| character=
| website=
| imdb_id=
}}
Noimage template
Fun Facttrivia: The IMDb id 0015382 belongs to Adewale Akinnuoye-Agbaje. :) Heroe!(talk) (contribs) Random Page! 15:17, 6 May 2007 (EDT) Default sort
|