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.
User:Level/Characternav: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Level test |
imported>Level + Minor |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 6: | Line 6: | ||
| width="10%" | |
| width="10%" | |
||
| width="80%" | '''[[:Portal:Characters|Characters]]''' |
| width="80%" | '''[[:Portal:Characters|Characters]]''' |
||
| width="10%" style="text-align:right" | <span class="plainlinks" style="font-size:10px"> [{{SERVER}}/index.php?title= |
| width="10%" style="text-align:right" | <span class="plainlinks" style="font-size:10px"> [{{SERVER}}/index.php?title={{#switch:{{{season|}}}|two=template:characterseason2|2=template:characterseason2|one=template:characterseason1|1=template:characterseason1|template:characterseason1}}&action=edit edit]</span> |
||
|} |
|} |
||
{{#switch: {{{season}}} |
|||
| ⚫ | |||
| one = {{characterseason1}} |
|||
| 1 = {{characterseason1}} |
|||
| two = {{characterseason2}} |
|||
| 2 = {{characterseason2}} |
|||
| #default = {{characterseason1}} |
|||
| ⚫ | |||
|- |
|- |
||
{{ #if: {{{ |
{{ #if: {{{future|}}} | {{future}} }} |
||
|- |
|- |
||
| ⚫ | |||
|- style="font-size:11px;" |
|||
| width="auto" style ="background-color:#CCD5F4; text-align: center;"| ''[[Portal:Supporting Characters|Supporting]]'' || style=" background-color:#ebebff; text-align: left;" | |
|||
[[Sandra Bennet]] • |
|||
''[[Hana Gitelman]]'' • |
|||
[[The Haitian]] • |
|||
[[Audrey Hanson]] • |
|||
''[[Mr. Linderman]]'' • |
|||
[[Ando Masahashi]] • |
|||
''[[Eden McCain]]'' • |
|||
[[Janice Parkman]] • |
|||
[[Angela Petrelli]] • |
|||
[[Claude Rains]] • |
|||
''[[Theodore Sprague]]'' • |
|||
''[[Chandra Suresh]]'' • |
|||
[[Sylar]] • |
|||
''[[Mr. Thompson]]'' • |
|||
[[Candice Willmer]] • |
|||
[[Zach]] |
|||
|- style="font-size:11px; background-color:#ebebff; -moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px;" |
|||
| width="auto" style = "background-color:#CCD5F4; text-align: center;" | ''[[Portal:Recurring Characters|Recurring]]'' || style=" background-color:#ebebff; text-align: left; " | |
|||
''[[Charlie Andrews]]'' • |
|||
[[Lyle Bennet]] • |
|||
''[[Charles Deveaux]]'' • |
|||
[[Meredith Gordon]] • |
|||
[[Sanjog Iyer]] • |
|||
[[Brody Mitchum]] • |
|||
[[Kaito Nakamura]] • |
|||
[[Heidi Petrelli]] • |
|||
[[Tina]] • |
|||
[[Molly Walker]] • |
|||
''[[Jackie Wilcox]]'' |
|||
|- |
|- |
||
{{ #if: {{{ |
{{ #if: {{{unaired|}}} | {{unaired}} }} |
||
|- |
|- |
||
| colspan="2" style="background-color:#CCD5F4; text-align: center; -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; font-size:9px;" | ''See Also'': |
| colspan="2" style="background-color:#CCD5F4; text-align: center; -moz-border-radius-bottomleft:10px; -moz-border-radius-bottomright:10px; font-size:9px;" | ''See Also'': {{#switch: {{{season|}}} |
||
| two = [[Season One Characters]] • [[Portal:Minor Characters|Minor Characters]] |
|||
|} |
|||
| 2 = [[Season One Characters]] • [[Portal:Minor Characters|Minor Characters]] |
|||
| one = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] |
|||
| 1 = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] |
|||
| #default = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]]}} • {{ #if: {{{future|}}} | |[[Portal:Future Characters|Future Characters]] • }}[[Portal:Graphic Novel Characters|Graphic Novel Characters]] • [[Portal:Groups|Groups]] • {{ #if: {{{animals|}}} | |[[Portal:Animals|Animals]] • }}{{ #if: {{{unaired|}}} | |[[Portal:Unaired Characters|Unaired Characters]] • }}[[Portal:Cast|Cast]] |
|||
|}<includeonly>{{#if: {{{future|}}} | | {{#if: {{{animals|}}} | | {{#if: {{{unaired|}}} | | {{#switch: {{{type1}}} |
|||
| Main = {{nousercat|Main Characters/Season One}} |
|||
| main = {{nousercat|Main Characters/Season One}} |
|||
| Supporting = {{nousercat|Supporting Characters/Season One}} |
|||
| supporting = {{nousercat|Supporting Characters/Season One}} |
|||
| Recurring = {{nousercat|Recurring Characters/Season One}} |
|||
| recurring = {{nousercat|Recurring Characters/Season One}} |
|||
| Minor = {{nousercat|Minor Characters/Season One}} |
|||
| minor = {{nousercat|Minor Characters/Season One}} |
|||
| none = |
|||
| None = |
|||
| #default = {{#ifeq:{{NAMESPACE}}|Spoiler||{{nousercat|Minor Characters/Season One}}}}}}}}}}}} |
|||
{{#if: {{{future|}}} | | {{#if: {{{animals|}}} | | {{#if: {{{unaired|}}} | | {{#switch: {{{type2}}} |
|||
| Main = {{nousercat|Main Characters}} |
|||
| main = {{nousercat|Main Characters}} |
|||
| Supporting = {{nousercat|Supporting Characters}} |
|||
| supporting = {{nousercat|Supporting Characters}} |
|||
| Recurring = {{nousercat|Recurring Characters}} |
|||
| recurring = {{nousercat|Recurring Characters}} |
|||
| Minor = {{nousercat|Minor Characters}} |
|||
| minor = {{nousercat|Minor Characters}} |
|||
| none = |
|||
| None = |
|||
| #default = }} }} }} }}</includeonly> |
|||
<noinclude> |
<noinclude> |
||
== Usage == |
== Usage == |
||
Adds a navbar to the bottom of [[Portal:Characters|character]] pages. Add new [[Season One]] [[Portal:Characters/Season One|characters]] on [[template:characterseason1]]([{{SERVER}}/index.php?title=template:characterseason1&action=edit edit]), [[Portal:Future Characters|future characters]] on [[Template:future]]([{{SERVER}}/index.php?title=Template:future&action=edit edit]), [[Portal:Animals|Animals]] on [[Template:animals]]([{{SERVER}}/index.php?title=Template:animals&action=edit edit]), [[Season Two]] [[Portal:Characters|characters]] on [[Template:characterseason2]]([{{SERVER}}/index.php?title=Template:characterseason2&action=edit edit]), [[Portal:Unaired Characters|Unaired Characters]] on [[Template:unaired]]([{{SERVER}}/index.php?title=Template:unaired&action=edit edit]). |
|||
Adds a navbar to the bottom of [[Portal:Characters|character]] pages. Add new [[Portal:Future Characters|future characters]] on [[Template:Future]]. |
|||
{| style="background: transparent;" |
{| style="background: transparent;" |
||
|<pre>{{ |
|<pre>{{characternav |
||
|season=<!--Latest season in which character has appeared (one, two, 1, 2)--> |
|||
| ⚫ | |||
| ⚫ | |||
|future=<!--anything if true--> |
|future=<!--anything if true--> |
||
| ⚫ | |||
| ⚫ | |||
|type1=<!--Character type (Main, Supporting, Recurring, Minor--> |
|||
|type2=<!--Character type (Main, Supporting, Recurring, Minor--> |
|||
}}</pre> |
}}</pre> |
||
Will auto-clear sidebars on short articles. |
Will auto-clear sidebars on short articles. |
||
{{User:Level/characternav |
|||
|season1=true |
|||
|season2=true |
|||
|future=true |
|||
| ⚫ | |||
[[ |
[[Category: Navigational Elements]] |
||
[[:Category: Navigational Elements]] |
|||
</noinclude> |
</noinclude> |
||
Latest revision as of 19:54, 3 December 2007
Usage
Adds a navbar to the bottom of character pages. Add new Season One characters on template:characterseason1(edit), future characters on Template:future(edit), Animals on Template:animals(edit), Season Two characters on Template:characterseason2(edit), Unaired Characters on Template:unaired(edit).
{{characternav
|season=<!--Latest season in which character has appeared (one, two, 1, 2)-->
|future=<!--anything if true-->
|animals=<!--anything if true-->
|unaired=<!--anything if true-->
|type1=<!--Character type (Main, Supporting, Recurring, Minor-->
|type2=<!--Character type (Main, Supporting, Recurring, Minor-->
}}
Will auto-clear sidebars on short articles. |