Template:Previous: Difference between revisions

debug should be at top, not bottom
imported>FrozenPlum
No edit summary
imported>FrozenPlum
(debug should be at top, not bottom)
 
(3 intermediate revisions by the same user not shown)
Line 1:
<noinclude>Creates previous navigation between items in a specified category. Is written to be embedded in another template to style as a navigation bar, and automatically generate previous page links from whatever the current <code><nowiki>{{PAGENAME}}</nowiki></code> is.</noinclude><includeonly>{{#dpl:
|debug={{{debug|0}}}
|category={{{category|}}}
|notcategory={{{notcategory|}}}
Line 5 ⟶ 6:
|titlelt={{#titleparts:{{PAGENAME}}}}
|mode=inline
|ordermethod=sortkeytitle
|order=descending
|count=1
|format=,<div style="text-align:left;">[[File:Double arrow left.png|25px|link=%PAGE%]] [[%PAGE%|%TITLE%]]</div>,
|debug={{{debug|0}}}
}}</includeonly><noinclude>
==Examples==
<pre>{{directionprevious|category=Fruit examples}}</pre>
'''Result:''' {{directionprevious|category=Fruit examples}}
 
==Notes==
Anonymous user