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
Jump to navigation
Jump to search
imported>Hardvice (test for short rows) |
imported>Ryangibsonstewart (update for heroes reborn; remove "season" (it's on seasonnumber now)) |
||
(22 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#switch: {{#expr: {{gueststarscount}} - {{{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 | ||
{{#dpl:|category= | {{#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=}}