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.

User:MiamiVolts/GNabilitiestarrow: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>MiamiVolts
m +update for 4 columns
imported>MiamiVolts
+add lines= option
 
Line 7: Line 7:
}}
}}
|- valign=top
|- valign=top
{{#ifeq: {{#expr: ({{User:MiamiVolts/GNabilitiescount}} + 1 - {{{start|0}}}) < 1}} | 1 | | {{#dpl:|category=+Graphic Novel Abilities|notcategory=Lists|notcategory=Heroes Evolutions|ordermethod=title|count=4|offset={{{start|0}}}|format=,{{pipe}}²{PortalPowers¦lines=auto¦link=%TITLE%,,|include={Infobox power}:image|secseparators=¦image=,}²\n|distinct=strict}}}}</includeonly><noinclude>
{{#ifeq: {{#expr: ({{User:MiamiVolts/GNabilitiescount}} + 1 - {{{start|0}}}) < 1}} | 1 | | {{#dpl:|category=+Graphic Novel Abilities|notcategory=Lists|notcategory=Heroes Evolutions|ordermethod=title|count=4|offset={{{start|0}}}|format=,{{pipe}}²{PortalPowers¦lines={{{lines¦50}}}¦link=%TITLE%,,|include={Infobox power}:image|secseparators=¦image=,}²\n|distinct=strict}}}}</includeonly><noinclude>
{|
{|
{{User:MiamiVolts/GNabilitiestarrow}}
{{User:MiamiVolts/GNabilitiestarrow}}
Line 14: Line 14:
Dynamically produces a row of portal cells for {{link|Portal:Graphic Novel Abilities}} (abilities shown in Episodes are not included).
Dynamically produces a row of portal cells for {{link|Portal:Graphic Novel Abilities}} (abilities shown in Episodes are not included).


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 4, first cell of the last row of the first page is 8, first cell on second page is 12, etc.)
Use <code>start=</code> to 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 4, first cell of the last row of the first page is 8, first cell on second page is 12, etc.)

Use <code>lines=</code> to optionally specify the number of characters before adding an extra line (default is 50).


Blank cells/rows will be suppressed automatically. Incomplete rows will be centered automatically.
Blank cells/rows will be suppressed automatically. Incomplete rows will be centered automatically.


<pre>{{GNabilitiestarrow|start=}}</pre>
<pre>{{GNabilitiestarrow|start=|lines=}}</pre>


{{Nousercat|Autoportal templates}}</noinclude>
{{Nousercat|Autoportal templates}}</noinclude>

Latest revision as of 19:27, 17 April 2008

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

Dynamically produces a row of portal cells for Portal:Graphic Novel Abilities (abilities shown in Episodes are not included).

Use start= to 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 4, first cell of the last row of the first page is 8, first cell on second page is 12, etc.)

Use lines= to optionally specify the number of characters before adding an extra line (default is 50).

Blank cells/rows will be suppressed automatically. Incomplete rows will be centered automatically.

{{GNabilitiestarrow|start=|lines=}}