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:Minornavcell: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>Ryangibsonstewart try simplifying |
imported>Ryangibsonstewart slash |
||
| Line 1: | Line 1: | ||
<includeonly>{{#ifeq: {{#expr: {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} < {{#expr: {{{page|1}}} * 15 - 15}}}} | 1 | | {{pipe}} {{portalCharacter|lines=7|size={{{size|}}}|image={{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={character box}:image|format=,,,|}}|link=Portal:Minor{{{page|1}}}{{SUBPAGENAME}}|smalltext={{#sub: {{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={Character box}:sortname|format=-}} |1|1}}-{{#sub: {{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }}}}|include={character box}:sortname|format=-}} |1|1}}|text={{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={Character box}:sortname|format=,,,}}<br>''through''<br>{{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }}}}|include={Character box}:sortname|format=,,,}}}}}}</includeonly><noinclude> |
<includeonly>{{#ifeq: {{#expr: {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} < {{#expr: {{{page|1}}} * 15 - 15}}}} | 1 | | {{pipe}} {{portalCharacter|lines=7|size={{{size|}}}|image={{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={character box}:image|format=,,,|}}|link=Portal:Minor{{{page|1}}}/{{SUBPAGENAME}}|smalltext={{#sub: {{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={Character box}:sortname|format=-}} |1|1}}-{{#sub: {{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }}}}|include={character box}:sortname|format=-}} |1|1}}|text={{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#expr: {{{page|1}}} * 15 - 15}}|include={Character box}:sortname|format=,,,}}<br>''through''<br>{{#dpl:|category=Season {{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=1|offset={{#ifeq: {{#expr: {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} > {{#expr: {{{page|1}}} * 15 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 15 - 1}} | {{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }}}}|include={Character box}:sortname|format=,,,}}}}}}</includeonly><noinclude> |
||
{| |
{| |
||
|- |
|- |
||
Revision as of 20:54, 21 September 2009
Usage
This template produces a navbar cell for a single portal page on Portal:Minor Characters.
Set |page= to match the portal page number.
{{minornavcell|page=|season=}}