User:Feydey/Portals
Variables to use in Portals[edit]
See http://meta.wikimedia.org/wiki/ParserFunctions#.23time: for info how to display previous days, weeks, months or years. The example displays the previous week/month, it is now Week 20 in May; 7 days ago it was Week 19 and a the previous month was April (linked).
- Now: Week {{#time:W}}; for months {{#time:F}}
- Was: Week {{#time:W|-7 days}}; for months {{#time:F|-31 days}}
- Linked: [[{{#time:F|-31 days}}|last month]] (last month)
Can be used with Selected articles, DYKs, etc.