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:PortalCat

From Heroes Wiki
Jump to navigation Jump to search

How do I remove the fake namespace from the pagename? -Lөvөl 13:59, 19 August 2015 (EDT)

  • {{#if: {{#pos: {{PAGENAME}} | Portal }} | {{#sub: {{PAGENAME}} | 7 }} }}
    Is that what you're looking for? -- RyanGibsonStewart (talk) 15:20, 19 August 2015 (EDT)
  • Yes, thanks. I have frequently wanted to get to the portals from the categories but there was no easy way. I put it on Portal:Abilities to test, what do you think? -Lөvөl 18:21, 19 August 2015 (EDT)
    • I like it. Make it a "real" template in the Template namespace, and implement it. Looks great! A few notes: I would make it center automatically on the template itself. I would also make it say "Show Abilities Category" rather than just "Show Category". And you'll need to figure out a standard spot to put it in each portal page. Doesn't matter to me where, so long as it's consistent. :) Also, there are a ton of portals. You might find that some of the category pagenames don't match the portal pagenames. Just create a redirect if needed. -- RyanGibsonStewart (talk) 18:51, 19 August 2015 (EDT)
      • Hmm, looks like it will be interesting trying to be consistent as the portals themselves are inconsistent. -Lөvөl 12:12, 20 August 2015 (EDT)
        • First, great job! I like the capitalized "Category" mostly because the portals and categories are named with title caps -- for instance, it's Portal:Graphic Novel Characters and Category:Graphic Novel Characters (not Category:graphic novel characters or Portal:graphic novel characters) so it makes more sense to have this template print "Display Graphic Novel Characters Category" rather than "Display Graphic Novel Characters category". Second, I like your placement of the template on each portal -- good choice. Third, what inconsistencies are you finding? Just curious if there's a reason for the inconsistencies, or if it's something we need to fix... -- RyanGibsonStewart (talk) 21:28, 20 August 2015 (EDT)
          • Some categories include the "See Also", while others do not, then the ones for Characters are completely different, and Cast and Crew have no base category. There is also a problem with capitalization with iStory categories that needs to be fixed. -Lөvөl 03:40, 21 August 2015 (EDT)
            • I created a quick redirect for the iStory capitalization issue. Not sure if that's the best solution, but it's a quick fix. Not sure what to say about the other inconsistencies -- do we want to explore making them all the same, or are we okay with having some differences in the portals based on the type of portal it is? ... -- RyanGibsonStewart (talk) 11:15, 21 August 2015 (EDT)