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/Actornav2: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Level add switches, unairedcast, update |
imported>Hardvice prep for move |
||
| Line 6: | Line 6: | ||
| width="10%" | |
| width="10%" | |
||
| width="80%" | '''[[Portal:Cast|Cast]]''' |
| width="80%" | '''[[Portal:Cast|Cast]]''' |
||
| width="10%" style="text-align:right" | <span class="plainlinks" style="font-size:10px"> [{{SERVER}}/index.php?title={{#switch:{{{season|}}}|two= |
| width="10%" style="text-align:right" | <span class="plainlinks" style="font-size:10px"> [{{SERVER}}/index.php?title={{#switch:{{{season|}}}|two=template:castseason2|2=template:castseason2|one=template:castseason1|1=template:castseason1|template:castseason1}}&action=edit edit]</span> |
||
|} |
|} |
||
{{#switch: {{{season}}} |
{{#switch: {{{season}}} |
||
| one = {{ |
| one = {{castseason1}} |
||
| 1 = {{ |
| 1 = {{castseason1}} |
||
| two = {{ |
| two = {{castseason2}} |
||
| 2 = {{ |
| 2 = {{castseason2}} |
||
| #default = {{ |
| #default = {{castseason1}} |
||
}} |
}} |
||
|- |
|- |
||
| Line 29: | Line 29: | ||
==Usage== |
==Usage== |
||
Adds a navbar to the bottom of cast pages. Add new [[Season One]] [[:Portal:Cast/Season One|cast]] on [[ |
Adds a navbar to the bottom of cast pages. Add new [[Season One]] [[:Portal:Cast/Season One|cast]] on [[template:castseason1]]([{{SERVER}}/index.php?title=template:castseason1&action=edit edit]), [[Season Two]] [[:Portal:Cast|cast]] on [[template:castseason2]]([{{SERVER}}/index.php?title=template:castseason2&action=edit edit]), [[Portal:Unaired Cast|Unaired Cast]] on [[Template:unairedcast]]([{{SERVER}}/index.php?title=Template:unairedcast&action=edit edit]). |
||
<pre>{{ |
<pre>{{actornav |
||
|season=<!--Latest season in which character has appeared (one, two, 1, 2)--> |
|season=<!--Latest season in which character has appeared (one, two, 1, 2)--> |
||
|unaired=<!--anything if true--> |
|unaired=<!--anything if true--> |
||
}}</pre> |
}}</pre> |
||
{{User:Level/Actornav2 |
|||
|season=2 |
|||
|unaired=true |
|||
}} |
|||
[[:Category: Templates]] |
[[:Category: Templates]] |
||
Revision as of 21:47, 9 October 2007
Usage
Adds a navbar to the bottom of cast pages. Add new Season One cast on template:castseason1(edit), Season Two cast on template:castseason2(edit), Unaired Cast on Template:unairedcast(edit).
{{actornav
|season=<!--Latest season in which character has appeared (one, two, 1, 2)-->
|unaired=<!--anything if true-->
}}