Template:Navigation

From DynamicPageList3 Manual
Revision as of 22:08, 1 October 2022 by imported>FrozenPlum (Add a navigation example template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Example

{{navigation|category=Fruit examples}}

Result:

{{#dpl: debug=0 category=Fruit examples notcategory= namespace=Main titlelt=Navigation mode=inline ordermethod=title order=descending count=1 format=,,

}}

Fruit examples {{#dpl: debug=0 category=Fruit examples notcategory= namespace=Main titlelt=Navigation mode=inline ordermethod=title order=descending count=1 format=,,

}}

Notes

This template formats a navigation bar of previous and next page in a given category and places it inside a 3 column table. It uses the {{direction}} template to create the previous/next buttons, based on the given category. When placed on a page in Category:Fruit examples, it uses the {{PAGENAME}} magic word, to fetch previous and next pages to the page it is placed on. See the {{direction}} template for more information.