Jump to content

Template:Version nav: Difference between revisions

From Out of Ore Wiki
No edit summary
No edit summary
Tag: Manual revert
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="margin-top:1.5em; border-top:1px solid #ccc; padding-top:0.5em; font-size:90%; text-align:center; opacity:0.9;">
<templatestyles src="Version nav/styles.css" />
 
<div class="ooo-version-nav">
  <!-- Previous -->
{{#dpl:
  {{#dpl:
| category    = Updates
    | category    = Updates
| namespace  = Main
    | namespace  = Main
| ordermethod = title
    | ordermethod = title
| order      = descending
    | order      = descending
| count      = 1
    | count      = 1
| titlelt    = {{PAGENAME}}
    | titlelt    = {{PAGENAME}}
| mode        = inline
    | format      = , [[%PAGE%|Previous]], ,
| format      = , [[%PAGE%|Previous (%TITLE%)]] · , ,
  }}
}}[[:Category:Version History|All Versions]]{{#dpl:
 
| category    = Updates
  · [[Version History|All versions]] ·
| namespace  = Main
 
| ordermethod = title
  <!-- Next -->
| order      = ascending
  {{#dpl:
| count      = 1
    | category    = Updates
| titlegt    = {{PAGENAME}}
    | namespace  = Main
| mode        = inline
    | ordermethod = title
| format      = , · [[%PAGE%|Next (%TITLE%)]] , ,
    | order      = ascending
}}
    | count      = 1
    | titlegt    = {{PAGENAME}}
    | format      = , [[%PAGE%|Next ]], ,
  }}
 
</div>
</div>
</includeonly><noinclude>
</includeonly><noinclude>

Latest revision as of 15:29, 30 November 2025

Usage:

{{Version nav}}