Wikipedia:Wikipedia Signpost/Templates/Signpost-header: Difference between revisions
Content deleted Content added
forgot to remove this inline css |
m manual crazy template hack -- this should be done properly later |
||
Line 9:
--> | <!-- Don't categorise when there's a manual date/middle-title or if the page name is not in date format. Subpage title must begin "20", the first 2 chars of a year (note this is a future Y2100 bug ;)
--> | {{#ifeq:{{#invoke:String|sub|{{#titleparts:{{BASEPAGENAME}}| 1 | 2 }}|1|2}} | 20 | [[Category:Wikipedia Signpost archives {{#time: Y-m | {{#titleparts:{{BASEPAGENAME}}| 1 | 2 }} }} ]] <!-- include recent pages in rss feed category: --> {{#ifexpr: {{#time:U|now - 2 months}} < {{#time:U| {{#titleparts:{{BASEPAGENAME}}| 1 | 2 }} }} | [[Category:Wikipedia Signpost RSS feed]] }}
{{#ifeq:{{SUBPAGENAME}}| Recent research |<!--
--> | <!--not a date-->}}<!--
-->}}<!-- End if param #2 supplied
|