Template:NewWork: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(filepath)
(make template add date category in all cases, add default submission date of 1901-01-01 to trap/avoid errors)
Line 1: Line 1:
<noinclude>{{prot-temp}}
<noinclude>{{prot-temp}}
[[Category:Templates|{{PAGENAME}}]]<br></noinclude>{{switch|{{IsNew|{{{1}}}}}
[[Category:Templates|{{PAGENAME}}]]<br></noinclude><includeonly>{{switch|{{IsNew|{{{1|1901-01-01}}}}}
|case: yes={{filepath:NewScore.gif}}<includeonly>[[Category:New works| {{{1}}}]][[Category:{{{1}}}|{{{9|{{PAGENAME}}}}}]]</includeonly>
|case: yes={{filepath:NewScore.gif}}[[Category:New works| {{{1|1901-01-01}}}]]
|default=
|default=
}}
}}[[Category:{{{1|1901-01-01}}}]]</includeonly>

Revision as of 22:29, 13 October 2008