Template:NewWork: Difference between revisions
Jump to navigation
Jump to search
(modify so that template only categorizes by date in the range 10 days (for use in showing new works on Main Page)) |
(change to add Category:Posted yyyy-mm-dd for 10 days) |
||
Line 1: | Line 1: | ||
<noinclude>{{prot-temp}} | <noinclude>{{prot-temp}} | ||
[[Category:Templates|{{PAGENAME}}]]<br></noinclude><includeonly>{{switch|{{IsNew|{{{1|1901-01-01}}}}} | [[Category:Templates|{{PAGENAME}}]]<br></noinclude><includeonly>{{switch|{{IsNew|{{{1|1901-01-01}}}}} | ||
|case: yes={{filepath:NewScore.gif}}[[Category:New works| {{{1|1901-01-01}}}]] | |case: yes={{filepath:NewScore.gif}}[[Category:New works| {{{1|1901-01-01}}}]]{{switch|{{IsNew|{{{1|1901-01-01}}}|range=10 days}} | ||
|case: yes=[[Category:Posted {{{1|1901-01-01}}}]] | |||
|default=Posted {{{1|1901-01-01}}}. | |||
|case: yes=[[Category:{{{1|1901-01-01}}}]] | }} | ||
|default= | |default= | ||
}}</includeonly> | }}</includeonly> |
Revision as of 15:03, 28 February 2009
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |