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:Gueststarsnavcell: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Ryangibsonstewart spell out numerals |
imported>Ryangibsonstewart doing two things: updating for heroes reborn, and taking out the word "season" since it's on seasonnumber instead |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{#expr: {{gueststarscount|season={{{season| |
<includeonly>{{#ifeq: {{#expr: {{gueststarscount|season={{{season|5}}}}} < {{#expr: {{{page|1}}} * 15 - 15}}}} | 1 | | {{pipe}} {{portalCharacter|lines=5|size={{{size|}}}|image={{#dpl:|category={{seasonnumber|season={{{season|5}}}}} Guest Stars |ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={Infobox cast}:Image|format=,,,}}|link=Portal:Guest Cast {{{page|1}}}{{#if:{{{season|5}}}|/{{#switch: {{{season|5}}} | 1 = Season One | 2 = Season Two | 3 = Season Three | 4= Season Four | 5 = Heroes Reborn }} }}|smalltext={{#sub: {{#dpl:|category={{seasonnumber|season={{{season|5}}}}} Guest Stars |ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={Infobox cast}:sort|format=-}} |1|1}}-{{#sub: {{#dpl:|category={{seasonnumber|season={{{season|5}}}}} Guest Stars|ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{gueststarscount|season={{{season|5}}}}} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{gueststarscount|season={{{season|5}}}}}}}|include={Infobox cast}:sort|format=-}} |1|1}}|text={{#dpl:|category={{seasonnumber|season={{{season|5}}}}} Guest Stars |ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|format=,%TITLE%,,}}<br>''through''<br>{{#dpl:|category={{seasonnumber|season={{{season|5}}}}} Guest Stars |ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{gueststarscount|season={{{season|5}}}}} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{gueststarscount|season={{{season|5}}}}}}}|format=,%TITLE%,,}}}}}}</includeonly><noinclude> |
||
{| |
{| |
||
|- |
|- |
||
| Line 7: | Line 7: | ||
==Usage== |
==Usage== |
||
This template produces a dynamic navbar cell for a single portal page on [[Portal:Guest Cast]], and the corresponding pipe. Calls to this template should be placed inside a wiki table, and there should only be one template call per line. |
|||
Set <code>|page=</code> to match the portal page number. |
Set <code>|page=</code> to match the portal page number. |
||
Latest revision as of 14:05, 30 September 2015
Usage
This template produces a dynamic navbar cell for a single portal page on Portal:Guest Cast, and the corresponding pipe. Calls to this template should be placed inside a wiki table, and there should only be one template call per line.
Set |page= to match the portal page number.
{{gueststarnavcell|page=|season=}}