Template:Update history navbox: Difference between revisions
Add reusable category-populated version history navigation |
Explain the empty category before historical import Tag: Reverted |
||
| Line 8: | Line 8: | ||
| | | | ||
{{#categorytree:{{{category|Game updates}}}|mode=pages|namespaces=0|depth=1|hideroot=on|showcount=off}} | {{#categorytree:{{{category|Game updates}}}|mode=pages|namespaces=0|depth=1|hideroot=on|showcount=off}} | ||
{{#ifeq:{{PAGESINCATEGORY:{{{category|Game updates}}}|pages|R}}|0|<small>No published update articles yet.</small>}} | |||
|- | |- | ||
! Browse | ! Browse | ||
Revision as of 18:46, 2 November 2026
Reusable version-history navigation for update articles.
Usage
{{Version history navbox}}
The update list is populated by the installed CategoryTree extension from main-namespace members of Category:Game updates. Add the category to an update article; no release list is copied into this template or its callers. Draft, user and template pages are excluded. The separate Version history index provides release chronology.
The list follows category sort keys and MediaWiki's normal category/cache updates. CategoryTree has a configured display limit; the All update articles link opens the paginated category, and Version history opens the full chronological index.
The optional index and category parameters select a different index or category. The index defaults to Version history when published, otherwise Draft:Version history.