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>Baldbobbo cat |
imported>Level + Minor |
||
| (One intermediate revision by the same user 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}}} |
|||
{{ #if: {{{season1|}}} | {{User:Level/mainseason1}} }} |
|||
| one = {{characterseason1}} |
|||
| 1 = {{characterseason1}} |
|||
| two = {{characterseason2}} |
|||
| 2 = {{characterseason2}} |
|||
| #default = {{characterseason1}} |
|||
| ⚫ | |||
|- |
|- |
||
{{ #if: {{{ |
{{ #if: {{{future|}}} | {{future}} }} |
||
|- |
|- |
||
{{ #if: {{{ |
{{ #if: {{{animals|}}} | {{animals}} }} |
||
|- |
|- |
||
{{ #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'': {{#switch: {{{season|}}} |
|||
{{ #if: {{{season1|}}} | {{User:Level/recurseason1}} }} |
|||
| two = [[Season One Characters]] • [[Portal:Minor Characters|Minor Characters]] |
|||
|- |
|||
| 2 = [[Season One Characters]] • [[Portal:Minor Characters|Minor Characters]] |
|||
{{ #if: {{{season2|}}} | {{User:Level/recurseason2}} }} |
|||
| one = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] |
|||
|- |
|||
| 1 = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] |
|||
{{ #if: {{{future|}}} | {{future}} }} |
|||
| ⚫ | | #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]] |
||
|- |
|||
{{ #if: {{{animals|}}} | {{ |
|}<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: |
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]). |
||
{| style="background: transparent;" |
{| style="background: transparent;" |
||
|<pre>{{ |
|<pre>{{characternav |
||
|season=<!--Latest season in which character has appeared (one, two, 1, 2)--> |
|||
| ⚫ | |||
|season2=<!--anything if true--> |
|||
|future=<!--anything if true--> |
|future=<!--anything if true--> |
||
|animals=<!--anything if true--> |
|animals=<!--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 |
|||
|animals=true |
|||
| ⚫ | |||
[[ |
[[Category: Navigational Elements]] |
||
[[:Category: Navigational Elements]] |
|||
</noinclude> |
</noinclude> |
||
[[Category:User subpages]] |
|||
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. |