Template:Next-dpl: Difference between revisions

From Equinox Wiki
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>Creates next navigation between items in a specified category. Is written to be embedded in another template to style as a navigation bar, and automatically generate next page links from whatever the current <code><nowiki>{{SUBPAGENAME}}</nowiki></code> is.</noinclude><includeonly>{{#dpl:
<noinclude>Creates next navigation between items in a specified category. Is written to be embedded in another template to style as a navigation bar, and automatically generate next page links from whatever the current <code><nowiki>{{SUBPAGENAME}}</nowiki></code> is.</noinclude><includeonly>{{#dpl:
|debug={{{debug|0}}}
|debug       = {{{debug|0}}}
|category={{{category|}}}
|category   = {{{category|}}}
|notcategory={{{notcategory|}}}
|notcategory = {{{notcategory|}}}
|namespace={{{namespace|Main}}}
|namespace   = {{{namespace|}}}
|titlegt={{#titleparts: {{PAGENAME}} | | -1 }}
|titlegt     = {{SUBPAGENAME}}
|mode=inline
|mode       = inline
|ordermethod=title
|ordermethod = title
|order=ascending
|order       = ascending
|count=1
|count       = 1
|format=,<div style="text-align:right;">[[%PAGE%|%TITLE%]] [[File:Double arrow.png|25px|link=%PAGE%|alt=>]]</div>,
|format     = ,<div style="text-align:right;">[[%PAGE%|%TITLE%]] [[File:Double arrow.png|25px|link=%PAGE%|alt=>]]</div>,
}}</includeonly>
}}</includeonly>

Revision as of 12:56, 27 December 2024

Creates next navigation between items in a specified category. Is written to be embedded in another template to style as a navigation bar, and automatically generate next page links from whatever the current {{SUBPAGENAME}} is.