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/Abilitiesnavcell: Difference between revisions

From Heroes Wiki
Jump to navigation Jump to search
Content deleted Content added
imported>MiamiVolts
No edit summary
imported>MiamiVolts
m fix eval, add help
Line 1: Line 1:
{{#ifeq: {{#expr: {{User:MiamiVolts/Abilitiescount}} < {{#expr: {{{page|1}}} * 12 - 12}}}} | 1 | | {{pipe}} {{PortalPowers|size={{{size|}}}|lines={{eline|50}}|image={{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#expr: {{{page|1}}} * 12 - 12}}|include={Infobox power}:image|format=,,,}}|link=User:MiamiVolts/Portal:Abilities {{{page|1}}}|smalltext={{#sub: {{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#expr: {{{page|1}}} * 12 - 12}}|format=,%TITLE%,,}} | 0 |1}}-{{#sub: {{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#ifeq: {{#expr: {{User:MiamiVolts/Abilitiescount}} > {{#expr: {{{page|1}}} * 12 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 12 - 1}} | {{User:MiamiVolts/Abilitiescount}}}}|format=,%TITLE%,,}} | 0 |1}}|text={{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#expr: {{{page|1}}} * 12 - 12}}|format=,%TITLE%,,}}<br>''through''<br>{{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#ifeq: {{#expr: {{User:MiamiVolts/Abilitiescount}} > {{#expr: {{{page|1}}} * 12 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 12 - 1}} | {{User:MiamiVolts/Abilitiescount}}}}|format=,%TITLE%,,}}}}}}<noinclude>
{{#ifeq: {{#expr: {{User:MiamiVolts/Abilitiescount}} < {{#expr: {{{page|1}}} * 12 - 12}}}} | 1 | | {{pipe}} {{PortalPowers|size={{{size|}}}|lines={{{lines|50}}}|image={{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#expr: {{{page|1}}} * 12 - 12}}|include={Infobox power}:image|format=,,,}}|link=User:MiamiVolts/Portal:Abilities {{{page|1}}}|smalltext={{#sub: {{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#expr: {{{page|1}}} * 12 - 12}}|format=,%TITLE%,,}} | 0 |1}}-{{#sub: {{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#ifeq: {{#expr: {{User:MiamiVolts/Abilitiescount}} > {{#expr: {{{page|1}}} * 12 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 12 - 1}} | {{User:MiamiVolts/Abilitiescount}}}}|format=,%TITLE%,,}} | 0 |1}}|text={{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#expr: {{{page|1}}} * 12 - 12}}|format=,%TITLE%,,}}<br>''through''<br>{{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=1|offset={{#ifeq: {{#expr: {{User:MiamiVolts/Abilitiescount}} > {{#expr: {{{page|1}}} * 12 - 1}}}} | 1 | {{#expr: {{{page|1}}} * 12 - 1}} | {{User:MiamiVolts/Abilitiescount}}}}|format=,%TITLE%,,}}}}}}<noinclude>
==Usage==
==Usage==
Produces a pipe and dynamic navbar cell for [[Portal:Abilities|abilities]] portal pages.
Produces a pipe and dynamic navbar cell for [[Portal:Abilities|abilities]] portal pages.


Set <code>|page=</code> to match the portal page number.
Set <code>|page=</code> to match the portal page number.
Optionally set <code>|lines=</code> to match the number of characters before adding an extra line (default is 50).


<pre>{{Abilitiesnavcell|page=}}</pre>
<pre>{{Abilitiesnavcell|page=|lines=}}</pre>


{{nousercat|Autoportal templates}}
{{nousercat|Autoportal templates}}

Revision as of 19:06, 17 April 2008

|

[[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>

|150px|

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>

]]

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

Produces a pipe and dynamic navbar cell for abilities portal pages.

Set |page= to match the portal page number. Optionally set |lines= to match the number of characters before adding an extra line (default is 50).

{{Abilitiesnavcell|page=|lines=}}