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 remove the cell from this page |
imported>Ryangibsonstewart too many pages don't follow the portal's naming structure (like the template pages and the category pages)...restoring season variable |
||
| 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}}}/{{ |
<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}}}{{#if:{{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }}|/Season {{#switch: {{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} | 1 = One | 2 = Two | 3 = Three | 4 = Four }} }}|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> |
||
{| |
|||
|- |
|||
{{minornavcell}} |
|||
|- |
|||
|} |
|||
==Usage== |
==Usage== |
||
Revision as of 06:13, 22 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=}}