Difference between revisions of "Template:Anniv"

From ChoralWiki
Jump to navigation Jump to search
m
Line 1: Line 1:
'''{{CiteCat|{{{1|1900}}} {{{2|deaths}}}}}'''
+
'''{{CiteCat|{{{1|{{#expr:{{CURRENTYEAR}}-50}}}}} {{{2|births}}}}}'''
{{#dpl:category={{{1|1611}}} {{{2|deaths}}}
+
{{#dpl:category={{{1|{{#expr:{{CURRENTYEAR}}-50}}}}} {{{2|births}}}
 
|namespace=
 
|namespace=
 
|ordermethod=sortkey
 
|ordermethod=sortkey
Line 7: Line 7:
 
{{prot-temp}}
 
{{prot-temp}}
 
;usage
 
;usage
The first parameter is a year (defaults to 1900), and the second parameter is either "births" or "deaths" (defaults to deaths).
+
The first parameter is a year (defaults to {{#expr:{{CURRENTYEAR}}-50}}), and the second parameter is either "births" or "deaths" (defaults to births).
 
The template is used intensively by {{CiteCW|Anniversaries}}
 
The template is used intensively by {{CiteCW|Anniversaries}}
 
[[Category:Templates|{{PAGENAME}}]]
 
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Revision as of 20:02, 27 December 2010

1970 births

usage

The first parameter is a year (defaults to 1970), and the second parameter is either "births" or "deaths" (defaults to births). The template is used intensively by Anniversaries