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 allow blank |
imported>Baldbobbo cat |
||
| (2 intermediate revisions by 2 users not shown) | |||
| 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= |
| 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}}} |
|||
{{ #if: {{{season1|}}} | {{User:Level/castseason1}} | {{ #if: {{{season2|}}} | | {{User:Level/castseason1}} }} }} |
|||
| one = {{castseason1}} |
|||
| 1 = {{castseason1}} |
|||
| two = {{castseason2}} |
|||
| 2 = {{castseason2}} |
|||
| #default = {{castseason1}} |
|||
}} |
|||
|- |
|- |
||
{{ #if: {{{ |
{{ #if: {{{unaired|}}} | {{unairedcast}} }} |
||
|- |
|- |
||
|colspan="2" style="font-size:9px; text-align: center; background-color:#CCD5F4; -moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px;"| |
|colspan="2" style="font-size:9px; text-align: center; background-color:#CCD5F4; -moz-border-radius-bottomleft:10px;-moz-border-radius-bottomright:10px;"| |
||
''See Also'': {{#switch: {{{season|}}} |
|||
''See Also'': [[Portal:Guest Cast|Guest Cast]] • [[Portal:Crew|Crew]] • [[Portal:Characters|Characters]] |
|||
| two = [[Season One Cast]] • [[Portal:Guest Cast|Guest Cast]] |
|||
| 2 = [[Season One Cast]] • [[Portal:Guest Cast|Guest Cast]] |
|||
| one = [[Season Two Cast]] • [[Portal:Guest Cast/Season One|Guest Cast]] |
|||
| 1 = [[Season Two Cast]] • [[Portal:Guest Cast/Season One|Guest Cast]] |
|||
| #default = [[Season Two Cast]] • [[Portal:Guest Cast/Season One|Guest Cast]]}} • {{ #if: {{{unaired|}}} | |[[Portal:Unaired Cast|Unaired Cast]] • }}[[Portal:Former Principal Cast|Former Principal Cast]] • [[Portal:Crew|Crew]] • [[Portal:Characters|Characters]] |
|||
|- |
|- |
||
|}<noinclude> |
|}<noinclude> |
||
==Usage== |
==Usage== |
||
Adds a navbar to the bottom of cast pages. Add new [[Season One]] [[:Portal:Cast|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>{{User:Level/Actornav2 |
|||
| ⚫ | |||
|season2=<!--anything if true--> |
|||
}}</pre> |
|||
<pre>{{actornav |
|||
{{User:Level/Actornav2 |
|||
|season=<!--Latest season in which character has appeared (one, two, 1, 2)--> |
|||
|season1=true |
|||
| ⚫ | |||
|season2=true |
|||
}} |
}}</pre> |
||
[[:Category: Templates]] |
[[:Category: Templates]] |
||
[[:Category: Navigational Elements]] |
[[:Category: Navigational Elements]] |
||
</noinclude> |
</noinclude> |
||
[[Category:User subpages]] |
|||
Latest revision as of 11:28, 26 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-->
}}