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:Characternav: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Ryangibsonstewart add season-specific character categories |
imported>Ryangibsonstewart fixing code for categories |
||
| Line 47: | Line 47: | ||
| #default = [[Portal:Minor Characters/Season One|Minor Characters]] • [[Season Two Characters]] • [[Season Three Characters]] • [[Portal:Future Characters|Future Characters]] • [[Portal:Animals|Animals]] • [[Portal:Webisodes Characters|Webisodes Characters]] • [[Portal:Graphic Novel Characters|Graphic Novel Characters]] • [[Portal:Evolutions Characters|Evolutions Characters]] • [[Portal:Unaired Characters|Unaired Characters]] • [[Portal:Cast|Cast]] |
| #default = [[Portal:Minor Characters/Season One|Minor Characters]] • [[Season Two Characters]] • [[Season Three Characters]] • [[Portal:Future Characters|Future Characters]] • [[Portal:Animals|Animals]] • [[Portal:Webisodes Characters|Webisodes Characters]] • [[Portal:Graphic Novel Characters|Graphic Novel Characters]] • [[Portal:Evolutions Characters|Evolutions Characters]] • [[Portal:Unaired Characters|Unaired Characters]] • [[Portal:Cast|Cast]] |
||
}} |
}} |
||
|}<includeonly>{{#if: {{{future|}}} | | {{#if: {{{animals|}}} | | {{#if: {{{unaired|}}} | | |
|}<includeonly>{{#if: {{{future|}}} | | {{#if: {{{animals|}}} | | {{#if: {{{unaired|}}} | | |
||
{{nousercat|{{#switch: {{{season}}} |
|||
| one = Season One |
|||
| main = {{nousercat|{{ucfirst:{{{season}}}}} Main Characters}} |
|||
| 1 = Season One |
|||
| ⚫ | |||
| two = Season Two |
|||
| ⚫ | |||
| 2 = Season Two |
|||
| ⚫ | |||
| three = Season Three |
|||
| ⚫ | |||
| 3 = Season Three |
|||
| ⚫ | |||
| webisode = |
| webisode = Webisodes |
||
| |
| webisodes = Webisodes |
||
| #default = Season One |
|||
| ⚫ | |||
}}{{#switch: {{{type}}} |
|||
| Main = Main Characters |
|||
| main = Main Characters |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| webisode = Characters |
|||
| Webisodes = Characters |
|||
| ⚫ | |||
| none = |
| none = |
||
| None = |
| None = |
||
| #default = {{#ifeq:{{NAMESPACE}}|Spoiler|| |
| #default = {{#ifeq:{{NAMESPACE}}|Spoiler||Minor Characters}}}}}}}}}}}}</includeonly><noinclude> |
||
== Usage == |
== Usage == |
||
Revision as of 03:56, 23 November 2008
Usage
Adds a navbar to the bottom of character pages.
Add new Season One characters on template:characterseason1(edit), Season Two characters on Template:characterseason2(edit), Season Three characters on Template:characterseason3(edit), future characters on Template:future(edit), Animals on Template:animals(edit), webisodes characters on Template:webisode(edit), Unaired Characters on Template:unaired(edit).
{{characternav
|season=<!--Latest season in which character has appeared (one, two, 1, 2, webisode)-->
|future=<!--anything if true-->
|animals=<!--anything if true-->
|unaired=<!--anything if true-->
|type=<!--Character type (Main, Recurring, Minor, Webisode)-->
}}
Will auto-clear sidebars on short articles. |