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

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>Ryangibsonstewart
combine season and actor type
imported>Ryangibsonstewart
doing two things: updating for heroes reborn, and taking out the word "season" since it's on seasonnumber instead
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#ifeq: {{#expr: {{gueststarscount|season={{{season|3}}}}} < {{#expr: {{{page|1}}} * 15 - 15}}}} | 1 | | {{pipe}} {{portalCharacter|lines=5|size={{{size|}}}|image={{#dpl:|category=Season {{seasonnumber|season={{{season|3}}}}} 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|3}}}|/Season {{#switch: {{{season|3}}} | 1 = One | 2 = Two | 3 = Three }} }}|smalltext={{#sub: {{#dpl:|category=category=Season {{seasonnumber|season={{{season|3}}}}} Guest Stars |ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={Infobox cast}:sort|format=-}} |1|1}}-{{#sub: {{#dpl:|category=category=Season {{seasonnumber|season={{{season|3}}}}} Guest Stars|ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{gueststarscount|season={{{season|3}}}}} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{gueststarscount|season={{{season|3}}}}}}}|include={Infobox cast}:sort|format=-}} |1|1}}|text={{#dpl:|category=category=Season {{seasonnumber|season={{{season|3}}}}} Guest Stars |ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|format=,%TITLE%,,}}<br>''through''<br>{{#dpl:|category=category=Season {{seasonnumber|season={{{season|3}}}}} Guest Stars |ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{gueststarscount|season={{{season|3}}}}} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{gueststarscount|season={{{season|3}}}}}}}|format=,%TITLE%,,}}}}}}</includeonly><noinclude>
<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==
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.
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

[[Image:

Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code></code>

|Portal:Guest Cast 1/Heroes Reborn|75px]]


 
 
 
 

Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code></code>


through

Extension:DynamicPageList3 (DPL3), version 3.6.1: Error: MediaWiki\Extension\DynamicPageList3\Query::buildAndSelect: The DynamicPageList3 extension (version 3.6.1) produced a SQL statement which led to a Database error.<br/>The reason may be an internal error of DynamicPageList3 or an error that you made; especially when using parameters like 'categoryregexp' or 'titleregexp'. Usage of non-greedy <code>*?</code> matching patterns are not supported.<br/>The error message was:<br/><code></code>

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