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.

Template:Gueststarrow: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
imported>Hardvice
(+Usage, cat)
imported>Hardvice
(+variable season)
Line 1: Line 1:
<includeonly>
<includeonly>
{{#switch: {{#expr: {{gueststarscount}} + 1 - {{{start|0}}}}}
{{#switch: {{#expr: {{gueststarscount|season={{{season|2}}}}} + 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}} + 1 - {{{start|0}}}) < 1}} | 1 | |
{{#ifeq: {{#expr: ({{gueststarscount|season={{{season|2}}}}} + 1 - {{{start|0}}}) < 1}} | 1 | |
{{#dpl:|category=+Guest Stars|category=Season Two Cast|ordermethod=sortkey|count=5|offset={{{start|0}}}|format=,{{pipe}}²{PortalCharacter¦size=auto¦image=%TITLE%.jpg¦link=%TITLE%,,|include={Infobox cast}:sort|secseparators=¦text=,}²\n|distinct=strict}}}}</includeonly><noinclude>
{{#dpl:|category=+Guest Stars|category=Season {{seasonnumber|season={{{season|2}}}}} Cast|ordermethod=sortkey|count=5|offset={{{start|0}}}|format=,{{pipe}}²{PortalCharacter¦size=auto¦image=%TITLE%.jpg¦link=%TITLE%,,|include={Infobox cast}:sort|secseparators=¦text=,}²\n|distinct=strict}}}}</includeonly><noinclude>
{|
{|
{{gueststarrow}}
{{gueststarrow}}
Line 19: Line 19:
Blank cells/rows will be suppressed automatically.  Incomplete rows will be centered automatically.
Blank cells/rows will be suppressed automatically.  Incomplete rows will be centered automatically.


<pre>{{gueststarrow|start=}}</pre>
<pre>{{gueststarrow|start=|season=}}</pre>


[[Category:Autoportal templates]]</noinclude>
[[Category:Autoportal templates]]</noinclude>

Revision as of 02:09, 2 December 2007

Usage

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