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/Abilitiestarrow: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
imported>MiamiVolts +update to use 4 columns |
imported>MiamiVolts +add lines= option |
||
| Line 7: | Line 7: | ||
}} |
}} |
||
|- valign=top |
|- valign=top |
||
{{#ifeq: {{#expr: ({{User:MiamiVolts/Abilitiescount}} + 1 - {{{start|0}}}) < 1}} | 1 | | {{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|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/Abilitiescount}} + 1 - {{{start|0}}}) < 1}} | 1 | | {{#dpl:|category=+Abilities|notcategory=Lists|notcategory=Graphic Novel Abilities|notcategory=Heroes Evolutions|notlinksfrom=Template:AbilitiesPortalNav|ordermethod=title|count=4|offset={{{start|0}}}|format=,{{pipe}}²{PortalPowers¦lines={{{lines¦auto}}}¦link=%TITLE%,,|include={Infobox power}:image|secseparators=¦image=,}²\n|distinct=strict}}}}</includeonly><noinclude> |
||
{| |
{| |
||
{{User:MiamiVolts/Abilitiestarrow}} |
{{User:MiamiVolts/Abilitiestarrow}} |
||
| Line 14: | Line 14: | ||
Dynamically produces a row of portal cells for [[Portal:Abilities]]. |
Dynamically produces a row of portal cells for [[Portal:Abilities]]. |
||
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 auto/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>{{Abilitiestarrow|start=}}</pre> |
<pre>{{Abilitiestarrow|start=|lines=}}</pre> |
||
{{Nousercat|Autoportal templates}}</noinclude> |
{{Nousercat|Autoportal templates}}</noinclude> |
||
Revision as of 19:13, 17 April 2008
Usage
Dynamically produces a row of portal cells for Portal:Abilities.
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 auto/50).
Blank cells/rows will be suppressed automatically. Incomplete rows will be centered automatically.
{{Abilitiestarrow|start=|lines=}}