Template talk:ANEWS archive nav

Latest comment: 5 years ago by Mz7 in topic Restructure?

Restructure?

edit

@Mz7: I find this navigation to be rather cumbersome if I want to skip around a little. Wouldn't something like this be more user friendly?

Archives
2017: 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12
2018: 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12
2019: 01, 02, 03, 04
<<  Previous Archive    —    Current Archive    —    Next Archive  >>

Any variation of that would be better than what we have right now. Nihlus 21:31, 4 March 2019 (UTC)Reply

We can also still include the current navigation by adding:
<div style="text-align:center;>[[Wikipedia:Administrators' newsletter/{{#ifeq: {{#titleparts: {{FULLPAGENAME}} | 1 | 3}} | 1 | {{#expr: {{#titleparts: {{FULLPAGENAME}} | 1 | 2}} - 1}} | {{#titleparts: {{FULLPAGENAME}} | 1 | 2}} }}/{{#expr: ((({{#titleparts: {{FULLPAGENAME}} | 1 | 3}} - 2) + 12) mod 12) + 1}}|<<  Previous Archive]]    —    [[{{FULLPAGENAME}}|Current Archive]]    —    [[Wikipedia:Administrators' newsletter/{{#ifeq: {{#titleparts: {{FULLPAGENAME}} | 1 | 3}} | 12 | {{#expr: {{#titleparts: {{FULLPAGENAME}} | 1 | 2}} + 1}} | {{#titleparts: {{FULLPAGENAME}} | 1 | 2}} }}/{{#expr: (({{#titleparts: {{FULLPAGENAME}} | 1 | 3}}) mod 12) + 1}}|Next Archive  >>]]</div>
Which would result in the navigation under the table above. Nihlus 21:43, 4 March 2019 (UTC)Reply
@Nihlus: Looks good to me. Go ahead and implement it! Mz7 (talk) 00:47, 5 March 2019 (UTC)Reply