Template:Minorrow: Difference between revisions
imported>Ryangibsonstewart eliminate need for season variable |
imported>Ryangibsonstewart take out the word season |
||
| Line 8: | Line 8: | ||
|- valign=top |
|- valign=top |
||
{{#ifeq: {{#expr: ({{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} + 1 - {{{start|0}}}) < 1}} | 1 | | |
{{#ifeq: {{#expr: ({{minorcount|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} + 1 - {{{start|0}}}) < 1}} | 1 | | |
||
{{#dpl:|category= |
{{#dpl:|category={{seasonnumber|season={{#sub: {{PAGENAME}} | {{#expr: {{#rpos: {{PAGENAME}} | Season }} +7 }} }} }} Minor Characters|ordermethod=sortkey|count=5|offset={{{start|0}}}|format=,{{pipe}}²{PortalCharacter¦lines=3¦size=auto¦link=%TITLE%,,|include={character box}:image,{character box}:sortname,{character box}:died|secseparators=¦image=,,¦text=,,¦deceased=,}²\n|distinct=strict}}}}</includeonly><noinclude> |
||
{| |
{| |
||
{{minorrow}} |
{{minorrow}} |
||
Revision as of 03:58, 30 September 2015
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 row of portal cells for minor character 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.
{{minorrow|start=|season=}}