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.

Difference between revisions of "Template:Gueststarrow"

From Heroes Wiki
Jump to navigation Jump to search
imported>Ryangibsonstewart
(combine season and actor type)
imported>Ryangibsonstewart
(update for heroes reborn; remove "season" (it's on seasonnumber now))
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch: {{#expr: {{gueststarscount|season={{{season|3}}}}} + 1 - {{{start|0}}}}}
{{#switch: {{#expr: {{gueststarscount|season={{{season|5}}}}} + 1 - {{{start|0}}}}}
| 1 = </table><table>
| 1 = </table><table>
| 2 = </table><table width=30%>
| 2 = </table><table width=30%>
Line 7: Line 7:
}}
}}
|- valign=top
|- valign=top
{{#ifeq: {{#expr: ({{gueststarscount|season={{{season|3}}}}} + 1 - {{{start|0}}}) < 1}} | 1 | |
{{#ifeq: {{#expr: ({{gueststarscount|season={{{season|5}}}}} + 1 - {{{start|0}}}) < 1}} | 1 | |
{{#dpl:|category=Season {{seasonnumber|season={{{season|3}}}}} Guest Stars|ordermethod=sortkey|count=5|offset={{{start|0}}}|format=,{{pipe}}²{PortalCharacter¦size=auto¦link=%TITLE%,,|include={Infobox cast}:sort,{Infobox cast}:Image|secseparators=¦text=,,¦image=,}²\n|distinct=strict}}}}</includeonly><noinclude>
{{#dpl:|category={{seasonnumber|season={{{season|5}}}}} Guest Stars|ordermethod=sortkey|count=5|offset={{{start|0}}}|format=,{{pipe}}²{PortalCharacter¦size=auto¦link=%TITLE%,,|include={Infobox cast}:sort,{Infobox cast}:Image|secseparators=¦text=,,¦image=,}²\n|distinct=strict}}}}</includeonly><noinclude>
{|
{|
{{gueststarrow}}
{{gueststarrow}}
|}
|}
==Usage==
==Usage==
Produces a row of portal cells for [[Portal:Guest Cast|guest cast portal pages]].
This template produces a row of portal cells for [[Portal:Guest Cast|guest cast portal pages]].


Specify the article number for the first cell in the row (first cell on the first page is 0, first cell of the second row of the first page is 5, first cell of the last row of the first page is 10, first cell on second page is 15, etc.)
Specify the article number for the first cell in the row (first cell on the first page is 0, first cell of the second row of the first page is 5, first cell of the last row of the first page is 10, first cell on second page is 15, etc.)

Latest revision as of 08:08, 30 September 2015

Usage

This template produces a row of portal cells for guest cast portal pages.

Specify the article number for the first cell in the row (first cell on the first page is 0, first cell of the second row of the first page is 5, first cell of the last row of the first page is 10, first cell on second page is 15, etc.)

Blank cells/rows will be suppressed automatically. Incomplete rows will be centered automatically.

{{gueststarrow|start=|season=}}