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>Pierre |
imported>Pierre No edit summary |
||
| 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={{#switch:{{{season|}}}|two=template:characterseason2|2=template:characterseason2|one=template:characterseason1|1=template:characterseason1|template:characterseason1}}&action=edit edit]</span> |
| 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|webisode=template:webisode|template:characterseason1}}&action=edit edit]</span> |
||
|} |
|} |
||
{{#switch: {{{season}}} |
{{#switch: {{{season}}} |
||
| Line 13: | Line 13: | ||
| two = {{characterseason2}} |
| two = {{characterseason2}} |
||
| 2 = {{characterseason2}} |
| 2 = {{characterseason2}} |
||
| ⚫ | |||
| #default = {{characterseason1}} |
| #default = {{characterseason1}} |
||
}} |
}} |
||
| Line 19: | Line 20: | ||
|- |
|- |
||
{{ #if: {{{animals|}}} | {{animals}} }} |
{{ #if: {{{animals|}}} | {{animals}} }} |
||
|- |
|||
| ⚫ | |||
|- |
|- |
||
{{ #if: {{{unaired|}}} | {{unaired}} }} |
{{ #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|}}} |
| 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]] |
| two = [[Season One Characters]] • [[Portal:Minor Characters|Minor Characters]] • [[Portal:Webisode Characters|Webisode Characters]] |
||
| 2 = [[Season One Characters]] • [[Portal:Minor Characters|Minor Characters]] |
| 2 = [[Season One Characters]] • [[Portal:Minor Characters|Minor Characters]] • [[Portal:Webisode Characters|Webisode Characters]] |
||
| one = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] |
| one = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] • [[Portal:Webisode Characters|Webisode Characters]] |
||
| 1 = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] |
| 1 = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] • [[Portal:Webisode Characters|Webisode Characters]] |
||
| webisode = [[Season One Characters]] • [[Season Two Characters]] • [[Portal:Minor Characters|Minor Characters]] |
|||
| #default = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] |
| #default = [[Season Two Characters]] • [[Portal:Minor Characters/Season One|Minor Characters]] • [[Portal:Webisode Characters|Webisode 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 |
|}<includeonly>{{#if: {{{future|}}} | | {{#if: {{{animals|}}} | | {{#if: {{{unaired|}}} | | {{#switch: {{{type}}} |
||
| Main = {{nousercat|Main Characters}} |
| Main = {{nousercat|Main Characters}} |
||
| main = {{nousercat|Main Characters}} |
| main = {{nousercat|Main Characters}} |
||
| Line 44: | Line 44: | ||
== 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]), [[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:Webisode Characters|webisode characters]] on [[Template:webisode]]([{{SERVER}}/index.php?title=Template:webisode&action=edit edit]), [[Portal:Unaired Characters|Unaired Characters]] on [[Template:unaired]]([{{SERVER}}/index.php?title=Template:unaired&action=edit edit]). |
||
| Line 52: | Line 52: | ||
|future=<!--anything if true--> |
|future=<!--anything if true--> |
||
|animals=<!--anything if true--> |
|animals=<!--anything if true--> |
||
|webisode=<!--anything if true--> |
|||
|unaired=<!--anything if true--> |
|unaired=<!--anything if true--> |
||
|type=<!--Character type (Main, Supporting, Recurring, Minor--> |
|type=<!--Character type (Main, Supporting, Recurring, Minor--> |
||
Revision as of 00:14, 18 July 2008
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), webisode characters on Template:webisode(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-->
|type=<!--Character type (Main, Supporting, Recurring, Minor-->
}}
Will auto-clear sidebars on short articles. |