Difference between revisions of "Template:Recent addition"

From Team Fortress Wiki
Jump to: navigation, search
m
m
Line 120: Line 120:
 
   }}
 
   }}
 
  }}
 
  }}
}}<includeonly>{{#if:{{{cat|}}}| {{#iferror: {{#ifexpr:{{age in days|month1={{{month}}}|day1={{{day}}}|year1={{{year}}}}} < 7}}
+
}}<includeonly>{{#ifexpr: {{age in days|month1={{{month|}}}|day1={{{day|}}}|year1={{{year|}}}}} < 7
| {{lang cat|Recent additions}}
+
| {{lang cat|Recent additions}}
| {{lang cat|Recent additions over 1 week old}}
+
| {{lang cat|Recent additions over 1 week old}}
}}
 
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{translation switching|en, ar, cs, da, es, fr, it, ja, ko, nl, no, pl, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
{{translation switching|en, ar, cs, da, es, fr, it, ja, ko, nl, no, pl, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}

Revision as of 17:07, 8 December 2022

Usage

{{recent addition|day=XX|month=XX|year=202X}}
Used at the top of a page, this will place the article in Category:Recent additions (articles are moved to Category:Recent additions needing checking after 2 weeks).