MediaWiki:Hf-nsheader-Setup: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
Line 5: Line 5:
  -->
  -->
<div class="hf-nav" aria-role="navigation" aria-label="version selection" >
<div class="hf-nav" aria-role="navigation" aria-label="version selection" >
{{#if: {{#match: {{SUBPAGENAME}} | ^v\\d }}
| [[{{#titleparts: {{FULLPAGENAME}} | 1 | -1 }}|← Back]]
{{#dpl:
{{#dpl:
| namespace = {{NAMESPACE}}
| namespace   = {{NAMESPACE}}
| titlematch = {{#titleparts: {{FULLPAGENAME}} | 1 | -1 }}/v*
| titlematch = {{#ifeq:{{padleft:|1|{{#titleparts:{{PAGENAME}}|1|-1}}}}|v|{{#titleparts:{{PAGENAME}}|-1}}|{{PAGENAME}}}}/v%
| sort = title
| ignorecase  = true
| format = list
| mode        = unordered
}}
| format      = ,* [[%PAGE%|%TITLE%]]\n,,
| ordermethod = title
| order      = descending
| noresultsheader =
}}
}}
</div>
</div>

Latest revision as of 13:00, 7 October 2026