User:Level/Actornav2: Difference between revisions
imported>Level allow blank |
imported>Level add switches, unairedcast, update |
||
| 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=User:Level/castseason2|2=User:Level/castseason2|one=User:Level/castseason1|1=User:Level/castseason1|User:Level/castseason1}}&action=edit edit]</span> |
||
|} |
|} |
||
{{#switch: {{{season}}} |
|||
{{ #if: {{{season1|}}} | {{User:Level/castseason1}} | {{ #if: {{{season2|}}} | | {{User:Level/castseason1}} }} }} |
|||
| one = {{User:Level/castseason1}} |
|||
| 1 = {{User:Level/castseason1}} |
|||
| two = {{User:Level/castseason2}} |
|||
| 2 = {{User:Level/castseason2}} |
|||
| #default = {{User:Level/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 [[User:Level/castseason1]], [[Season Two]] [[:Portal:Cast|cast]] on [[User:Level/castseason2]]. |
Adds a navbar to the bottom of cast pages. Add new [[Season One]] [[:Portal:Cast/Season One|cast]] on [[User:Level/castseason1]]([{{SERVER}}/index.php?title=User:Level/castseason1&action=edit edit]), [[Season Two]] [[:Portal:Cast|cast]] on [[User:Level/castseason2]]([{{SERVER}}/index.php?title=User:Level/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 |
<pre>{{User:Level/Actornav2 |
||
|season=<!--Latest season in which character has appeared (one, two, 1, 2)--> |
|||
|season1=<!--anything if true--> |
|||
| |
|unaired=<!--anything if true--> |
||
}}</pre> |
}}</pre> |
||
{{User:Level/Actornav2 |
{{User:Level/Actornav2 |
||
|season=2 |
|||
|season1=true |
|||
| |
|unaired=true |
||
}} |
}} |
||
Revision as of 08:08, 5 October 2007
Usage
Adds a navbar to the bottom of cast pages. Add new Season One cast on User:Level/castseason1(edit), Season Two cast on User:Level/castseason2(edit), Unaired Cast on Template:unairedcast(edit).
{{User:Level/Actornav2
|season=<!--Latest season in which character has appeared (one, two, 1, 2)-->
|unaired=<!--anything if true-->
}}
| |||||
|---|---|---|---|---|---|
| Principal |
David Anders • Kristen Bell • Jack Coleman • Dana Davis • Noah Gray-Cabey • Greg Grunberg • Ali Larter • James Kyson Lee • Masi Oka • Adrian Pasdar • Hayden Panettiere • Zachary Quinto • Sendhil Ramamurthy • Dania Ramírez • Milo Ventimiglia | ||||
| Supporting |
Dianna Agron • Randall Bentley • Katie Carr • Mark Colson • Ashley Crow • Nicholas D'Agosto • Barry Shabaka Henley • Jimmy Jean-Louis • Carlon Jeffery • Dominic Keating • Lestat • Adetokumboh M'Cormack • Holt McCallany • Kurando Mitsutake • Nichelle Nichols • Shalim Ortiz • Cristine Rose • George Takei • Eriko Tamura • Adair Tishler • Stephen Tobolowsky | ||||
| Unaired |
| ||||
|
See Also: Season One Cast • Guest Cast • Former Principal Cast • Crew • Characters | |||||