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>Hardvice
(lines=3)
imported>Ryangibsonstewart
(update for heroes reborn; remove "season" (it's on seasonnumber now))
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>|- valign=top
<includeonly>
{{#dpl:|category=+Guest Stars|category=Season Two Cast|ordermethod=sortkey|count=5|offset={{{start|0}}}|format=,{{pipe}}²{PortalCharacter¦lines=3¦size=auto¦image=%TITLE%.jpg¦link=%TITLE%,,|include={Infobox cast}:sort|secseparators=¦text=,}²\n|distinct=strict}}</includeonly><noinclude>
{{#switch: {{#expr: {{gueststarscount|season={{{season|5}}}}} + 1 - {{{start|0}}}}}
| 1 = </table><table>
| 2 = </table><table width=30%>
| 3 = </table><table width=45%>
| 4 = </table><table width=60%>
}}
|- valign=top
{{#ifeq: {{#expr: ({{gueststarscount|season={{{season|5}}}}} + 1 - {{{start|0}}}) < 1}} | 1 | |
{{#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}}
|}</noinclude>
|}
==Usage==
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.)
 
Blank cells/rows will be suppressed automatically.  Incomplete rows will be centered automatically.
 
<pre>{{gueststarrow|start=|season=}}</pre>
 
[[Category:Autoportal templates]]</noinclude>

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=}}