Difference between revisions of "Template:Nav by year"
From The Doctor Who Cuttings Archive
Jump to navigationJump to searchJohn Lavalie (talk | contribs) |
John Lavalie (talk | contribs) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table style="border: 1px solid black;"> | + | <table class="NoPrint" style="border:1px solid black; text-align:center; width:auto"> |
− | <tr><th colspan= | + | <tr><th colspan="10" style="background-color:yellow;">'''[[Articles by year]]'''</th></tr> |
− | <tr> | + | <tr> |
+ | {{ | ||
+ | #loop: y | ||
+ | | 1963 | ||
+ | | {{#expr: {{CURRENTYEAR}} - 1963 + 1 }} | ||
+ | | <td>[[:Category:Articles published in {{#var: y}}|{{#var: y}}]] </td>{{#ifeq: {{#sub:{{#var:y}}|3|1}} | 2 | </tr><tr> | }} | ||
+ | }} | ||
+ | </tr> | ||
</table> | </table> |