Difference between revisions of "Template:Nav by year"
From The Doctor Who Cuttings Archive
Jump to navigationJump to searchJohn Lavalie (talk | contribs) (Created page with "<table> <tr><th style="text-align:center;">Articles by year</th></tr> <tr><td>1963</td><td>1964</td></tr> </table>") |
John Lavalie (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <table> | + | <table class="NoPrint" style="border:1px solid black; text-align:center; width:auto"> |
− | <tr><th style=" | + | <tr><th colspan="10" style="background-color:yellow;">'''[[Articles by year]]'''</th></tr> |
− | <tr><td> | + | <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> |