Difference between revisions of "Template:Category Age"

From Critiques Of Libertarianism
Jump to: navigation, search
Line 1: Line 1:
<includeonly>{{#ifexpr: ( {{#time: (12*Y+m) }} - {{#time: (12*Y+m) | {{{1}}} }} ) < 1 | <span style="color:red">NEW {{#time: n/y| {{{1}}} }}<nowiki>:</nowiki></span> }}</includeonly><noinclude>
+
<includeonly>{{#ifexpr: ( {{#time: (12*Y+m) }} - {{#time: (12*Y+m) | {{{1}}} }} ) < 1 | ''<span style="color:red">NEW {{#time: n/y| {{{1}}} }}<nowiki>:</nowiki></span>'' }}</includeonly><noinclude>
 
This template is used by [[Template:URL.dpl]] and [[Template:URL.dpl.default]] to prefix whether a link is newly placed in a category.
 
This template is used by [[Template:URL.dpl]] and [[Template:URL.dpl.default]] to prefix whether a link is newly placed in a category.
  
 
Right now, newly means less than 1 month.  Later it should be changed to 6 months.
 
Right now, newly means less than 1 month.  Later it should be changed to 6 months.
 
</noinclude>
 
</noinclude>

Revision as of 23:55, 5 September 2010